ROOTPWA
|
#include <matrix.h>
Public Member Functions | |
matrix () | |
matrix (const int n, const int m) | |
matrix (const int n, const int m, T *p) | |
matrix (const matrix &M) | |
~matrix () | |
matrix & | operator= (const matrix &) |
T & | el (const int i, const int j) |
T & | element (const int i, const int j) |
const T & | el (const int i, const int j) const |
const T & | element (const int i, const int j) const |
matrix | operator*= (const double a) |
matrix | operator+= (const matrix &M) |
matrix | operator-= (const matrix &M) |
matrix | operator* (const matrix &M) const |
matrix | operator+ (const matrix &M) const |
matrix | operator- (const matrix &M) const |
threeVec | operator* (const threeVec &v) const |
fourVec | operator* (const fourVec &v) const |
matrix | operator* (const T &a) const |
matrix | conjugate () const |
matrix | transpose () const |
matrix | adjoint () const |
int | status () const |
void | setStatus (const int s) |
T | trace () const |
T | det () const |
matrix | LU () const |
matrix | inv () |
int | nrows () const |
int | ncols () const |
matrix | zero () |
const matrix & | print (std::ostream &os=std::cout) const |
matrix & | scan (std::istream &is=std::cin) |
Private Member Functions | |
void | _create (const int, const int) |
void | _destroy (void) |
void | _copy (const matrix &) |
matrix | _LU (int *, int *) const |
matrix | _lubksb (int *indx, matrix &b) |
Private Attributes | |
int | _nrows |
int | _ncols |
T * | _f |
int | _status |
Definition at line 510 of file matrix.h.
References matrix< T >::_ncols, and matrix< T >::_nrows.
Definition at line 460 of file matrix.h.
References matrix< T >::_f, matrix< T >::_ncols, matrix< T >::_nrows, and matrix< T >::status().
|
private |
Definition at line 148 of file matrix.h.
References matrix< T >::el(), i, mag(), matrix< T >::setStatus(), and TINY.
Definition at line 235 of file matrix.h.
References matrix< T >::el(), i, mag(), and matrix< T >::nrows().
Referenced by matrix< T >::inv().
Definition at line 320 of file matrix.h.
References matrix< T >::conjugate().
Definition at line 296 of file matrix.h.
References conj(), matrix< T >::el(), and i.
Referenced by matrix< T >::adjoint().
T matrix< T >::det | ( | ) | const |
Definition at line 122 of file matrix.h.
References d, matrix< T >::el(), and i.
Definition at line 425 of file matrix.h.
Referenced by matrix< T >::_LU(), matrix< T >::_lubksb(), AMP_M::AMP_M(), matrix< T >::conjugate(), matrix< T >::det(), integral::el(), matrix< std::complex< double > >::element(), TPWALikelihoodC::FdF(), TPWALikelihoodC::getIntCMatrix(), identityMatrix< T >::identityMatrix(), integral::integrate(), matrix< T >::inv(), TPWALikelihoodC::LoadAmplitudes(), matrix< T >::operator*(), matrix< T >::operator+(), matrix< T >::operator+=(), matrix< T >::operator-(), matrix< T >::operator-=(), and matrix< T >::transpose().
Definition at line 46 of file matrix.h.
Referenced by TPWALikelihood< complexT >::reorderIntegralMatrix().
Definition at line 266 of file matrix.h.
References matrix< T >::_lubksb(), d, matrix< T >::el(), i, matrix< T >::setStatus(), and matrix< T >::status().
Referenced by Tgamp::mirrorEvent(), and Tgamp::reflectEvent().
Definition at line 69 of file matrix.h.
Referenced by matrix< T >::_lubksb(), and TPWALikelihoodC::LoadAmplitudes().
Definition at line 390 of file matrix.h.
References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.
Definition at line 601 of file matrix.h.
References threeVec::el(), and i.
Definition at line 614 of file matrix.h.
References fourVec::el(), and i.
Definition at line 413 of file matrix.h.
References matrix< T >::el(), and i.
Definition at line 330 of file matrix.h.
References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.
Definition at line 343 of file matrix.h.
References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.
Definition at line 365 of file matrix.h.
References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.
Definition at line 378 of file matrix.h.
References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.
Definition at line 64 of file matrix.h.
Referenced by matrix< T >::_LU(), and matrix< T >::inv().
Definition at line 63 of file matrix.h.
Referenced by matrix< T >::_copy(), and matrix< T >::inv().
T matrix< T >::trace | ( | ) | const |
Definition at line 308 of file matrix.h.
References matrix< T >::el(), and i.
|
private |
Definition at line 80 of file matrix.h.
Referenced by matrix< T >::_copy().
Definition at line 79 of file matrix.h.
Referenced by matrix< T >::_copy(), matrix< T >::matrix(), matrix< std::complex< double > >::ncols(), matrix< T >::operator*(), matrix< T >::operator+(), matrix< T >::operator+=(), matrix< T >::operator-(), and matrix< T >::operator-=().
Definition at line 78 of file matrix.h.
Referenced by matrix< T >::_copy(), matrix< T >::matrix(), matrix< std::complex< double > >::nrows(), matrix< T >::operator*(), matrix< T >::operator+(), matrix< T >::operator+=(), matrix< T >::operator-(), and matrix< T >::operator-=().
Definition at line 81 of file matrix.h.
Referenced by matrix< std::complex< double > >::setStatus(), and matrix< std::complex< double > >::status().