ROOTPWA
Public Member Functions | List of all members
identityMatrix< T > Class Template Reference

#include <matrix.h>

Inheritance diagram for identityMatrix< T >:
matrix< T >

Public Member Functions

 identityMatrix (const int n)
 ~identityMatrix ()
T & el (const int i, const int j)
const T & el (const int i, const int j) const
T & element (const int i, const int j)
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
threeVec operator* (const threeVec &v) const
fourVec operator* (const fourVec &v) const
matrix operator* (const T &a) const
matrix operator+ (const matrix &M) const
matrix operator- (const matrix &M) const
matrix conjugate () const
matrix transpose () const
matrix adjoint () const
int status () const
void setStatus (const int s)
trace () const
det () const
matrix LU () const
matrix inv ()
int nrows () const
int ncols () const
matrix zero ()
const matrixprint (std::ostream &os=std::cout) const
matrixscan (std::istream &is=std::cin)

Detailed Description

template<typename T>
class identityMatrix< T >

Definition at line 93 of file matrix.h.

Constructor & Destructor Documentation

template<typename T >
identityMatrix< T >::identityMatrix ( const int  n)
inline

Definition at line 97 of file matrix.h.

References matrix< T >::el(), i, and n.

template<typename T >
identityMatrix< T >::~identityMatrix ( )
inline

Definition at line 103 of file matrix.h.

Member Function Documentation

template<typename T >
matrix< T > matrix< T >::adjoint ( ) const
inherited

Definition at line 320 of file matrix.h.

References matrix< T >::conjugate().

template<typename T >
matrix< T > matrix< T >::conjugate ( ) const
inherited

Definition at line 296 of file matrix.h.

References conj(), matrix< T >::el(), and i.

Referenced by matrix< T >::adjoint().

template<typename T >
T matrix< T >::det ( ) const
inherited

Definition at line 122 of file matrix.h.

References d, matrix< T >::el(), and i.

template<typename T >
T & matrix< T >::el ( const int  i,
const int  j 
)
inherited
template<typename T >
const T & matrix< T >::el ( const int  i,
const int  j 
) const
inherited

Definition at line 435 of file matrix.h.

template<typename T>
T& matrix< T >::element ( const int  i,
const int  j 
)
inlineinherited

Definition at line 46 of file matrix.h.

Referenced by TPWALikelihood< complexT >::reorderIntegralMatrix().

template<typename T>
const T& matrix< T >::element ( const int  i,
const int  j 
) const
inlineinherited

Definition at line 48 of file matrix.h.

template<typename T >
matrix< T > matrix< T >::inv ( )
inherited
template<typename T >
matrix< T > matrix< T >::LU ( ) const
inherited

Definition at line 221 of file matrix.h.

References d.

template<typename T>
int matrix< T >::ncols ( ) const
inlineinherited

Definition at line 70 of file matrix.h.

template<typename T>
int matrix< T >::nrows ( ) const
inlineinherited

Definition at line 69 of file matrix.h.

Referenced by matrix< T >::_lubksb(), and TPWALikelihoodC::LoadAmplitudes().

template<typename T >
matrix< T > matrix< T >::operator* ( const matrix< T > &  M) const
inherited

Definition at line 390 of file matrix.h.

References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.

template<typename T >
threeVec matrix< T >::operator* ( const threeVec v) const
inherited

Definition at line 601 of file matrix.h.

References threeVec::el(), and i.

template<typename T >
fourVec matrix< T >::operator* ( const fourVec v) const
inherited

Definition at line 614 of file matrix.h.

References fourVec::el(), and i.

template<typename T>
matrix< T > matrix< T >::operator* ( const T &  a) const
inherited

Definition at line 413 of file matrix.h.

References matrix< T >::el(), and i.

template<typename T >
matrix< T > matrix< T >::operator*= ( const double  a)
inherited

Definition at line 354 of file matrix.h.

References i.

template<typename T >
matrix< T > matrix< T >::operator+ ( const matrix< T > &  M) const
inherited

Definition at line 330 of file matrix.h.

References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.

template<typename T >
matrix< T > matrix< T >::operator+= ( const matrix< T > &  M)
inherited

Definition at line 343 of file matrix.h.

References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.

template<typename T >
matrix< T > matrix< T >::operator- ( const matrix< T > &  M) const
inherited

Definition at line 365 of file matrix.h.

References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.

template<typename T >
matrix< T > matrix< T >::operator-= ( const matrix< T > &  M)
inherited

Definition at line 378 of file matrix.h.

References matrix< T >::_ncols, matrix< T >::_nrows, matrix< T >::el(), and i.

template<typename T >
const matrix< T > & matrix< T >::print ( std::ostream &  os = std::cout) const
inherited

Definition at line 535 of file matrix.h.

References i.

Referenced by operator<<().

template<typename T >
matrix< T > & matrix< T >::scan ( std::istream &  is = std::cin)
inherited

Definition at line 554 of file matrix.h.

References i.

Referenced by operator>>().

template<typename T>
void matrix< T >::setStatus ( const int  s)
inlineinherited

Definition at line 64 of file matrix.h.

Referenced by matrix< T >::_LU(), and matrix< T >::inv().

template<typename T>
int matrix< T >::status ( ) const
inlineinherited

Definition at line 63 of file matrix.h.

Referenced by matrix< T >::_copy(), and matrix< T >::inv().

template<typename T >
T matrix< T >::trace ( ) const
inherited

Definition at line 110 of file matrix.h.

References i.

template<typename T >
matrix< T > matrix< T >::transpose ( ) const
inherited

Definition at line 308 of file matrix.h.

References matrix< T >::el(), and i.

template<typename T >
matrix< T > matrix< T >::zero ( )
inherited

Definition at line 592 of file matrix.h.


The documentation for this class was generated from the following file: