Dense Matrix and Vector Template Library
[Common (foundation classes)]

Collaboration diagram for Dense Matrix and Vector Template Library:

Classes

class  Dune::FMatrixError
 Error thrown if operations of a FieldMatrix fail. More...
class  Dune::FieldMatrix< K, ROWS, COLS >
 A dense n x m matrix. More...
struct  Dune::FieldTraits< T >
 Type Traits to retrieve the field and the real type of classes. 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...
struct  Dune::IteratorType< const T >
class  Dune::FieldVector< K, SIZE >
 Construct a vector space out of a tensor product of fields. More...
class  Dune::FMatrixPrecision< ctype >
 Precisions for calculations with FieldMatrix and FieldVector. More...

Namespaces

namespace  Dune::FMatrixHelp
namespace  Dune::fvmeta

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.


Functions

template<class K , int ROWS, int COLS, typename T >
void Dune::istl_assign_to_fmatrix (FieldMatrix< K, ROWS, COLS > &f, const T &t)
 you have to specialize this function for any type T that should be assignable to a FieldMatrix
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 ROWS, int COLS, typename T >
void Dune::istl_assign_to_fmatrix ( FieldMatrix< K, ROWS, COLS > &  f,
const T &  t 
) [inline]

you have to specialize this function for any type T that should be assignable to a FieldMatrix

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)
Generated on Mon Apr 26 10:45:23 2010 for dune-common by  doxygen 1.6.3