Dense Matrix and Vector Template Library
[Common]


Files

file  fmatrix.hh
 This file implements a matrix constructed from a given type representing a field and compile-time given number of rows and columns.
file  fvector.hh
 This file implements a vector constructed from a given type representing a field and a compile-time given size.

Classes

class  Dune::FMatrixError
 Error thrown if operations of a FieldMatrix fail. More...
class  Dune::FieldMatrix< K, n, m >
 A dense n x m matrix. More...
class  Dune::FieldMatrix< K, 1, 1 >
 Special type for 1x1 matrices. More...
class  Dune::FieldIterator< C, T >
 Iterator class for sequential access to FieldVector and FieldMatrix. More...
struct  Dune::IteratorType< T >
 Type Traits for Vector::Iterator vs (const Vector)ConstIterator. More...
class  Dune::FieldVector< K, SIZE >
 Construct a vector space out of a tensor product of fields. More...
class  Dune::FieldVector< K, 1 >
class  Dune::FMatrixPrecision< ctype >
 Precisions for calculations with FieldMatrix and FieldVector. More...

Functions

template<typename K, int n>
std::ostream & Dune::operator<< (std::ostream &s, const FieldVector< K, n > &v)
 Send vector to output stream.
template<class K>
FieldVector< K, 1 > Dune::operator+ (const FieldVector< K, 1 > &a, const FieldVector< K, 1 > &b)
 Binary vector addition.
template<class K>
FieldVector< K, 1 > Dune::operator- (const FieldVector< K, 1 > &a, const FieldVector< K, 1 > &b)
 Binary vector subtraction.
template<class K>
FieldVector< K, 1 > Dune::operator+ (const FieldVector< K, 1 > &a, const K b)
 Binary addition, when using FieldVector<K,1> like K.
template<class K>
FieldVector< K, 1 > Dune::operator- (const FieldVector< K, 1 > &a, const K b)
 Binary subtraction, when using FieldVector<K,1> like K.
template<class K>
FieldVector< K, 1 > Dune::operator+ (const K a, const FieldVector< K, 1 > &b)
 Binary addition, when using FieldVector<K,1> like K.
template<class K>
FieldVector< K, 1 > Dune::operator- (const K a, const FieldVector< K, 1 > &b)
 Binary subtraction, when using FieldVector<K,1> like K.
template<class V>
void Dune::FieldMatrix::solve (V &x, const V &b) const
 Solve system A x = b.
void Dune::FieldMatrix::invert ()
 Compute inverse.
Dune::FieldMatrix::determinant () const
 calculates the determinant of this matrix

Function Documentation

template<class K, int n, int m>
void Dune::FieldMatrix< K, n, m >::invert (  )  [inline, inherited]

Compute inverse.

Exceptions:
FMatrixError if the matrix is singular

References DUNE_THROW.

template<class K, int n, int m>
template<class V>
void Dune::FieldMatrix< K, n, m >::solve ( V &  x,
const V &  b 
) const [inline, inherited]

Solve system A x = b.

Exceptions:
FMatrixError if the matrix is singular

References Dune::FieldMatrix< K, n, m >::determinant(), and DUNE_THROW.

Generated on 6 Nov 2008 with Doxygen (ver 1.5.6) [logfile].