- Mapdl.nrm(name='', normtype='', parr='', normalize='', **kwargs)¶
Computes the norm of the specified matrix or vector.
Matrix or vector for which the norm will be computed. This can be a dense matrix (created by the
*DMATcommand), a sparse matrix (created by the
*SMATcommand) or a vector (created by the
Mathematical norm to use:
L2 (Euclidean or SRSS) norm (default).
L1 (absolute sum) norm (vectors only).
Parameter name that contains the result.
Normalization key; to be used only for vectors created by
Normalize the vector such that the norm is 1.0. - Do not normalize the vector (default).
The NRM2 option corresponds to the Euclidean or L2 norm and is applicable to either vectors or matrices. The NRM1 option corresponds to the L1 norm and is applicable to vectors only. The NRMINF option is the maximum norm and is applicable to either vectors or matrices.