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 >
 Vectors containing only one component. More...
class  Dune::FMatrixPrecision< ctype >
 Precisions for calculations with FieldMatrix and FieldVector. More...

Functions

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
template<typename K, int n>
std::ostream & Dune::FieldVector::operator<< (std::ostream &s, const FieldVector< K, n > &v)
 Write a FieldVector to an output stream.
template<class K, int SIZE>
std::istream & Dune::FieldVector::operator>> (std::istream &in, FieldVector< K, SIZE > &v)
 Read a FieldVector from an input stream.


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<typename K, int n>
std::ostream & operator<< ( std::ostream &  s,
const FieldVector< K, n > &  v 
) [related, inherited]

Write a FieldVector to an output stream.

Parameters:
[in] s std :: ostream to write to
[in] v FieldVector to write
Returns:
the output stream (s)

template<class K, int SIZE>
std::istream & operator>> ( std::istream &  in,
FieldVector< K, SIZE > &  v 
) [related, inherited]

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 FieldVector to be read
Returns:
the input stream (in)

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 Sun Nov 15 22:28:15 2009 for dune-common by  doxygen 1.5.6