minus.m
来自「这是几何代数的matlab工具包」· M 代码 · 共 24 行
M
24 行
function C = minus(m,n)%minus(m,n): subtract two multivectors.%%See also gable.% 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(m,'double') m = GA([m;0;0;0;0;0;0;0]); end if isa(n,'double') n = GA([n;0;0;0;0;0;0;0]); end T = GAminus(m,n); if GAautoscalar&isascalar(T) C=T.m(1); else C=T; end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?