HLIBpro
3.0
|
computes Frobenius norm ‖·‖_F of a matrix
#include <mat_norm.hh>
Public Member Functions | |
template<typename value_t > | |
real_type_t< value_t > | norm (const TMatrix< value_t > *A) const |
compute Frobenius norm of A | |
template<typename value_t > | |
real_type_t< value_t > | diff_norm (const TMatrix< value_t > *A, const TMatrix< value_t > *B, const bool rel=true) const |
compute difference norm ‖A-B‖_F or ‖A-B‖_F/‖A‖_F (if rel == true) | |