HLIBpro  1.2
Public Member Functions | List of all members
TMatrixNorm Class Reference

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, bool rel=true) const =0
 compute difference norm ‖A-B‖ or ‖A-B‖/‖A‖ (if == true)