Type traits to retrieve the field and the real type of classes.
More...
Files |
file | densematrix.hh |
| Implements a matrix constructed from a given type representing a field and a compile-time given number of rows and columns.
|
file | densevector.hh |
| Implements the dense vector interface, with an exchangeable storage class.
|
file | dynmatrix.hh |
| This file implements a dense matrix with dynamic numbers of rows and columns.
|
file | dynvector.hh |
| This file implements a dense vector with a dynamic size.
|
file | fmatrix.hh |
| Implements a matrix constructed from a given type representing a field and compile-time given number of rows and columns.
|
file | fvector.hh |
| Implements a vector constructed from a given type representing a field and a compile-time given size.
|
file | identitymatrix.hh |
| Implementation of an identity matrix that does not store any data.
|
Classes |
class | Dune::FMatrixError |
| Error thrown if operations of a FieldMatrix fail. More...
|
class | Dune::DenseMatrix< MAT > |
| A dense n x m matrix. More...
|
class | Dune::DenseIterator< C, T > |
| Generic iterator class for dense vector and matrix implementations. More...
|
class | Dune::DenseVector< V > |
| Interface for a class of dense vectors over a given field. More...
|
class | Dune::DiagonalMatrix< K, n > |
| A diagonal matrix of static size. More...
|
class | Dune::DiagonalMatrixWrapper< DiagonalMatrixType > |
class | Dune::DiagonalRowVectorConst< K, n > |
class | Dune::DiagonalRowVector< K, n > |
struct | Dune::const_reference< DiagonalRowVector< K, n > > |
struct | Dune::const_reference< DiagonalRowVectorConst< K, n > > |
struct | Dune::mutable_reference< DiagonalRowVector< K, n > > |
struct | Dune::mutable_reference< DiagonalRowVectorConst< K, n > > |
class | Dune::ContainerWrapperIterator< CW, T, R > |
| Iterator class for sparse vector-like containers. More...
|
struct | Dune::DenseMatVecTraits< DynamicMatrix< K > > |
struct | Dune::FieldTraits< DynamicMatrix< K > > |
class | Dune::DynamicMatrix< K > |
| Construct a matrix with a dynamic size. More...
|
struct | Dune::DenseMatVecTraits< DynamicVector< K > > |
struct | Dune::FieldTraits< DynamicVector< K > > |
class | Dune::DynamicVector< K > |
| Construct a vector with a dynamic size. More...
|
struct | Dune::DenseMatVecTraits< FieldMatrix< K, ROWS, COLS > > |
struct | Dune::FieldTraits< FieldMatrix< K, ROWS, COLS > > |
class | Dune::FieldMatrix< K, ROWS, COLS > |
| A dense n x m matrix. More...
|
struct | Dune::DenseMatVecTraits< FieldVector< K, SIZE > > |
struct | Dune::FieldTraits< FieldVector< K, SIZE > > |
struct | Dune::IsFieldVectorSizeCorrect< C, SIZE > |
| TMP to check the size of a DenseVectors statically, if possible. More...
|
struct | Dune::IsFieldVectorSizeCorrect< FieldVector< T, SIZE >, SIZE > |
struct | Dune::IsFieldVectorSizeCorrect< FieldVector< T, SIZE1 >, SIZE > |
class | Dune::FieldVector< K, SIZE > |
| vector space out of a tensor product of fields. More...
|
class | Dune::FMatrixPrecision< ctype > |
| Precisions for calculations with FieldMatrix and FieldVector. More...
|
class | Dune::IdentityMatrix< K, N > |
| Read-only identity matrix. More...
|
Functions |
template<class DenseMatrix , class K , int N, int M> |
void | Dune::istl_assign_to_fmatrix (DenseMatrix &denseMatrix, const K(&values)[M][N]) |
template<typename MAT > |
std::ostream & | Dune::operator<< (std::ostream &s, const DenseMatrix< MAT > &a) |
| Sends the matrix to an output stream.
|
template<class M , class K , int n> |
void | Dune::istl_assign_to_fmatrix (DenseMatrix< M > &fm, const DiagonalMatrix< K, n > &s) |
template<typename V > |
std::ostream & | operator<< (std::ostream &s, const DenseVector< V > &v) |
| Write a DenseVector to an output stream.
|
template<class K > |
std::istream & | operator>> (std::istream &in, DynamicVector< K > &v) |
| Read a DynamicVector from an input stream.
|
template<class K , int SIZE> |
std::istream & | operator>> (std::istream &in, FieldVector< K, SIZE > &v) |
| Read a FieldVector from an input stream.
|
Detailed Description
Type traits to retrieve the field and the real type of classes.
Type Traits to retrieve types associated with an implementation of Dune::DenseVector or Dune::DenseMatrix.
Type traits to retrieve the field and the real type of classes e.g. that of FieldVector or FieldMatrix
you have to specialize this class for every implementation of DenseVector or DenseMatrix.
typedef ... derived_type;
typedef ... value_type;
typedef ... size_type;
Function Documentation
template<class DenseMatrix , class K , int N, int M>
void Dune::istl_assign_to_fmatrix |
( |
DenseMatrix & |
denseMatrix, |
|
|
const K(&) |
values[M][N] |
|
) |
| |
template<class M , class K , int n>
void Dune::istl_assign_to_fmatrix |
( |
DenseMatrix< M > & |
fm, |
|
|
const DiagonalMatrix< K, n > & |
s |
|
) |
| |
template<typename V >
std::ostream & operator<< |
( |
std::ostream & |
s, |
|
|
const DenseVector< V > & |
v |
|
) |
| |
|
related |
Write a DenseVector to an output stream.
- Parameters
-
[in] | s | std :: ostream to write to |
[in] | v | DenseVector to write |
- Returns
- the output stream (s)
template<typename MAT >
std::ostream& Dune::operator<< |
( |
std::ostream & |
s, |
|
|
const DenseMatrix< MAT > & |
a |
|
) |
| |
Sends the matrix to an output stream.
template<class K >
std::istream & operator>> |
( |
std::istream & |
in, |
|
|
DynamicVector< K > & |
v |
|
) |
| |
|
related |
template<class K , int SIZE>
std::istream & operator>> |
( |
std::istream & |
in, |
|
|
FieldVector< K, SIZE > & |
v |
|
) |
| |
|
related |
Read a FieldVector from an input stream.
- Note
- This operator is STL compliant, i.e., the content of v is only changed if the read operation is successful.
- Parameters
-
[in] | in | std :: istream to read from |
[out] | v | FieldVector to be read |
- Returns
- the input stream (in)