HLIBpro  2.3.1
Public Member Functions | List of all members
TMatrixNorm Class Referenceabstract

baseclass for matrix norm computations

#include <mat_norm.hh>

Inheritance diagram for TMatrixNorm:
TFrobeniusNorm TSpectralNorm

Public Member Functions

virtual real norm (const TMatrix *A) const =0
 compute the norm of A
 
virtual real diff_norm (const TMatrix *A, const TMatrix *B, const bool rel=true) const =0
 compute difference norm ‖A-B‖ or ‖A-B‖/‖A‖ (if rel == true)