ug4
densematrix_inverse.h File Reference
#include "densematrix.h"
#include "densevector.h"
#include "block_dense.h"
#include "common/common.h"
#include "lib_algebra/small_algebra/small_algebra.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<typename T >
double ug::GetDet2 (const DenseMatrix< T > &mat)
 
template<typename T >
double ug::GetDet3 (const DenseMatrix< T > &mat)
 
bool ug::GetInverse (DenseMatrix< FixedArray2< double, 1, 1 > > &inv, const DenseMatrix< FixedArray2< double, 1, 1 > > &mat)
 
bool ug::GetInverse (DenseMatrix< FixedArray2< double, 2, 2 > > &inv, const DenseMatrix< FixedArray2< double, 2, 2 > > &mat)
 
bool ug::GetInverse (DenseMatrix< FixedArray2< double, 3, 3 > > &inv, const DenseMatrix< FixedArray2< double, 3, 3 > > &mat)
 
template<typename T , size_t TBlockSize, eMatrixOrdering TOrdering>
bool ug::GetInverse (DenseMatrixInverse< FixedArray2< T, TBlockSize, TBlockSize, TOrdering > > &inv, const DenseMatrix< FixedArray2< T, TBlockSize, TBlockSize, TOrdering > > &mat)
 
template<typename T , eMatrixOrdering TOrdering>
bool ug::GetInverse (DenseMatrixInverse< VariableArray2< T, TOrdering > > &inv, const DenseMatrix< VariableArray2< T, TOrdering > > &mat)
 
template<typename T >
bool ug::GetInverse1 (DenseMatrix< T > &inv, const DenseMatrix< T > &mat)
 
template<typename T >
bool ug::GetInverse2 (DenseMatrix< T > &inv, const DenseMatrix< T > &mat)
 
template<typename T >
bool ug::GetInverse3 (DenseMatrix< T > &inv, const DenseMatrix< T > &mat)
 
bool ug::InverseMatMult (DenseVector< FixedArray1< double, 1 > > &dest, double beta1, const DenseMatrix< FixedArray2< double, 1, 1 > > &A1, const DenseVector< FixedArray1< double, 1 > > &w1)
 
template<typename T >
bool ug::InverseMatMult (DenseVector< FixedArray1< double, 2 > > &dest, double beta, const DenseMatrix< FixedArray2< double, 2, 2 > > &mat, const DenseVector< FixedArray1< double, 2 > > &vec)
 
template<typename T >
bool ug::InverseMatMult (DenseVector< FixedArray1< double, 3 > > &dest, double beta, const DenseMatrix< FixedArray2< double, 3, 3 > > &mat, const DenseVector< FixedArray1< double, 3 > > &vec)
 
template<typename vector_t , typename matrix_t >
bool ug::InverseMatMult (DenseVector< vector_t > &dest, double beta, const DenseMatrix< matrix_t > &mat, const DenseVector< vector_t > &vec)
 
template<typename vector_t , typename matrix_t >
bool ug::InverseMatMult1 (DenseVector< vector_t > &dest, double beta1, const DenseMatrix< matrix_t > &A1, const DenseVector< vector_t > &w1)
 
template<typename vector_t , typename matrix_t >
bool ug::InverseMatMult2 (DenseVector< vector_t > &dest, double beta, const DenseMatrix< matrix_t > &mat, const DenseVector< vector_t > &vec)
 
template<typename vector_t , typename matrix_t >
bool ug::InverseMatMult3 (DenseVector< vector_t > &dest, double beta, const DenseMatrix< matrix_t > &mat, const DenseVector< vector_t > &vec)
 
template<typename vector_t , typename matrix_t >
bool ug::InverseMatMultN (DenseVector< vector_t > &dest, double beta, const DenseMatrix< matrix_t > &mat, const DenseVector< vector_t > &vec)
 
bool ug::Invert (DenseMatrix< FixedArray2< double, 1, 1 > > &mat)
 
bool ug::Invert (DenseMatrix< FixedArray2< double, 2, 2 > > &mat)
 
bool ug::Invert (DenseMatrix< FixedArray2< double, 3, 3 > > &mat)
 
template<typename T >
bool ug::Invert (DenseMatrix< T > &mat)
 
template<typename T >
bool ug::Invert1 (DenseMatrix< T > &mat)
 
template<typename T >
bool ug::Invert2 (DenseMatrix< T > &mat)
 
bool ug::Invert3 (DenseMatrix< FixedArray2< double, 3, 3 > > &mat)
 
bool ug::Invert3 (DenseMatrix< VariableArray2< double > > &mat)
 
template<typename vector_t , typename matrix_t >
void ug::MatMult (DenseVector< vector_t > &dest, const number &beta1, const DenseMatrixInverse< matrix_t > &A1, const DenseVector< vector_t > &w1)
 calculates dest = beta1 * A1; More...
 
template<typename vector_t , typename matrix_t >
void ug::MatMultAdd (DenseVector< vector_t > &dest, const number &alpha1, const DenseVector< vector_t > &v1, const number &beta1, const DenseMatrixInverse< matrix_t > &A1, const DenseVector< vector_t > &w1)
 calculates dest = alpha1*v1 + beta1 * A1 *w1; More...