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

computes Frobenius norm ‖·‖_F of a matrix

#include <mat_norm.hh>

Inheritance diagram for TFrobeniusNorm:
TMatrixNorm

Public Member Functions

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