Scalar / Vector / Matrix. More...
#include <PaMtx.h>
Public Member Functions | |
| PaMtx () | |
| 1x1 matrix constructor (scalar) | |
| PaMtx (int m) | |
| Mx1 matrix (vector) constructor. | |
| PaMtx (int m, int n) | |
| MxN matrix constructor. | |
| PaMtx (const PaMtx &) | |
| copy constructor | |
| ~PaMtx () | |
| destructor | |
| void | Print (string comment) const |
| Print matrix. | |
| PaMtx | t () |
| Transpose matrix. | |
| PaMtx | invs (int &ierr) |
| Invert symmetric matrix. | |
| PaMtx | i5 (int &ierr) |
| Invert 5x5 matrix. | |
| PaMtx | i (int &ierr) |
| Invert matrix. | |
| PaMtx & | operator= (const PaMtx &) |
| "=" operation | |
| PaMtx | operator* (const PaMtx &) |
| "*" operation | |
| PaMtx | operator+ (const PaMtx &) |
| "+" operation | |
| PaMtx | operator- (const PaMtx &) |
| "-" operation | |
| PaMtx & | operator+= (const PaMtx &) |
| "+=" operation | |
| PaMtx & | operator*= (const double &) |
| "*=" operation | |
| double & | operator() (const int i, const int j=1) const |
| accessor to i,j element | |
| operator double () | |
| conversion 1x1 matrix to double | |
Scalar / Vector / Matrix.
Matrix class. Valid also for scalars (like 1x1 matrix) and vectors (like Mx1 matrix). (mostly is used in Kalman fit)
| void PaMtx::Print | ( | string | str | ) | const |
1.6.2