dune-localfunctions 2.12-git
Loading...
Searching...
No Matches
ONBCompute::ONBMatrix< geometryId, scalar_t > Class Template Reference

#include <dune/localfunctions/orthonormal/orthonormalcompute.hh>

Inheritance diagram for ONBCompute::ONBMatrix< geometryId, scalar_t >:
Inheritance graph

Public Types

typedef std::vector< scalar_t > vec_t
 
typedef Dune::DynamicMatrix< scalar_t > mat_t
 
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

 ONBMatrix (unsigned int order)
 
template<class Vector >
void row (unsigned int row, Vector &vec) 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 size_type rows () const
 
constexpr size_type cols () 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

◆ mat_t

template<Dune::GeometryType::Id geometryId, class scalar_t >
typedef Dune::DynamicMatrix< scalar_t > ONBCompute::ONBMatrix< geometryId, scalar_t >::mat_t

◆ vec_t

template<Dune::GeometryType::Id geometryId, class scalar_t >
typedef std::vector< scalar_t > ONBCompute::ONBMatrix< geometryId, scalar_t >::vec_t

Constructor & Destructor Documentation

◆ ONBMatrix()

template<Dune::GeometryType::Id geometryId, class scalar_t >
ONBCompute::ONBMatrix< geometryId, scalar_t >::ONBMatrix ( unsigned int  order)
inlineexplicit

Member Function Documentation

◆ row()

template<Dune::GeometryType::Id geometryId, class scalar_t >
template<class Vector >
void ONBCompute::ONBMatrix< geometryId, scalar_t >::row ( unsigned int  row,
Vector &  vec 
) const
inline

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