dune-common
2.6-git
|
#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_ |