Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.30 l1Norm()

PrototypesHeader 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>

10.30.1 Description

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:


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.