Prototypes | Header File(s) | |
double |
linfNorm(const RWMathVec<double>&) |
<rw/math/mathvec.h> |
float |
linfNorm(const RWMathVec<float>&) |
<rw/math/mathvec.h> |
double |
linfNorm(const RWMathVec<DComplex>&) |
<rw/math/mathvec.h> |
double |
linfNorm(const RWGenMat<double>&) |
<rw/math/genmat.h> |
float |
linfNorm(const RWGenMat<float>&) |
<rw/math/genmat.h> |
double |
linfNorm(const RWGenMat<DComplex>&) |
<rw/math/genmat.h> |
For a vector, the function linfNorm() is the maximum of absolute values of its entries:
For a matrix, the function l1Norm()is the maximum of the l1fNorms of its rows: