4 #ifndef DUNE_DYNMATRIX_HH
5 #define DUNE_DYNMATRIX_HH
42 typedef typename container_type::size_type
size_type;
59 std::vector< DynamicVector<K> > _data;
83 using Base::operator=;
89 return _data.front().size();
char c
Definition: alignment.hh:37
Base::row_type row_type
Definition: dynmatrix.hh:64
void resize(size_type r, size_type c, value_type v=value_type())
Definition: dynmatrix.hh:76
Definition: ftraits.hh:23
size_type mat_rows() const
Definition: dynmatrix.hh:86
FieldTraits< K >::real_type real_type
Definition: dynmatrix.hh:49
A few common exception classes.
const row_type & mat_access(size_type i) const
Definition: dynmatrix.hh:92
Construct a matrix with a dynamic size.
Definition: dynmatrix.hh:28
DynamicMatrix(size_type r, size_type c, value_type v=value_type())
Constructor initializing the whole matrix with a scalar.
Definition: dynmatrix.hh:71
This file implements a dense vector with a dynamic size.
FieldTraits< K >::field_type field_type
Definition: dynmatrix.hh:48
K value_type
Definition: dynmatrix.hh:41
size_type rows() const
number of rows
Definition: densematrix.hh:704
std::vector< K > container_type
Definition: dynmatrix.hh:40
Base::size_type size_type
Definition: dynmatrix.hh:62
Fallback implementation of the C++0x static_assert feature.
Implements a matrix constructed from a given type representing a field and a compile-time given numbe...
container_type::size_type size_type
Definition: dynmatrix.hh:42
DynamicMatrix()
Default constructor.
Definition: dynmatrix.hh:68
DynamicMatrix< K > derived_type
Definition: dynmatrix.hh:33
T real_type
export the type representing the real type of the field
Definition: ftraits.hh:28
const row_type & const_row_reference
Definition: dynmatrix.hh:38
size_type mat_cols() const
Definition: dynmatrix.hh:87
Traits::size_type size_type
The type used for the index access and size operation.
Definition: densematrix.hh:215
row_type & mat_access(size_type i)
Definition: dynmatrix.hh:91
T field_type
export the type representing the field
Definition: ftraits.hh:26
Traits::value_type value_type
export the type representing the field
Definition: densematrix.hh:206
DynamicVector< K > row_type
Definition: dynmatrix.hh:35
Base::value_type value_type
Definition: dynmatrix.hh:63
Construct a vector with a dynamic size.
Definition: dynvector.hh:30
Traits::row_type row_type
The type used to represent a row (must fulfill the Dune::DenseVector interface)
Definition: densematrix.hh:218
row_type & row_reference
Definition: dynmatrix.hh:37
Definition: matvectraits.hh:30
A dense n x m matrix.
Definition: densematrix.hh:24