dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::DenseRowMatrix< F > Class Template Reference

#include <dune/fem/operator/matrix/densematrix.hh>

Inheritance diagram for Dune::Fem::DenseRowMatrix< F >:
Inheritance graph

Classes

class  Row
 

Public Types

typedef F Field
 

Public Member Functions

 DenseRowMatrix ()
 
 DenseRowMatrix (unsigned int rows, unsigned int cols)
 
unsigned int rows () const
 
unsigned int cols () const
 
const Field & operator() (unsigned int row, unsigned int col) const
 
Field & operator() (unsigned int row, unsigned int col)
 
void add (unsigned int row, unsigned int col, const Field &value)
 
Row< const Field > operator[] (unsigned int row) const
 
Row< Field > operator[] (unsigned int row)
 
void clear ()
 
void multiply (const Field *x, Field *y) const
 
std::vector< std::complex< double > > eigenValues ()
 calculate eigenvalues
 
void reserve (unsigned int rows, unsigned int cols)
 
void print (std::ostream &s=std::cout) const
 

Member Typedef Documentation

◆ Field

template<class F >
typedef F Dune::Fem::DenseRowMatrix< F >::Field

Constructor & Destructor Documentation

◆ DenseRowMatrix() [1/2]

template<class F >
Dune::Fem::DenseRowMatrix< F >::DenseRowMatrix ( )
inline

◆ DenseRowMatrix() [2/2]

template<class F >
Dune::Fem::DenseRowMatrix< F >::DenseRowMatrix ( unsigned int  rows,
unsigned int  cols 
)
inline

Member Function Documentation

◆ add()

template<class F >
void Dune::Fem::DenseRowMatrix< F >::add ( unsigned int  row,
unsigned int  col,
const Field &  value 
)
inline

◆ clear()

template<class F >
void Dune::Fem::DenseRowMatrix< F >::clear ( )
inline

◆ cols()

template<class F >
unsigned int Dune::Fem::DenseRowMatrix< F >::cols ( ) const
inline

◆ eigenValues()

template<class F >
std::vector< std::complex< double > > Dune::Fem::DenseRowMatrix< F >::eigenValues ( )
inline

calculate eigenvalues

Returns
eigen values in ascending order
Note
LAPACK::dgeev is used to compute the eigen values.
The matrix is destroyed.

◆ multiply()

template<class F >
void Dune::Fem::DenseRowMatrix< F >::multiply ( const Field *  x,
Field *  y 
) const
inline

◆ operator()() [1/2]

template<class F >
Field & Dune::Fem::DenseRowMatrix< F >::operator() ( unsigned int  row,
unsigned int  col 
)
inline

◆ operator()() [2/2]

template<class F >
const Field & Dune::Fem::DenseRowMatrix< F >::operator() ( unsigned int  row,
unsigned int  col 
) const
inline

◆ operator[]() [1/2]

template<class F >
Row< Field > Dune::Fem::DenseRowMatrix< F >::operator[] ( unsigned int  row)
inline

◆ operator[]() [2/2]

template<class F >
Row< const Field > Dune::Fem::DenseRowMatrix< F >::operator[] ( unsigned int  row) const
inline

◆ print()

template<class F >
void Dune::Fem::DenseRowMatrix< F >::print ( std::ostream &  s = std::cout) const
inline

◆ reserve()

template<class F >
void Dune::Fem::DenseRowMatrix< F >::reserve ( unsigned int  rows,
unsigned int  cols 
)
inline

◆ rows()

template<class F >
unsigned int Dune::Fem::DenseRowMatrix< F >::rows ( ) const
inline

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