Dense Matrix and Vector Template Library
[Common]

Type traits to retrieve the field and the real type of classes. More...

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, R >
 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::DenseMatrixAssigner< DenseMatrix, DiagonalMatrix< field, N > >
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, Allocator > >
struct  Dune::FieldTraits< DynamicVector< K, Allocator > >
class  Dune::DynamicVector< K, Allocator >
 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...

Namespaces

namespace  Dune::DenseMatrixHelp
namespace  Dune::fvmeta
namespace  Dune
 

Dune namespace.


namespace  Dune::FMatrixHelp

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.


Functions

template<typename MAT >
std::ostream & Dune::operator<< (std::ostream &s, const DenseMatrix< MAT > &a)
 Sends the matrix to an output stream.
template<class K , class Allocator >
std::istream & Dune::DynamicVector::operator>> (std::istream &in, DynamicVector< K, Allocator > &v)
 Read a DynamicVector from an input stream.

Friends

std::ostream & Dune::BitSetVectorConstReference::operator<< (std::ostream &s, const BitSetVectorConstReference &v)
 Write a DenseVector to an output 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<typename MAT >
std::ostream& Dune::operator<< ( std::ostream &  s,
const DenseMatrix< MAT > &  a 
) [inline]

Sends the matrix to an output stream.

template<class K , class Allocator >
std::istream & operator>> ( std::istream &  in,
DynamicVector< K, Allocator > &  v 
) [related, inherited]

Read a DynamicVector from an input stream.

Read a FieldVector from an input stream.

Note:
This operator is STL compilant, 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 DynamicVector to be read
Returns:
the input stream (in)
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)

Friends

template<int block_size, class Alloc >
std::ostream & operator<< ( std::ostream &  s,
const BitSetVectorConstReference< block_size, Alloc > &  v 
) [friend, inherited]

Write a DenseVector to an output stream.

missing operators:

  • unsigned long to_ulong() const
Parameters:
[in] s std :: ostream to write to
[in] v DenseVector to write
Returns:
the output stream (s)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1