HLIBpro
3.0
|
computes infinity norm ‖·‖_∞ 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 Infinity 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‖_∞ or ‖A-B‖_∞/‖A‖_∞ (if rel == true) | |