|
dune-fem 2.8.0
|
RangeType class for matrix valued functions - derived from FieldMatrix but has representation as vector. More...
#include <dune/fem/space/common/functionspace.hh>

Public Types | |
| enum | { rows = BaseType::rows , cols = BaseType::cols , dimension = BaseType::rows*BaseType::cols } |
| typedef FieldMatrix< K, n, m > | BaseType |
| typedef BaseType::row_type | RowType |
Public Member Functions | |
| RangeMatrix () | |
| Default constructor. | |
| RangeMatrix (const K &k) | |
| Constructor initializing the whole matrix with a scalar. | |
| K & | operator() (int r, int c) |
| access element in row r and column c | |
| const K | operator() (int r, int c) const |
| access element in row r and column c | |
| const RowType & | row (int r) const |
| access to row r | |
| RowType & | row (int r) |
| access to row r | |
| K & | operator[] (int i) |
| access i element where row = i/col and column = icol | |
| const K | operator[] (int i) const |
| access i element where row = i/col and column = icol | |
| K | operator* (const BaseType &y) |
| scalar product | |
| RangeMatrix & | axpy (const K &a, const BaseType &y) |
| vector space axpy operation | |
RangeType class for matrix valued functions - derived from FieldMatrix but has representation as vector.
| typedef FieldMatrix<K,n,m> Dune::Fem::RangeMatrix< K, n, m >::BaseType |
| typedef BaseType::row_type Dune::Fem::RangeMatrix< K, n, m >::RowType |
| anonymous enum |
|
inline |
Default constructor.
|
inline |
Constructor initializing the whole matrix with a scalar.
|
inline |
vector space axpy operation
| a | scalar factor |
| y | RangeMatrix to multiply with |
|
inline |
access element in row r and column c
| [in] | r | row |
| [in] | c | column |
|
inline |
access element in row r and column c
| [in] | r | row |
| [in] | c | column |
|
inline |
|
inline |
access i element where row = i/col and column = icol
| [in] | i | element number ot access |
|
inline |
access i element where row = i/col and column = icol
| [in] | i | element number ot access |
|
inline |
access to row r
| [in] | r | row |
|
inline |
access to row r
| [in] | r | row |