|
FEDRA emulsion software from the OPERA Collaboration
|
#include <VtSqMatrix.hh>


Public Member Functions | |
— Constructors — | |
| VtSqMatrix (const int row) | |
| VtSqMatrix (const VtSqMatrix &rhs) | |
| VtSqMatrix (const VtMatrix &rhs) | |
| virtual | ~VtSqMatrix () |
— Matrix operations — | |
| bool | VtDinv (int dim=0) |
| transform to inverse More... | |
| const VtSqMatrix | dinv (int dim=0) const |
| return inverse More... | |
| virtual double | det () const |
| return determinant More... | |
| virtual const VtMatrix | operator* (const VtMatrix &rhs) |
| const VtVector | operator* (const VtVector &rhs) const |
Public Member Functions inherited from MATRIX::VtMatrix | |
| VtMatrix (const unsigned int row, const unsigned int col) | |
| VtMatrix (const VtMatrix &rhs) | |
| virtual | ~VtMatrix () |
| unsigned int | nrow () const |
| no of rows $n$ More... | |
| unsigned int | ncol () const |
| no of columns $m$ More... | |
| int | size () const |
| $m\times n$ More... | |
| VtMatrix_row | operator[] (int row) |
| VtMatrix_row_const | operator[] (int row) const |
| virtual double | operator() (unsigned int row, unsigned int col) const |
| virtual double & | operator() (const unsigned int row, const unsigned int col) |
| double | get (unsigned int row, unsigned int col) const |
| double & | get (unsigned int row, unsigned int col) |
| void | VtT (void) |
| transform into transpose matrix More... | |
| const VtMatrix | T (void) const |
| return transpose More... | |
| virtual void | place_at (const VtMatrix &rhs, const unsigned int row, const unsigned int col) |
| copy a smaller matrix at a certain place More... | |
| virtual void | place_at (const VtVector &rhs, const unsigned int row, const unsigned int col) |
| copy a vector at a certain place More... | |
| void | copy (const VtMatrix &rhs) |
| to be used if matrix dimensions are not equal More... | |
| void | clear (void) |
| set matrix elements to 0 More... | |
| const VtMatrix & | operator= (const VtMatrix &rhs) |
| $\textbf{A} = \textbf{B}$ More... | |
| const VtMatrix & | operator= (const VtNegMatrix &rhs) |
| virtual const VtMatrix & | operator+= (const double rhs) |
| $\textbf{A} = (a_{\mu\nu} + \alpha)$ More... | |
| virtual const VtMatrix & | operator-= (const double rhs) |
| $\textbf{A} = (a_{\mu\nu} - \alpha)$ More... | |
| virtual const VtMatrix & | operator*= (const double rhs) |
| $\textbf{A} = (a_{\mu\nu} \cdot\alpha)$ More... | |
| virtual const VtMatrix & | operator/= (const double rhs) |
| $\textbf{A} = (a_{\mu\nu} / \alpha)$ More... | |
| const VtMatrix & | operator+= (const VtMatrix &rhs) |
| $\textbf{A} = (a_{\mu\nu} + b_{\mu\nu})$ More... | |
| const VtMatrix & | operator-= (const VtMatrix &rhs) |
| $\textbf{A} = (a_{\mu\nu} - b_{\mu\nu})$ More... | |
| const VtMatrix | operator+ (const VtMatrix &rhs) const |
| $\textbf{A} + \textbf{B}$ More... | |
| const VtMatrix | operator+ (const VtNegMatrix &rhs) const |
| const VtMatrix | operator- (const VtMatrix &rhs) const |
| $\textbf{A} - \textbf{B}$ More... | |
| const VtMatrix | operator- (const VtNegMatrix &rhs) const |
| const VtNegMatrix | operator- (void) const |
| $-\textbf{A}$ More... | |
| const VtMatrix | operator* (const VtMatrix &rhs) const |
| $\textbf{A}\cdot\textbf{B} = \sum_{\nu=1}^n a_{\mu\nu}b_{\nu\lambda}$ More... | |
| const VtVector | operator* (const VtVector &rhs) const |
| $\textbf{A}\cdot\vec{v} = (\sum_{\nu=1}^n a_{\mu\nu}v_{\nu})$ More... | |
| double * | array () const |
| return pointer to internal array More... | |
| virtual void | print (std::ostream &os) const |
Additional Inherited Members | |
Protected Attributes inherited from MATRIX::VtMatrix | |
| double * | m |
| double * | work |
| unsigned int | m_nrow |
| unsigned int | m_ncol |
Class for quadratic matrices
|
inline |
|
inline |
|
inline |
|
virtual |
return determinant
Reimplemented in MATRIX::VtSymMatrix.
| const VtSqMatrix MATRIX::VtSqMatrix::dinv | ( | int | dim = 0 | ) | const |
return inverse
| bool MATRIX::VtSqMatrix::VtDinv | ( | int | dim = 0 | ) |
transform to inverse