KASKADE 7 development version
Public Types | Public Member Functions | List of all members
Kaskade::MaxNorm< Vector > Class Template Reference

MaxNorm class derived from the abstract base class Norm. Here the max norm represents the max 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_{i1},\ldots, v_{i,n}\}\). Such that \( \|V\|_{\infty} := \max_{1 \leq i \leq m} \|\mathbf{v_i}\|_{\infty}\) such that \(\|\mathbf{v_i}\|_{\infty}:= \max_{1 \leq j \leq n} |v_{ij}| \). More...

#include <norm.hh>

Detailed Description

template<class Vector>
class Kaskade::MaxNorm< Vector >

MaxNorm class derived from the abstract base class Norm. Here the max norm represents the max 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_{i1},\ldots, v_{i,n}\}\). Such that \( \|V\|_{\infty} := \max_{1 \leq i \leq m} \|\mathbf{v_i}\|_{\infty}\) such that \(\|\mathbf{v_i}\|_{\infty}:= \max_{1 \leq j \leq n} |v_{ij}| \).

Definition at line 130 of file norm.hh.

Inheritance diagram for Kaskade::MaxNorm< Vector >:
Kaskade::Norm< Vector >

Public Types

using field_type = typename Vector::value_type
 

Public Member Functions

virtual field_type value (std::vector< Vector > const &vecs)
 
virtual ~MaxNorm ()
 

Member Typedef Documentation

◆ field_type

template<class Vector >
using Kaskade::MaxNorm< Vector >::field_type = typename Vector::value_type

Definition at line 133 of file norm.hh.

Constructor & Destructor Documentation

◆ ~MaxNorm()

template<class Vector >
virtual Kaskade::MaxNorm< Vector >::~MaxNorm ( )
inlinevirtual

Definition at line 147 of file norm.hh.

Member Function Documentation

◆ value()

template<class Vector >
virtual field_type Kaskade::MaxNorm< Vector >::value ( std::vector< Vector > const &  vecs)
inlinevirtual
Parameters
vecs: the member function value takes in a vector of Vectors and computes its norm.
Returns
It returns the norm, which is usually of type double.

Implements Kaskade::Norm< Vector >.

Definition at line 135 of file norm.hh.


The documentation for this class was generated from the following file: