?? gadgeoprod.m
字號:
% GEOMETRIC PRODUCTGAfigure; clc; %/% GEOMETRIC PRODUCT%global a b; %/clf; %/a = e1 + e3;b = e1 + e2; %%% We use * to denote the geometric product in GABLE:a*b %w % Note: scalar + bivector ! GAprompt; %/% Order matters!b*a %wGAprompt; %/% Square of a vector is scalarb*b %w% Square of a bivector is negative(e1^e2)*(e1^e2) %w% Every non-null vector has an inverse1/b %wb*(1/b) %wGAprompt; %/% Inverse formula: b/(b*b) %wGAprompt; %/% Inverse of unit vector:1/e1 %wGAprompt; %/% The geometric product is invertible; % From (a*b) and b, retrieve a = e1+e3 :a*bb(a*b)/b %w
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -