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