gazv.m

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

M
23
字号
function A = gazv(B)% gazv(B): Set to zeros any element of the multivector B less than 1e-15% %See also gable, GAZ, blade, grade.% 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.A = B;if abs(A) < 1e-15    if abs(A) > 0	warning('gazv set a field to 0!');	B    end    A = 0;endif ~GAautoscalar    A = GA(A);end

⌨️ 快捷键说明

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