dune-common
2.4.1-rc2
|
#include <dune/common/diagonalmatrix.hh>
Public Types | |
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< DiagonalRowVector< K, n >, K, K & > | Iterator |
Iterator class for sequential access. More... | |
typedef Iterator | iterator |
typedef for stl compliant access 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... | |
enum | { dimension = n } |
enum | { blocklevel = 1 } |
We are at the leaf of the block recursion. More... | |
enum | { size = n } |
export size More... | |
Public Member Functions | |
DiagonalRowVector () | |
Constructor making uninitialized vector. More... | |
DiagonalRowVector (K *p, int col) | |
Constructor making vector with identical coordinates. More... | |
DiagonalRowVector & | operator= (const K &k) |
Assignment operator for scalar. More... | |
K & | operator[] (size_type i) |
random access More... | |
Iterator | begin () |
begin iterator More... | |
Iterator | end () |
end iterator More... | |
Iterator | beforeEnd () |
Iterator | beforeBegin () |
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 | |
DiagonalRowVector * | operator& () |
size_type | realIndex (int i) const |
K * | pointer (size_type i) const |
Protected Attributes | |
K * | p_ |
size_type | row_ |
typedef K Dune::DiagonalRowVector< K, n >::block_type |
export the type representing the components
typedef ConstIterator Dune::DiagonalRowVector< K, n >::const_iterator |
typedef for stl compliant access
typedef ContainerWrapperIterator<DiagonalRowVectorConst<K,n>, const K, const K&> Dune::DiagonalRowVector< K, n >::ConstIterator |
ConstIterator class for sequential access.
typedef K Dune::DiagonalRowVector< K, n >::field_type |
export the type representing the field
typedef ContainerWrapperIterator<DiagonalRowVector<K,n>, K, K&> Dune::DiagonalRowVector< K, n >::Iterator |
Iterator class for sequential access.
typedef Iterator Dune::DiagonalRowVector< K, n >::iterator |
typedef for stl compliant access
typedef std::size_t Dune::DiagonalRowVector< K, n >::size_type |
The type used for the index access and size operation.
|
inherited |
|
inherited |
|
inline |
Constructor making uninitialized vector.
|
inlineexplicit |
Constructor making vector with identical coordinates.
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
begin ConstIterator
|
inline |
begin iterator
|
inlineinherited |
the diagonal value
|
inlineinherited |
dimension of the vector space
|
inlineinherited |
end ConstIterator
|
inline |
end iterator
|
inlineinherited |
|
inlineinherited |
number of blocks in the vector (are of size 1 here)
|
inlineprotected |
|
inline |
Assignment operator for scalar.
|
inlineinherited |
Binary vector comparison.
References Dune::DiagonalRowVectorConst< K, n >::p_, and Dune::DiagonalRowVectorConst< K, n >::row_.
|
inlineinherited |
same for read only access
References DUNE_THROW, and DUNE_UNUSED_PARAMETER.
|
inline |
random access
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
index of this row in surrounding matrix
|
protectedinherited |
|
protectedinherited |