|
TBCI Numerical high perf. C++ Library
2.8.0
|
Solver for linear systems by doing an exponential expansion. More...
#include "tbci/basics.h"#include "tbci/matrix.h"
Go to the source code of this file.
Functions | |
| template<typename Matrix > | |
| NAMESPACE_TBCI double | norm_1 (const Matrix &mat) |
| template<typename T > | |
| double | norm_1 (const TMatrix< T > &mat) |
| We need a special implementation for TMatrix to prevent memory leak. More... | |
| template<typename Matrix > | |
| void | expm (const Matrix &exponent, Matrix &E) |
| INST2 (template< Matrix< T >, Matrix< T > > class NN friend void expm2(const Matrix< T > &exponent, Matrix< T > &erg, double);) INST2(template< BdMatrix< T > | |
| Matrix< T > class NN friend void | expm2 (const BdMatrix< T > &exponent, Matrix< T > &erg, double) |
| template<typename MatrixIn , typename MatrixOut > | |
| void | expm2 (const MatrixIn &exponent, MatrixOut &erg, double ERROR=1e-3) |
| INST2 (template< Matrix< T >, Matrix< T > > class NN friend void expm3(const Matrix< T > &exponent, Matrix< T > &erg, double);) INST2(template< BdMatrix< T > | |
| Matrix< T > class NN friend void | expm3 (const BdMatrix< T > &exponent, Matrix< T > &erg, double) |
| template<typename MatrixIn , typename MatrixOut > | |
| void | expm3 (const MatrixIn &exponent, MatrixOut &erg, double ERROR=1e-3) |
Solver for linear systems by doing an exponential expansion.
Definition in file expm.h.
Definition at line 57 of file expm.h.
References c, lu_solve(), MAX, norm_1(), p, pow(), TMatrix< T >::rows(), and TBCI__.
| void expm2 | ( | const MatrixIn & | exponent, |
| MatrixOut & | erg, | ||
| double | ERROR = 1e-3 |
||
| ) |
| void expm3 | ( | const MatrixIn & | exponent, |
| MatrixOut & | erg, | ||
| double | ERROR = 1e-3 |
||
| ) |
| INST2 | ( | template< Matrix< T >, Matrix< T > > class NN friend void expm2(const Matrix< T > &exponent, Matrix< T > &erg, double); | ) |
| INST2 | ( | template< Matrix< T >, Matrix< T > > class NN friend void expm3(const Matrix< T > &exponent, Matrix< T > &erg, double); | ) |
| NAMESPACE_TBCI double norm_1 | ( | const Matrix & | mat | ) |
Definition at line 18 of file expm.h.
References TMatrix< T >::columns(), std::fabs(), TMatrix< T >::get(), i, MATH__, max(), MAX, TMatrix< T >::rows(), and sum().
We need a special implementation for TMatrix to prevent memory leak.
Definition at line 35 of file expm.h.
References TMatrix< T >::columns(), std::fabs(), TMatrix< T >::get(), i, TMatrix< T >::mark_destroy(), MATH__, max(), MAX, TMatrix< T >::rows(), and sum().
1.8.5