eeq.m

来自「这是几何代数的matlab工具包」· M 代码 · 共 27 行

M
27
字号
function r = eeq(a,b)%eeq(a,b): test if two multivectors are equal.%%See also gable, eq, ne.% GABLE, Copyright (c) 1999, University of Amsterdam% Copying, use and development for non-commercial purposes permitted.%          All rights for commercial use reserved; for more information%          contact Leo Dorst (leo@wins.uva.nl).%%          This software is unsupported.if isa(a,'double')  if sum(abs(b.m(2:8)) > 0) | b.m(1) ~= a    r=0;  else    r=1;  endelseif isa(b,'double')  if sum(abs(a.m(2:8)) > 0) | a.m(1) ~= b    r=0;  else    r=1;  endelse  r = prod(a.m == b.m);end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?