Garfield++ 5.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Linear algebra routines from CERNLIB. More...
Functions | |
int | deqn (const int n, std::vector< std::vector< double > > &a, std::vector< double > &b) |
int | deqinv (const int n, std::vector< std::vector< double > > &a, std::vector< double > &b) |
Replaces b by the solution x of Ax = b, and replace A by its inverse. | |
void | dfact (const int n, std::vector< std::vector< double > > &a, std::vector< int > &ir, int &ifail, double &det, int &jfail) |
void | dfeqn (const int n, std::vector< std::vector< double > > &a, std::vector< int > &ir, std::vector< double > &b) |
void | dfinv (const int n, std::vector< std::vector< double > > &a, std::vector< int > &ir) |
int | dinv (const int n, std::vector< std::vector< double > > &a) |
Replace square matrix A by its inverse. | |
void | cfact (const int n, std::vector< std::vector< std::complex< double > > > &a, std::vector< int > &ir, int &ifail, std::complex< double > &det, int &jfail) |
void | cfinv (const int n, std::vector< std::vector< std::complex< double > > > &a, std::vector< int > &ir) |
int | cinv (const int n, std::vector< std::vector< std::complex< double > > > &a) |
Replace square matrix A by its inverse. | |
void | cfft (std::vector< std::complex< double > > &a, const int msign) |
Linear algebra routines from CERNLIB.
void Garfield::Numerics::CERNLIB::cfact | ( | const int | n, |
std::vector< std::vector< std::complex< double > > > & | a, | ||
std::vector< int > & | ir, | ||
int & | ifail, | ||
std::complex< double > & | det, | ||
int & | jfail ) |
Definition at line 995 of file Numerics.cc.
Referenced by cinv().
void Garfield::Numerics::CERNLIB::cfft | ( | std::vector< std::complex< double > > & | a, |
const int | msign ) |
Definition at line 1205 of file Numerics.cc.
void Garfield::Numerics::CERNLIB::cfinv | ( | const int | n, |
std::vector< std::vector< std::complex< double > > > & | a, | ||
std::vector< int > & | ir ) |
Definition at line 1080 of file Numerics.cc.
Referenced by cinv().
int Garfield::Numerics::CERNLIB::cinv | ( | const int | n, |
std::vector< std::vector< std::complex< double > > > & | a ) |
Replace square matrix A by its inverse.
Definition at line 1135 of file Numerics.cc.
int Garfield::Numerics::CERNLIB::deqinv | ( | const int | n, |
std::vector< std::vector< double > > & | a, | ||
std::vector< double > & | b ) |
Replaces b by the solution x of Ax = b, and replace A by its inverse.
Definition at line 910 of file Numerics.cc.
int Garfield::Numerics::CERNLIB::deqn | ( | const int | n, |
std::vector< std::vector< double > > & | a, | ||
std::vector< double > & | b ) |
Replaces b by the solution x of Ax = b, after which A is undefined.
n | order of the square matrix A. |
a | n by n matrix. |
b | right-hand side vector. |
Definition at line 594 of file Numerics.cc.
void Garfield::Numerics::CERNLIB::dfact | ( | const int | n, |
std::vector< std::vector< double > > & | a, | ||
std::vector< int > & | ir, | ||
int & | ifail, | ||
double & | det, | ||
int & | jfail ) |
Definition at line 669 of file Numerics.cc.
void Garfield::Numerics::CERNLIB::dfeqn | ( | const int | n, |
std::vector< std::vector< double > > & | a, | ||
std::vector< int > & | ir, | ||
std::vector< double > & | b ) |
Definition at line 754 of file Numerics.cc.
Referenced by deqinv().
void Garfield::Numerics::CERNLIB::dfinv | ( | const int | n, |
std::vector< std::vector< double > > & | a, | ||
std::vector< int > & | ir ) |
Definition at line 855 of file Numerics.cc.
int Garfield::Numerics::CERNLIB::dinv | ( | const int | n, |
std::vector< std::vector< double > > & | a ) |
Replace square matrix A by its inverse.
Definition at line 788 of file Numerics.cc.
Referenced by Garfield::Numerics::LeastSquaresFit().