📄 gaddual.m
字号:
% DUAL: INNER PRODUCT WITH I3 GAfigure; clc; %/% DUAL: INNER PRODUCT WITH I3 %.global x B b; %/clf; %/% The inner product with I3 gives the DUAL% (the part of I3 least like x).%.x = e1/2 - e2 +e3/3random = unit(pi*e1 + pi/exp(0)*e2 + exp(0)*e3); %/B = inner(x,I3) %wdraw(x,'b'); %/GAtext(0.7*x + 0.1*unit(random^x)/I3,'x','b'); %/axis off; %/axis([-1 1 -1 1 -1 1]); %/GAprompt; %/% (The bivector coefficients match the vector coefficients.)%.draw(B,'g'); %/axis([-1 1 -1 1 -1 1]); %/GAtext(0.3*unit(grade(inner(random,B),1))+0.1*B/I3,'x \bullet I_3'); %/GAprompt; %/ GAorbiter(360,10); GAprompt; %/ % Taking the dual of the bivector gives a vector:%.b = inner(B,I3) %wdraw(b,'r'); %/axis([-1 1 -1 1 -1 1]); %/GAtext(0.9*b - 0.15*unit(random^b)/I3,'(x \bullet I_3) \bullet I_3','r'); %/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -