CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <DiagMatrix.h>
Classes | |
class | HepDiagMatrix_row |
class | HepDiagMatrix_row_const |
Public Member Functions | |
HepDiagMatrix () | |
HepDiagMatrix (int p) | |
HepDiagMatrix (int p, int) | |
HepDiagMatrix (int p, HepRandom &r) | |
HepDiagMatrix (const HepDiagMatrix &hm1) | |
virtual | ~HepDiagMatrix () |
int | num_row () const |
int | num_col () const |
double & | operator() (int row, int col) |
const double & | operator() (int row, int col) const |
double & | fast (int row, int col) |
const double & | fast (int row, int col) const |
void | assign (const HepMatrix &hm2) |
void | assign (const HepSymMatrix &hm2) |
void | assign (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator*= (double t) |
HepDiagMatrix & | operator/= (double t) |
HepDiagMatrix & | operator+= (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator-= (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator= (const HepDiagMatrix &hm2) |
HepDiagMatrix | operator- () const |
HepDiagMatrix | T () const |
HepDiagMatrix | apply (double(*f)(double, int, int)) const |
HepSymMatrix | similarity (const HepMatrix &hm1) const |
HepSymMatrix | similarityT (const HepMatrix &hm1) const |
double | similarity (const HepVector &) const |
HepDiagMatrix | sub (int min_row, int max_row) const |
HepDiagMatrix | sub (int min_row, int max_row) |
void | sub (int row, const HepDiagMatrix &hm1) |
HepDiagMatrix | inverse (int &ierr) const |
void | invert (int &ierr) |
void | invert () |
HepDiagMatrix | inverse () const |
double | determinant () const |
double | trace () const |
HepDiagMatrix_row | operator[] (int) |
HepDiagMatrix_row_const | operator[] (int) const |
HepDiagMatrix () | |
HepDiagMatrix (int p) | |
HepDiagMatrix (int p, int) | |
HepDiagMatrix (int p, HepRandom &r) | |
HepDiagMatrix (const HepDiagMatrix &hm1) | |
virtual | ~HepDiagMatrix () |
int | num_row () const |
int | num_col () const |
double & | operator() (int row, int col) |
const double & | operator() (int row, int col) const |
double & | fast (int row, int col) |
const double & | fast (int row, int col) const |
void | assign (const HepMatrix &hm2) |
void | assign (const HepSymMatrix &hm2) |
void | assign (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator*= (double t) |
HepDiagMatrix & | operator/= (double t) |
HepDiagMatrix & | operator+= (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator-= (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator= (const HepDiagMatrix &hm2) |
HepDiagMatrix | operator- () const |
HepDiagMatrix | T () const |
HepDiagMatrix | apply (double(*f)(double, int, int)) const |
HepSymMatrix | similarity (const HepMatrix &hm1) const |
HepSymMatrix | similarityT (const HepMatrix &hm1) const |
double | similarity (const HepVector &) const |
HepDiagMatrix | sub (int min_row, int max_row) const |
HepDiagMatrix | sub (int min_row, int max_row) |
void | sub (int row, const HepDiagMatrix &hm1) |
HepDiagMatrix | inverse (int &ierr) const |
void | invert (int &ierr) |
void | invert () |
HepDiagMatrix | inverse () const |
double | determinant () const |
double | trace () const |
HepDiagMatrix_row | operator[] (int) |
HepDiagMatrix_row_const | operator[] (int) const |
HepDiagMatrix () | |
HepDiagMatrix (int p) | |
HepDiagMatrix (int p, int) | |
HepDiagMatrix (int p, HepRandom &r) | |
HepDiagMatrix (const HepDiagMatrix &hm1) | |
virtual | ~HepDiagMatrix () |
int | num_row () const |
int | num_col () const |
double & | operator() (int row, int col) |
const double & | operator() (int row, int col) const |
double & | fast (int row, int col) |
const double & | fast (int row, int col) const |
void | assign (const HepMatrix &hm2) |
void | assign (const HepSymMatrix &hm2) |
void | assign (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator*= (double t) |
HepDiagMatrix & | operator/= (double t) |
HepDiagMatrix & | operator+= (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator-= (const HepDiagMatrix &hm2) |
HepDiagMatrix & | operator= (const HepDiagMatrix &hm2) |
HepDiagMatrix | operator- () const |
HepDiagMatrix | T () const |
HepDiagMatrix | apply (double(*f)(double, int, int)) const |
HepSymMatrix | similarity (const HepMatrix &hm1) const |
HepSymMatrix | similarityT (const HepMatrix &hm1) const |
double | similarity (const HepVector &) const |
HepDiagMatrix | sub (int min_row, int max_row) const |
HepDiagMatrix | sub (int min_row, int max_row) |
void | sub (int row, const HepDiagMatrix &hm1) |
HepDiagMatrix | inverse (int &ierr) const |
void | invert (int &ierr) |
void | invert () |
HepDiagMatrix | inverse () const |
double | determinant () const |
double | trace () const |
HepDiagMatrix_row | operator[] (int) |
HepDiagMatrix_row_const | operator[] (int) const |
![]() | |
virtual | ~HepGenMatrix () |
virtual int | num_row () const =0 |
virtual int | num_col () const =0 |
virtual const double & | operator() (int row, int col) const =0 |
virtual double & | operator() (int row, int col)=0 |
virtual void | invert (int &)=0 |
HepGenMatrix_row | operator[] (int) |
const HepGenMatrix_row_const | operator[] (int) const |
virtual bool | operator== (const HepGenMatrix &) const |
virtual | ~HepGenMatrix () |
virtual int | num_row () const =0 |
virtual int | num_col () const =0 |
virtual const double & | operator() (int row, int col) const =0 |
virtual double & | operator() (int row, int col)=0 |
virtual void | invert (int &)=0 |
HepGenMatrix_row | operator[] (int) |
const HepGenMatrix_row_const | operator[] (int) const |
virtual bool | operator== (const HepGenMatrix &) const |
virtual | ~HepGenMatrix () |
virtual int | num_row () const =0 |
virtual int | num_col () const =0 |
virtual const double & | operator() (int row, int col) const =0 |
virtual double & | operator() (int row, int col)=0 |
virtual void | invert (int &)=0 |
HepGenMatrix_row | operator[] (int) |
const HepGenMatrix_row_const | operator[] (int) const |
virtual bool | operator== (const HepGenMatrix &) const |
Protected Member Functions | |
int | num_size () const |
int | num_size () const |
int | num_size () const |
![]() | |
virtual int | num_size () const =0 |
void | delete_m (int size, double *) |
double * | new_m (int size) |
virtual int | num_size () const =0 |
void | delete_m (int size, double *) |
double * | new_m (int size) |
virtual int | num_size () const =0 |
void | delete_m (int size, double *) |
double * | new_m (int size) |
Additional Inherited Members | |
![]() | |
enum | { size_max = 25 } |
enum | { size_max = 25 } |
enum | { size_max = 25 } |
typedef std::vector< double, Alloc< double, 25 > >::iterator | mIter |
typedef std::vector< double, Alloc< double, 25 > >::const_iterator | mcIter |
typedef std::vector< double, Alloc< double, 25 > >::iterator | mIter |
typedef std::vector< double, Alloc< double, 25 > >::const_iterator | mcIter |
typedef std::vector< double, Alloc< double, 25 > >::iterator | mIter |
typedef std::vector< double, Alloc< double, 25 > >::const_iterator | mcIter |
![]() | |
static void | swap (int &, int &) |
static void | swap (std::vector< double, Alloc< double, 25 > > &, std::vector< double, Alloc< double, 25 > > &) |
static void | error (const char *s) |
static void | swap (int &, int &) |
static void | swap (std::vector< double, Alloc< double, 25 > > &, std::vector< double, Alloc< double, 25 > > &) |
static void | error (const char *s) |
static void | swap (int &, int &) |
static void | swap (std::vector< double, Alloc< double, 25 > > &, std::vector< double, Alloc< double, 25 > > &) |
static void | error (const char *s) |
Definition at line 39 of file Matrix/CLHEP/Matrix/DiagMatrix.h.
|
inline |
|
explicit |
Definition at line 70 of file DiagMatrix.cc.
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
int | init | ||
) |
Definition at line 75 of file DiagMatrix.cc.
References a, b, CLHEP::HepGenMatrix::error(), and init().
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
HepRandom & | r | ||
) |
Definition at line 96 of file DiagMatrix.cc.
References a, b, and num_size().
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | const HepDiagMatrix & | hm1 | ) |
Definition at line 109 of file DiagMatrix.cc.
|
virtual |
Definition at line 106 of file DiagMatrix.cc.
|
inline |
|
explicit |
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
int | |||
) |
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
HepRandom & | r | ||
) |
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | const HepDiagMatrix & | hm1 | ) |
|
virtual |
|
inline |
|
explicit |
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
int | |||
) |
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
HepRandom & | r | ||
) |
CLHEP::HepDiagMatrix::HepDiagMatrix | ( | const HepDiagMatrix & | hm1 | ) |
|
virtual |
HepDiagMatrix CLHEP::HepDiagMatrix::apply | ( | double(*)(double, int, int) | f | ) | const |
Definition at line 584 of file DiagMatrix.cc.
HepDiagMatrix CLHEP::HepDiagMatrix::apply | ( | double(*)(double, int, int) | f | ) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::apply | ( | double(*)(double, int, int) | f | ) | const |
void CLHEP::HepDiagMatrix::assign | ( | const HepDiagMatrix & | hm2 | ) |
void CLHEP::HepDiagMatrix::assign | ( | const HepDiagMatrix & | hm2 | ) |
void CLHEP::HepDiagMatrix::assign | ( | const HepDiagMatrix & | hm2 | ) |
void CLHEP::HepDiagMatrix::assign | ( | const HepMatrix & | hm2 | ) |
Definition at line 601 of file DiagMatrix.cc.
References a, b, and CLHEP::HepMatrix::num_row().
void CLHEP::HepDiagMatrix::assign | ( | const HepMatrix & | hm2 | ) |
void CLHEP::HepDiagMatrix::assign | ( | const HepMatrix & | hm2 | ) |
void CLHEP::HepDiagMatrix::assign | ( | const HepSymMatrix & | hm2 | ) |
Definition at line 616 of file DiagMatrix.cc.
References a, b, and CLHEP::HepSymMatrix::num_row().
void CLHEP::HepDiagMatrix::assign | ( | const HepSymMatrix & | hm2 | ) |
void CLHEP::HepDiagMatrix::assign | ( | const HepSymMatrix & | hm2 | ) |
double CLHEP::HepDiagMatrix::determinant | ( | ) | const |
Definition at line 714 of file DiagMatrix.cc.
double CLHEP::HepDiagMatrix::determinant | ( | ) | const |
double CLHEP::HepDiagMatrix::determinant | ( | ) | const |
double & CLHEP::HepDiagMatrix::fast | ( | int | row, |
int | col | ||
) |
double & CLHEP::HepDiagMatrix::fast | ( | int | row, |
int | col | ||
) |
double & CLHEP::HepDiagMatrix::fast | ( | int | row, |
int | col | ||
) |
const double & CLHEP::HepDiagMatrix::fast | ( | int | row, |
int | col | ||
) | const |
const double & CLHEP::HepDiagMatrix::fast | ( | int | row, |
int | col | ||
) | const |
const double & CLHEP::HepDiagMatrix::fast | ( | int | row, |
int | col | ||
) | const |
|
inline |
|
inline |
|
inline |
HepDiagMatrix CLHEP::HepDiagMatrix::inverse | ( | int & | ierr | ) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::inverse | ( | int & | ierr | ) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::inverse | ( | int & | ierr | ) | const |
|
inline |
|
inline |
|
inline |
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 698 of file DiagMatrix.cc.
References CLHEP::detail::n, and num_row().
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
inlinevirtual |
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
|
inlinevirtual |
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
|
inlineprotectedvirtual |
Implements CLHEP::HepGenMatrix.
Referenced by HepDiagMatrix().
|
inlineprotectedvirtual |
Implements CLHEP::HepGenMatrix.
|
inlineprotectedvirtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
HepDiagMatrix & CLHEP::HepDiagMatrix::operator*= | ( | double | t | ) |
Definition at line 524 of file DiagMatrix.cc.
References SIMPLE_UOP.
HepDiagMatrix & CLHEP::HepDiagMatrix::operator*= | ( | double | t | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator*= | ( | double | t | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator+= | ( | const HepDiagMatrix & | hm2 | ) |
Definition at line 479 of file DiagMatrix.cc.
References CHK_DIM_2, num_col(), num_row(), and SIMPLE_BOP.
HepDiagMatrix & CLHEP::HepDiagMatrix::operator+= | ( | const HepDiagMatrix & | hm2 | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator+= | ( | const HepDiagMatrix & | hm2 | ) |
HepDiagMatrix CLHEP::HepDiagMatrix::operator- | ( | ) | const |
Definition at line 179 of file DiagMatrix.cc.
HepDiagMatrix CLHEP::HepDiagMatrix::operator- | ( | ) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::operator- | ( | ) | const |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator-= | ( | const HepDiagMatrix & | hm2 | ) |
Definition at line 511 of file DiagMatrix.cc.
References CHK_DIM_2, num_col(), num_row(), and SIMPLE_BOP.
HepDiagMatrix & CLHEP::HepDiagMatrix::operator-= | ( | const HepDiagMatrix & | hm2 | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator-= | ( | const HepDiagMatrix & | hm2 | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator/= | ( | double | t | ) |
Definition at line 518 of file DiagMatrix.cc.
References SIMPLE_UOP.
HepDiagMatrix & CLHEP::HepDiagMatrix::operator/= | ( | double | t | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator/= | ( | double | t | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator= | ( | const HepDiagMatrix & | hm2 | ) |
Definition at line 550 of file DiagMatrix.cc.
HepDiagMatrix & CLHEP::HepDiagMatrix::operator= | ( | const HepDiagMatrix & | hm2 | ) |
HepDiagMatrix & CLHEP::HepDiagMatrix::operator= | ( | const HepDiagMatrix & | hm2 | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
HepSymMatrix CLHEP::HepDiagMatrix::similarity | ( | const HepMatrix & | hm1 | ) | const |
Definition at line 631 of file DiagMatrix.cc.
Referenced by similarity().
HepSymMatrix CLHEP::HepDiagMatrix::similarity | ( | const HepMatrix & | hm1 | ) | const |
HepSymMatrix CLHEP::HepDiagMatrix::similarity | ( | const HepMatrix & | hm1 | ) | const |
Definition at line 659 of file DiagMatrix.cc.
References CHK_DIM_1, num_row(), CLHEP::HepVector::num_row(), and similarity().
HepSymMatrix CLHEP::HepDiagMatrix::similarityT | ( | const HepMatrix & | hm1 | ) | const |
Definition at line 674 of file DiagMatrix.cc.
HepSymMatrix CLHEP::HepDiagMatrix::similarityT | ( | const HepMatrix & | hm1 | ) | const |
HepSymMatrix CLHEP::HepDiagMatrix::similarityT | ( | const HepMatrix & | hm1 | ) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
int | max_row | ||
) |
Definition at line 138 of file DiagMatrix.cc.
References a, b, CLHEP::HepGenMatrix::error(), and num_row().
HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
int | max_row | ||
) |
HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
int | max_row | ||
) |
HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
int | max_row | ||
) | const |
Definition at line 121 of file DiagMatrix.cc.
HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
int | max_row | ||
) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
int | max_row | ||
) | const |
void CLHEP::HepDiagMatrix::sub | ( | int | row, |
const HepDiagMatrix & | hm1 | ||
) |
Definition at line 150 of file DiagMatrix.cc.
References a, b, CLHEP::HepGenMatrix::error(), and num_row().
void CLHEP::HepDiagMatrix::sub | ( | int | row, |
const HepDiagMatrix & | hm1 | ||
) |
void CLHEP::HepDiagMatrix::sub | ( | int | row, |
const HepDiagMatrix & | hm1 | ||
) |
HepDiagMatrix CLHEP::HepDiagMatrix::T | ( | ) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::T | ( | ) | const |
HepDiagMatrix CLHEP::HepDiagMatrix::T | ( | ) | const |
double CLHEP::HepDiagMatrix::trace | ( | ) | const |
Definition at line 722 of file DiagMatrix.cc.
double CLHEP::HepDiagMatrix::trace | ( | ) | const |
double CLHEP::HepDiagMatrix::trace | ( | ) | const |
|
friend |
Definition at line 174 of file Matrix/CLHEP/Matrix/DiagMatrix.h.
|
friend |
Definition at line 175 of file Matrix/CLHEP/Matrix/DiagMatrix.h.
|
friend |
Definition at line 176 of file Matrix/CLHEP/Matrix/DiagMatrix.h.
|
friend |
Definition at line 177 of file Matrix/CLHEP/Matrix/DiagMatrix.h.
|
friend |
Definition at line 416 of file DiagMatrix.cc.
|
friend |
Definition at line 416 of file DiagMatrix.cc.
|
friend |
Definition at line 416 of file DiagMatrix.cc.
|
friend |
Definition at line 395 of file DiagMatrix.cc.
|
friend |
Definition at line 395 of file DiagMatrix.cc.
|
friend |
Definition at line 395 of file DiagMatrix.cc.
|
friend |
Definition at line 433 of file DiagMatrix.cc.
|
friend |
Definition at line 433 of file DiagMatrix.cc.
|
friend |
Definition at line 433 of file DiagMatrix.cc.
|
friend |
Definition at line 375 of file DiagMatrix.cc.
|
friend |
Definition at line 375 of file DiagMatrix.cc.
|
friend |
Definition at line 375 of file DiagMatrix.cc.
|
friend |
Definition at line 224 of file DiagMatrix.cc.
|
friend |
Definition at line 224 of file DiagMatrix.cc.
|
friend |
Definition at line 224 of file DiagMatrix.cc.
|
friend |
Definition at line 294 of file DiagMatrix.cc.
|
friend |
Definition at line 294 of file DiagMatrix.cc.
|
friend |
Definition at line 294 of file DiagMatrix.cc.