Dune Core Modules (2.9.0)

Norm that uses only the [0][0] entry of the block to determine couplings. More...

#include <dune/istl/paamg/aggregates.hh>

Public Member Functions

FieldTraits< typename M::field_type >::real_type operator() (const M &m,[[maybe_unused]] typename std::enable_if_t<!Dune::IsNumber< M >::value > *sfinae=nullptr) const
 compute the norm of a matrix. More...
 
auto operator() (const M &m, typename std::enable_if_t< Dune::IsNumber< M >::value > *sfinae=nullptr) const
 Compute the norm of a scalar. More...
 

Detailed Description

Norm that uses only the [0][0] entry of the block to determine couplings.

Member Function Documentation

◆ operator()() [1/2]

auto Dune::Amg::Diagonal< N >::operator() ( const M &  m,
typename std::enable_if_t< Dune::IsNumber< M >::value > *  sfinae = nullptr 
) const
inlineinherited

Compute the norm of a scalar.

Parameters
mThe scalar to compute the norm of

◆ operator()() [2/2]

FieldTraits<typename M::field_type>::real_type Dune::Amg::Diagonal< N >::operator() ( const M &  m,
[[maybe_unused] ] typename std::enable_if_t<!Dune::IsNumber< M >::value > *  sfinae = nullptr 
) const
inlineinherited

compute the norm of a matrix.

Parameters
mThe matrix to compute the norm of

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 29, 22:29, 2024)