KASKADE 7 development version
|
OneNorm class derived from the abstract base class Norm. More...
#include <norm.hh>
OneNorm class derived from the abstract base class Norm.
Here the one norm represents the one norm of a vector of Vectors or a vector of Matrices. For a vector of Vectors \( \mathbf{V} := \{\mathbf{v_1},\ldots, \mathbf{v_m} \} \), where \( \mathbf{v_i} = \{v_{i,1},\ldots, v_{i,n}\} \). Such that \( \| V \|_1 := \sum_{i=1}^m \|\mathbf{v_i}\|_1 \) where, \( \|\mathbf{v_i}\|_1:= \sum_{j=1}^n |v_{ij}| \).
Public Types | |
using | field_type = typename Vector::value_type |
Public Member Functions | |
virtual field_type | value (std::vector< Vector > const &vecs) |
virtual | ~OneNorm () |
using Kaskade::OneNorm< Vector >::field_type = typename Vector::value_type |
|
inlinevirtual |
|
inlinevirtual |
vecs | : the member function value takes in a vector of Vectors and computes its norm. |
Implements Kaskade::Norm< Vector >.