TMtx::Norm1 Method

double Norm1();

Calculates the matrix norm-1.

Remarks:

Calculates calling matrix norm-1. The "norm-1" is defined as the largest column 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->Norm1();
    FreeIt(A);
}
See Also: TMtx::NormInf, TMtx::NormFro
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler