📄 eq.m
字号:
function r = eq(a,b)%eq(a,b): test if two multivectors are equal within tolerance.%%See also gable, eeq, 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.tol = 1e-15;if isa(a,'double') if norm([b.m(1)-a; b.m(2:8)]) < tol r=1; else r=0; endelseif isa(b,'double') if norm([a.m(1)-b; a.m(2:8)]) < tol r=1; else r=0; endelse if norm(a-b) < tol r=1; else r=0; endend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -