grade.m
来自「这是几何代数的matlab工具包」· M 代码 · 共 28 行
M
28 行
function r=grade(A,n)%grade(A,n): return the part of an object of a particular grade.% Return the part of M of grade n.% If n is omitted, return the grade of M (-1 if M is of mixed grade) %%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 nargin == 1 if A == 0 r=-1; else r=0; endelse if n==0 r=A; else r=0; endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?