Flow123d  DF_patch_fe_data_tables-398e8e7
Functions
fe_tools Namespace Reference

Functions

template<class T >
double determinant (const T &M)
 Calculates determinant of a rectangular matrix. More...
 
arma::mat::fixed< 1, 1 > normal_matrix (const arma::mat::fixed< 1, 2 > &A)
 
arma::mat::fixed< 1, 1 > normal_matrix (const arma::mat::fixed< 2, 1 > &A)
 
arma::mat::fixed< 1, 1 > normal_matrix (const arma::mat::fixed< 1, 3 > &A)
 
arma::mat::fixed< 1, 1 > normal_matrix (const arma::mat::fixed< 3, 1 > &A)
 
arma::mat::fixed< 2, 2 > normal_matrix (const arma::mat::fixed< 2, 3 > &A)
 
arma::mat::fixed< 2, 2 > normal_matrix (const arma::mat::fixed< 3, 2 > &A)
 
template<>
double determinant (const arma::mat::fixed< 1, 1 > &M)
 
template<>
double determinant (const arma::mat::fixed< 2, 2 > &M)
 
template<>
double determinant (const arma::mat::fixed< 3, 3 > &M)
 
template<>
double determinant (FMT_UNUSED const arma::mat::fixed< 0, 3 > &M)
 
template<>
double determinant (FMT_UNUSED const arma::mat::fixed< 3, 0 > &M)
 
template<>
double determinant (const arma::mat::fixed< 1, 2 > &M)
 
template<>
double determinant (const arma::mat::fixed< 2, 1 > &M)
 
template<>
double determinant (const arma::mat::fixed< 1, 3 > &M)
 
template<>
double determinant (const arma::mat::fixed< 3, 1 > &M)
 
template<>
double determinant (const arma::mat::fixed< 2, 3 > &M)
 
template<>
double determinant (const arma::mat::fixed< 3, 2 > &M)
 
template<arma::uword m, arma::uword n>
arma::mat::fixed< n, m > inverse (const arma::mat::fixed< m, n > &A)
 Calculates inverse of rectangular matrix or pseudoinverse of non-rectangular matrix. More...
 
template<>
arma::mat::fixed< 1, 1 > inverse (const arma::mat::fixed< 1, 1 > &A)
 
template<>
arma::mat::fixed< 2, 2 > inverse (const arma::mat::fixed< 2, 2 > &A)
 
template<>
arma::mat::fixed< 3, 3 > inverse (const arma::mat::fixed< 3, 3 > &A)
 

Function Documentation

◆ determinant() [1/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 1, 1 > &  M)
inline

Definition at line 88 of file fem_tools.hh.

◆ determinant() [2/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 1, 2 > &  M)
inline

Definition at line 114 of file fem_tools.hh.

◆ determinant() [3/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 1, 3 > &  M)
inline

Definition at line 124 of file fem_tools.hh.

◆ determinant() [4/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 2, 1 > &  M)
inline

Definition at line 119 of file fem_tools.hh.

◆ determinant() [5/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 2, 2 > &  M)
inline

Definition at line 93 of file fem_tools.hh.

◆ determinant() [6/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 2, 3 > &  M)
inline

Definition at line 134 of file fem_tools.hh.

◆ determinant() [7/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 3, 1 > &  M)
inline

Definition at line 129 of file fem_tools.hh.

◆ determinant() [8/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 3, 2 > &  M)
inline

Definition at line 139 of file fem_tools.hh.

◆ determinant() [9/12]

template<>
double fe_tools::determinant ( const arma::mat::fixed< 3, 3 > &  M)
inline

Definition at line 98 of file fem_tools.hh.

◆ determinant() [10/12]

template<class T >
double fe_tools::determinant ( const T &  M)

Calculates determinant of a rectangular matrix.

Here is the caller graph for this function:

◆ determinant() [11/12]

template<>
double fe_tools::determinant ( FMT_UNUSED const arma::mat::fixed< 0, 3 > &  M)
inline

Definition at line 104 of file fem_tools.hh.

◆ determinant() [12/12]

template<>
double fe_tools::determinant ( FMT_UNUSED const arma::mat::fixed< 3, 0 > &  M)
inline

Definition at line 109 of file fem_tools.hh.

◆ inverse() [1/4]

template<>
arma::mat::fixed<1,1> fe_tools::inverse ( const arma::mat::fixed< 1, 1 > &  A)
inline

Definition at line 155 of file fem_tools.hh.

◆ inverse() [2/4]

template<>
arma::mat::fixed<2,2> fe_tools::inverse ( const arma::mat::fixed< 2, 2 > &  A)
inline

Definition at line 162 of file fem_tools.hh.

◆ inverse() [3/4]

template<>
arma::mat::fixed<3,3> fe_tools::inverse ( const arma::mat::fixed< 3, 3 > &  A)
inline

Definition at line 174 of file fem_tools.hh.

◆ inverse() [4/4]

template<arma::uword m, arma::uword n>
arma::mat::fixed<n,m> fe_tools::inverse ( const arma::mat::fixed< m, n > &  A)

Calculates inverse of rectangular matrix or pseudoinverse of non-rectangular matrix.

Definition at line 149 of file fem_tools.hh.

Here is the caller graph for this function:

◆ normal_matrix() [1/6]

arma::mat::fixed<1,1> fe_tools::normal_matrix ( const arma::mat::fixed< 1, 2 > &  A)
inline

Definition at line 44 of file fem_tools.hh.

Here is the caller graph for this function:

◆ normal_matrix() [2/6]

arma::mat::fixed<1,1> fe_tools::normal_matrix ( const arma::mat::fixed< 1, 3 > &  A)
inline

Definition at line 56 of file fem_tools.hh.

◆ normal_matrix() [3/6]

arma::mat::fixed<1,1> fe_tools::normal_matrix ( const arma::mat::fixed< 2, 1 > &  A)
inline

Definition at line 50 of file fem_tools.hh.

◆ normal_matrix() [4/6]

arma::mat::fixed<2,2> fe_tools::normal_matrix ( const arma::mat::fixed< 2, 3 > &  A)
inline

Definition at line 68 of file fem_tools.hh.

◆ normal_matrix() [5/6]

arma::mat::fixed<1,1> fe_tools::normal_matrix ( const arma::mat::fixed< 3, 1 > &  A)
inline

Definition at line 62 of file fem_tools.hh.

◆ normal_matrix() [6/6]

arma::mat::fixed<2,2> fe_tools::normal_matrix ( const arma::mat::fixed< 3, 2 > &  A)
inline

Definition at line 77 of file fem_tools.hh.