dune-localfunctions 2.11
Loading...
Searching...
No Matches
Dune::BasisMatrixBase< PreBasis, Interpolation, Field > Struct Template Reference

#include <dune/localfunctions/utility/basismatrix.hh>

Inheritance diagram for Dune::BasisMatrixBase< PreBasis, Interpolation, Field >:
Inheritance graph

Public Types

typedef DynamicMatrix< Field > Matrix
 
typedef Base::size_type size_type
 
typedef Base::value_type value_type
 
typedef Base::row_type row_type
 
typedef Traits::derived_type derived_type
 
typedef Traits::value_type field_type
 
typedef Traits::value_type block_type
 
typedef Traits::row_reference row_reference
 
typedef Traits::const_row_reference const_row_reference
 
typedef DenseIterator< DenseMatrix, row_type, row_referenceIterator
 
typedef Iterator iterator
 
typedef Iterator RowIterator
 
typedef std::remove_reference< row_reference >::type::Iterator ColIterator
 
typedef DenseIterator< const DenseMatrix, const row_type, const_row_referenceConstIterator
 
typedef ConstIterator const_iterator
 
typedef ConstIterator ConstRowIterator
 
typedef std::remove_reference< const_row_reference >::type::ConstIterator ConstColIterator
 

Public Member Functions

 BasisMatrixBase (const PreBasis &preBasis, const Interpolation &localInterpolation)
 
unsigned int cols () const
 
unsigned int rows () const
 
void resize (size_type r, size_type c, value_type v=value_type())
 
DynamicMatrix transposed () const
 
size_type mat_rows () const
 
size_type mat_cols () const
 
row_typemat_access (size_type i)
 
const row_typemat_access (size_type i) const
 
constexpr row_reference operator[] (size_type i)
 
constexpr const_row_reference operator[] (size_type i) const
 
constexpr row_reference operator[] (size_type i)
 
constexpr const_row_reference operator[] (size_type i) const
 
constexpr size_type size () const
 
constexpr Iterator begin ()
 
constexpr ConstIterator begin () const
 
constexpr Iterator end ()
 
constexpr ConstIterator end () const
 
constexpr Iterator beforeEnd ()
 
constexpr ConstIterator beforeEnd () const
 
constexpr Iterator beforeBegin ()
 
constexpr ConstIterator beforeBegin () const
 
constexpr derived_typeoperator+= (const DenseMatrix< Other > &x)
 
constexpr derived_type operator- () const
 
constexpr derived_typeoperator-= (const DenseMatrix< Other > &x)
 
constexpr derived_typeoperator*= (const field_type &k)
 
constexpr derived_typeoperator/= (const field_type &k)
 
constexpr derived_typeaxpy (const field_type &a, const DenseMatrix< Other > &x)
 
constexpr bool operator== (const DenseMatrix< Other > &x) const
 
constexpr bool operator!= (const DenseMatrix< Other > &x) const
 
constexpr void mv (const X &x, Y &y) const
 
constexpr void mtv (const X &x, Y &y) const
 
constexpr void umv (const X &x, Y &y) const
 
constexpr void umtv (const X &x, Y &y) const
 
constexpr void umhv (const X &x, Y &y) const
 
constexpr void mmv (const X &x, Y &y) const
 
constexpr void mmtv (const X &x, Y &y) const
 
constexpr void mmhv (const X &x, Y &y) const
 
constexpr void usmv (const typename FieldTraits< Y >::field_type &alpha, const X &x, Y &y) const
 
constexpr void usmtv (const typename FieldTraits< Y >::field_type &alpha, const X &x, Y &y) const
 
constexpr void usmhv (const typename FieldTraits< Y >::field_type &alpha, const X &x, Y &y) const
 
constexpr FieldTraits< value_type >::real_type frobenius_norm () const
 
constexpr FieldTraits< value_type >::real_type frobenius_norm2 () const
 
constexpr FieldTraits< vt >::real_type infinity_norm () const
 
constexpr FieldTraits< vt >::real_type infinity_norm () const
 
constexpr FieldTraits< vt >::real_type infinity_norm_real () const
 
constexpr FieldTraits< vt >::real_type infinity_norm_real () const
 
void solve (V1 &x, const V2 &b, bool doPivoting=true) const
 
void invert (bool doPivoting=true)
 
field_type determinant (bool doPivoting=true) const
 
DynamicMatrix< K > & leftmultiply (const DenseMatrix< M2 > &M)
 
DynamicMatrix< K > & rightmultiply (const DenseMatrix< M2 > &M)
 
constexpr size_type N () const
 
constexpr size_type M () const
 
constexpr bool exists (size_type i, size_type j) const
 
constexpr bool exists (size_type i, size_type j) const
 

Static Public Attributes

static constexpr int blocklevel
 

Static Protected Member Functions

static void luDecomposition (DenseMatrix< DynamicMatrix< K > > &A, Func func, Mask &nonsingularLanes, bool throwEarly, bool doPivoting)
 
static void luDecomposition (DenseMatrix< MAT > &A, Func func, Mask &nonsingularLanes, bool throwEarly, bool doPivoting)
 

Member Typedef Documentation

◆ Matrix

template<class PreBasis , class Interpolation , class Field >
typedef DynamicMatrix<Field> Dune::BasisMatrixBase< PreBasis, Interpolation, Field >::Matrix

Constructor & Destructor Documentation

◆ BasisMatrixBase()

template<class PreBasis , class Interpolation , class Field >
Dune::BasisMatrixBase< PreBasis, Interpolation, Field >::BasisMatrixBase ( const PreBasis &  preBasis,
const Interpolation &  localInterpolation 
)
inline

Member Function Documentation

◆ cols()

template<class PreBasis , class Interpolation , class Field >
unsigned int Dune::BasisMatrixBase< PreBasis, Interpolation, Field >::cols ( ) const
inline

◆ rows()

template<class PreBasis , class Interpolation , class Field >
unsigned int Dune::BasisMatrixBase< PreBasis, Interpolation, Field >::rows ( ) const
inline

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