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