double NormInf();
Calculates the matrix infinity norm.
Remarks:
Calculate the calling matrix infinity norm. The "infinity norm" is defined as the largest row sum.
Examples
#include "MtxVec.h"
#include "Units.MtxVec.h"
using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::MtxVec;
void Example()
{
TMtx* A;
double b;
CreateIt(A);
A->SetIt(2, 2, false, DewArray<double>{1, 2, 2, 4}); // 2x2, not complex matrix
b = A->NormInf(); // b= 6
FreeIt(A);
}
See Also: TMtx::NormFro, TMtx::Norm1
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler