Matrix or vector norm.
ansys.mapdl.math.AnsMat
ansys.mapdl.math.AnsVec
ApdlMath object to compute the norm from.
str
Mathematical norm to use. One of:
'NRM2': L2 (Euclidean or SRSS) norm (default).
'NRM2'
'NRM1': L1 (absolute sum) norm (vectors only).
'NRM1'
'NRMINF' Maximum norm.
'NRMINF'
float
Norm of the matrix or vector(s).
Examples
Compute the norm of a APDLMath vector. v = mm.ones(10) 3.1622776601683795