Garfield++ 4.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. | |
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 994 of file Numerics.cc.
Referenced by cinv().
void Garfield::Numerics::CERNLIB::cfinv | ( | const int | n, |
std::vector< std::vector< std::complex< double > > > & | a, | ||
std::vector< int > & | ir | ||
) |
Definition at line 1079 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 1134 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 909 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 593 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 668 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 753 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 854 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 787 of file Numerics.cc.
Referenced by Garfield::Numerics::LeastSquaresFit().