HLIBpro
1.2
|
computes Frobenius norm ‖·‖_F of a matrix
#include <mat_norm.hh>
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) |