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. | |
K | 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. |
void Dune::FieldMatrix< K, n, m >::invert | ( | ) | [inline, inherited] |
std::ostream & operator<< | ( | std::ostream & | s, | |
const FieldVector< K, n > & | v | |||
) | [related, inherited] |
Write a FieldVector to an output stream.
[in] | s | std :: ostream to write to |
[in] | v | FieldVector to write |
std::istream & operator>> | ( | std::istream & | in, | |
FieldVector< K, SIZE > & | v | |||
) | [related, inherited] |
Read a FieldVector from an input stream.
[in] | in | std :: istream to read from |
[out] | v | FieldVector to be read |
void Dune::FieldMatrix< K, n, m >::solve | ( | V & | x, | |
const V & | b | |||
) | const [inline, inherited] |
Solve system A x = b.
FMatrixError | if the matrix is singular |
References Dune::FieldMatrix< K, n, m >::determinant(), and DUNE_THROW.