|
| template<class T, int n> |
| Dune::FieldVector< T, n > | operator+ (Dune::FieldVector< T, n > x, Dune::FieldVector< T, n > const &y) |
| | Vector addition \( (x,y) \mapsto x+y \).
|
| template<class T, int n> |
| Dune::FieldVector< T, n > | operator- (Dune::FieldVector< T, n > x) |
| | Vector negation \( x \mapsto - x \).
|
| template<class T, int n> |
| Dune::FieldVector< T, n > | max (Dune::FieldVector< T, n > x, Dune::FieldVector< T, n > const &y) |
| | Componentwise maximum.
|
| template<class T, int n> |
| Dune::FieldVector< T, n > | min (Dune::FieldVector< T, n > x, Dune::FieldVector< T, n > const &y) |
| | Componentwise minimum.
|
| template<class T, int n, int m> |
| Dune::FieldVector< T, n *m > | asVector (Dune::FieldMatrix< T, n, m > const &x) |
| | Converts a matrix of size n x m to a vector of size n*m by concatenating all the columns.
|
| template<int n, int m, class T> |
| Dune::FieldMatrix< T, n, m > | asMatrix (Dune::FieldVector< T, n *m > const &x) |
| | Converts a vector of size nm to a matrix of size n x m by filling columns successively.
|
| template<class T, int n, int m> |
| Dune::FieldMatrix< T, n, m > | outerProduct (Dune::FieldVector< T, n > const &x, Dune::FieldVector< T, m > const &y) |
| | outer vector product \( (x,y) \mapsto x y^T \).
|
| template<class T, int n> |
| Dune::FieldVector< T, n > | normalize (Dune::FieldVector< T, n > x) |
| | returns the normalized vector
|
| template<class T, int n, int m> |
| Dune::FieldVector< T, n+m > | vertcat (Dune::FieldVector< T, n > const &x, Dune::FieldVector< T, m > const &y) |
| | Concatenation of vectors.
|
| template<class T> |
| T | vectorProduct (Dune::FieldVector< T, 2 > const &x, Dune::FieldVector< T, 2 > const &y) |
| | vector product \( (x,y) \mapsto x \times y \in \mathbb{R} \).
|
| template<class T> |
| Dune::FieldMatrix< T, 1, 2 > | vectorProductMatrix (Dune::FieldVector< T, 2 > const &x) |
| | the matrix \( A(x) \in \mathbb{R}^{1\times 2}\) satisfying \( A(x) b = x\times b \) for all \( b \)
|
| template<class T> |
| Dune::FieldVector< T, 3 > | vectorProduct (Dune::FieldVector< T, 3 > const &x, Dune::FieldVector< T, 3 > const &y) |
| | vector product \( (x,y) \mapsto x \times y \).
|
| template<class T> |
| Dune::FieldMatrix< T, 3, 3 > | vectorProductMatrix (Dune::FieldVector< T, 3 > const &x) |
| | the skew-symmetric matrix \( A(x)\in \mathbb{R}^{3\times 3} \) satisfying \( A(x) b = x\times b \) for all \( b \)
|
| template<class T, class S, int n, int m> |
| Dune::FieldVector< S, n > | operator* (Dune::FieldMatrix< T, n, m > const &A, Dune::FieldVector< S, m > const &x) |
| | Matrix-vector multiplication \( (A,x) \mapsto Ax \).
|
| template<class T, int n, int m> |
| Dune::FieldMatrix< T, n, m > | operator- (Dune::FieldMatrix< T, n, m > const &A) |
| | Matrix negation \( A \mapsto - A \).
|
| template<class T, int n, int m> |
| auto | normalForm (Dune::FieldMatrix< T, n, m > const &A) |
| template<class T, int n> |
| T | trace (Dune::FieldMatrix< T, n, n > const &A) |
| | Matrix trace \( A \mapsto \mathrm{tr}\,A = \sum_{i} A_{ii} \).
|