这是几何代数的matlab工具包

源代码在线查看: plus.m

软件大小: 142 K
上传用户: kuoiai
关键词: matlab 几何 工具包
下载地址: 免注册下载 普通下载 VIP

相关代码

				function C = plus(m,n)				%plus(m,n): add 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 = GAplus(m,n);				    if GAautoscalar&isascalar(T)					C=T.m(1);				    else					C=T;				    end							

相关资源