Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.25 frobNorm()

PrototypesHeader File(s)
double
frobNorm(const RWMathVec<double>&)
<rw/math/mathvec.h>
float
frobNorm(const RWMathVec<float>&)
<rw/math/mathvec.h>
double
frobNorm(const RWMathVec<DComplex>&)
<rw/math/mathvec.h>
double
frobNorm(const RWGenMat<double>&)
<rw/math/genmat.h>
float
frobNorm(const RWGenMat<float>&)
<rw/math/genmat.h>
double
frobNorm(const RWGenMat<DComplex>&)
<rw/math/genmat.h>
double
frobNorm(const RWMathArray<double>&)
<rw/math/mtharray.h>
float
frobNorm(const RWMathArray<float>&)
<rw/math/mtharray.h>
double
frobNorm(const RWMathArray<DComplex>&)
<rw/math/mtharray.h>

10.25.1 Description

Computes the Frobenius norm, which is the square root of the sum of squares of its entries. For a vector, the formula is:

For a matrix, the formula is:

For an array with n dimensions, the formula is:


Previous fileTop of DocumentContentsIndexNext file

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