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