Dune Core Modules (2.8.0)
fmatrix.hh File Reference
Implements a matrix constructed from a given type representing a field and compile-time given number of rows and columns. More...
#include <cmath>
#include <cstddef>
#include <iostream>
#include <algorithm>
#include <initializer_list>
#include <dune/common/boundschecking.hh>
#include <dune/common/exceptions.hh>
#include <dune/common/fvector.hh>
#include <dune/common/densematrix.hh>
#include <dune/common/precision.hh>
#include <dune/common/promotiontraits.hh>
#include <dune/common/typetraits.hh>
#include "fmatrixev.hh"
Go to the source code of this file.
Classes | |
class | Dune::FieldMatrix< K, ROWS, COLS > |
A dense n x m matrix. More... | |
Namespaces | |
namespace | Dune |
Dune namespace. | |
Functions | |
template<typename K > | |
static K | Dune::FMatrixHelp::invertMatrix (const FieldMatrix< K, 1, 1 > &matrix, FieldMatrix< K, 1, 1 > &inverse) |
invert scalar without changing the original matrix | |
template<typename K > | |
static K | Dune::FMatrixHelp::invertMatrix_retTransposed (const FieldMatrix< K, 1, 1 > &matrix, FieldMatrix< K, 1, 1 > &inverse) |
invert scalar without changing the original matrix | |
template<typename K > | |
static K | Dune::FMatrixHelp::invertMatrix (const FieldMatrix< K, 2, 2 > &matrix, FieldMatrix< K, 2, 2 > &inverse) |
invert 2x2 Matrix without changing the original matrix | |
template<typename K > | |
static K | Dune::FMatrixHelp::invertMatrix_retTransposed (const FieldMatrix< K, 2, 2 > &matrix, FieldMatrix< K, 2, 2 > &inverse) |
template<typename K > | |
static K | Dune::FMatrixHelp::invertMatrix (const FieldMatrix< K, 3, 3 > &matrix, FieldMatrix< K, 3, 3 > &inverse) |
invert 3x3 Matrix without changing the original matrix | |
template<typename K > | |
static K | Dune::FMatrixHelp::invertMatrix_retTransposed (const FieldMatrix< K, 3, 3 > &matrix, FieldMatrix< K, 3, 3 > &inverse) |
invert 3x3 Matrix without changing the original matrix | |
template<class K , int m, int n, int p> | |
static void | Dune::FMatrixHelp::multMatrix (const FieldMatrix< K, m, n > &A, const FieldMatrix< K, n, p > &B, FieldMatrix< K, m, p > &ret) |
calculates ret = A * B | |
template<typename K , int rows, int cols> | |
static void | Dune::FMatrixHelp::multTransposedMatrix (const FieldMatrix< K, rows, cols > &matrix, FieldMatrix< K, cols, cols > &ret) |
calculates ret= A_t*A | |
template<typename K , int rows, int cols> | |
static void | Dune::FMatrixHelp::multAssignTransposed (const FieldMatrix< K, rows, cols > &matrix, const FieldVector< K, rows > &x, FieldVector< K, cols > &ret) |
calculates ret = matrix^T * x | |
template<typename K , int rows, int cols> | |
static FieldVector< K, rows > | Dune::FMatrixHelp::mult (const FieldMatrix< K, rows, cols > &matrix, const FieldVector< K, cols > &x) |
calculates ret = matrix * x | |
template<typename K , int rows, int cols> | |
static FieldVector< K, cols > | Dune::FMatrixHelp::multTransposed (const FieldMatrix< K, rows, cols > &matrix, const FieldVector< K, rows > &x) |
calculates ret = matrix^T * x | |
Detailed Description
Implements a matrix constructed from a given type representing a field and compile-time given number of rows and columns.
Function Documentation
◆ invertMatrix_retTransposed()
template<typename K >
|
inlinestatic |
invert 2x2 Matrix without changing the original matrix return transposed matrix
References Dune::FMatrixHelp::invertMatrix_retTransposed().
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)