|
dune-common
2.3.1
|
#include <dune/common/diagonalmatrix.hh>

Public Types | |
| enum | { dimension = n } |
| enum | { blocklevel = 1 } |
| We are at the leaf of the block recursion. More... | |
| enum | { size = n } |
| export size More... | |
| typedef K | field_type |
| export the type representing the field More... | |
| typedef K | block_type |
| export the type representing the components More... | |
| typedef std::size_t | size_type |
| The type used for the index access and size operation. More... | |
| typedef ContainerWrapperIterator < DiagonalRowVectorConst< K, n > , const K, const K & > | ConstIterator |
| ConstIterator class for sequential access. More... | |
| typedef ConstIterator | const_iterator |
| typedef for stl compliant access More... | |
Public Member Functions | |
| DiagonalRowVectorConst () | |
| Constructor making uninitialized vector. More... | |
| DiagonalRowVectorConst (K *p, int col) | |
| Constructor making vector with identical coordinates. More... | |
| const K & | operator[] (size_type i) const |
| same for read only access More... | |
| bool | identical (const DiagonalRowVectorConst< K, n > &other) const |
| ConstIterator | begin () const |
| begin ConstIterator More... | |
| ConstIterator | end () const |
| end ConstIterator More... | |
| ConstIterator | beforeEnd () const |
| ConstIterator | beforeBegin () const |
| bool | operator== (const DiagonalRowVectorConst &y) const |
| Binary vector comparison. More... | |
| size_type | N () const |
| number of blocks in the vector (are of size 1 here) More... | |
| size_type | dim () const |
| dimension of the vector space More... | |
| size_type | rowIndex () const |
| index of this row in surrounding matrix More... | |
| const K & | diagonal () const |
| the diagonal value More... | |
Protected Member Functions | |
| size_type | realIndex (int i) const |
| K * | pointer (size_type i) const |
| DiagonalRowVectorConst * | operator& () |
Protected Attributes | |
| K * | p_ |
| size_type | row_ |
Friends | |
| template<class DiagonalMatrixType > | |
| class | DiagonalMatrixWrapper |
| class | ContainerWrapperIterator< DiagonalRowVectorConst< K, n >, const K, const K & > |
| typedef K Dune::DiagonalRowVectorConst< K, n >::block_type |
export the type representing the components
| typedef ConstIterator Dune::DiagonalRowVectorConst< K, n >::const_iterator |
typedef for stl compliant access
| typedef ContainerWrapperIterator<DiagonalRowVectorConst<K,n>, const K, const K&> Dune::DiagonalRowVectorConst< K, n >::ConstIterator |
ConstIterator class for sequential access.
| typedef K Dune::DiagonalRowVectorConst< K, n >::field_type |
export the type representing the field
| typedef std::size_t Dune::DiagonalRowVectorConst< K, n >::size_type |
The type used for the index access and size operation.
| anonymous enum |
|
inline |
Constructor making uninitialized vector.
|
inlineexplicit |
Constructor making vector with identical coordinates.
|
inline |
|
inline |
|
inline |
begin ConstIterator
|
inline |
the diagonal value
References Dune::DiagonalRowVectorConst< K, n >::p_.
|
inline |
dimension of the vector space
|
inline |
end ConstIterator
|
inline |
|
inline |
number of blocks in the vector (are of size 1 here)
|
inlineprotected |
|
inline |
Binary vector comparison.
References Dune::DiagonalRowVectorConst< K, n >::p_, and Dune::DiagonalRowVectorConst< K, n >::row_.
|
inline |
same for read only access
References DUNE_THROW, DUNE_UNUSED_PARAMETER, Dune::DiagonalRowVectorConst< K, n >::p_, and Dune::DiagonalRowVectorConst< K, n >::row_.
|
inlineprotected |
References Dune::DiagonalRowVectorConst< K, n >::p_.
|
inlineprotected |
References Dune::DiagonalRowVectorConst< K, n >::rowIndex().
|
inline |
index of this row in surrounding matrix
References Dune::DiagonalRowVectorConst< K, n >::row_.
Referenced by Dune::DiagonalRowVectorConst< K, n >::realIndex().
|
friend |
|
friend |
|
protected |
Referenced by Dune::DiagonalRowVectorConst< K, n >::diagonal(), Dune::DiagonalRowVectorConst< K, n >::identical(), Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >::operator=(), Dune::DiagonalRowVectorConst< K, n >::operator==(), Dune::DiagonalRowVectorConst< K, n >::operator[](), Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >::operator[](), and Dune::DiagonalRowVectorConst< K, n >::pointer().
|
protected |
1.8.7