![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtMatrix () | |
| DtMatrix (int a, int b, bool init=true, int c=-1, int r=-1) | |
| DtMatrix (DtMatrix *matM, bool copy=false) | |
| double ** | Init (int a, int b, bool init, int c=-1, int r=-1) |
| double ** | Init (DtMatrix *matM, bool copy=false) |
| void | UnInit () |
| virtual | ~DtMatrix () |
| int | rows () |
| int | columns () |
| double | get (int i, int j) |
| bool | set (int i, int j, double val) |
| void | print (char *str) |
| void | setRows (int nR) |
| void | setColumns (int nC) |
| void | restoreRows () |
| void | restoreColumns () |
| void | identity (bool clear=false) |
| void | all (double val) |
| void | AXB (DtMatrix *myMatB, DtMatrix *result) |
| DtMatrix * | AXB (DtMatrix *myMatB) |
| DtMatrix * | AXBT (DtMatrix *myMatB) |
| bool | UXB (DtMatrix *myMatB) |
| bool | LXB (DtMatrix *myMatB) |
| DtMatrix * | UnMergeHorizontally (int c, DtMatrix *matR) |
| DtMatrix * | UnMergeVertically (int r, DtMatrix *myMatB) |
| DtMVector * | House (int rs, int nc) |
| DtMVector * | HouseT (int rs, int nc) |
| bool | RHouse (DtMVector *house, int rs, int cs) |
| bool | CHouse (DtMVector *house, int rs, int cs) |
| DtMatrix * | QR (DtMatrix *matQ=0) |
| DtMatrix * | LQ (DtMatrix *matQ=0) |
| DtMatrix * | SQRT (DtMatrix *matDiag) |
| DtMatrix * | LDU (DtMatrix *, DtMatrix *, DtMatrix *) |
| void | Scale (double s) |
| void | Accumulate (DtMatrix *myMatB, double s) |
| void | SetIndexes (int i, int j) |
| DtMVector * | LinProg (DtMVector *myMatB, DtMVector *max) |
| void | IntersectionInit () |
Public Attributes | |
| DtMatrix * | next |
| double ** | data |
Static Public Attributes | |
| static int | rstart |
| static int | cstart |
Protected Member Functions | |
| int | Status (DtMatrixFlag) |
Private Member Functions | |
| double ** | DataInit (int r, int c) |
Private Attributes | |
| int | myRows |
| int | myColumns |
| int | myMaxRows |
| int | myMaxColumns |
| double ** | myData |
| double ** | myVData |
| bool | myUsed |
| double ** | Data |
| double ** | Data_data |
Friends | |
| class | DtMVector |
| class | DtLinearSystem |
| DtMatrix * | DtMatrixMultiply (DtMatrix *m1, DtMatrix *m2, char *s=0, generic_mm_multflag f=TRANSPOSE_NONE) |
| DtMatrix * | DtMatrixMultiply (DtMatrix *m, DtMVector *v, char *s=0, generic_mm_multflag f=TRANSPOSE_NONE) |
| DtMatrix * | DtMatrixMergeVertically (DtMatrix *myMatT, DtMatrix *myMatB) |
| DtMatrix * | DtMatrixMergeHorizontallyWithTranspose (DtMatrix *matL, DtMatrix *matR) |
| DtMatrix * | DtMatrixMergeHorizontally (DtMatrix *matL, DtMatrix *matR) |
| DtMatrix * | DtMatrixScale (DtMatrix *m, double s) |
| bool | DtIntersectionUniqueSolution (const DtVector &loc1, const DtVector &loc2, const DtDcm &m1, const DtDcm &m2) |
| DtMatrix * | DtMAdd (DtMatrix *myMatA, DtMatrix *myMatB) |
| DtMatrix * | DtMSubtract (DtMatrix *myMatA, DtMatrix *myMatB) |
| DtMatrix * | DtMSum (DtMatrix *myMatA, DtMatrix *B, double s) |
| void | LinearSystem (DtMatrix *myMatA, DtMatrix *myMatB, DtMatrix *myMatC, DtMatrix *myMatD, DtMVector *myMatX, DtMVector *myMatU, DtMVector *myMatY) |
| DtMatrix::DtMatrix | ( | int | a, |
| int | b, | ||
| bool | init = true, |
||
| int | c = -1, |
||
| int | r = -1 |
||
| ) |
| DtMatrix::DtMatrix | ( | DtMatrix * | matM, |
| bool | copy = false |
||
| ) |
| virtual DtMatrix::~DtMatrix | ( | ) | [virtual] |
| double** DtMatrix::Init | ( | int | a, |
| int | b, | ||
| bool | init, | ||
| int | c = -1, |
||
| int | r = -1 |
||
| ) |
| double** DtMatrix::Init | ( | DtMatrix * | matM, |
| bool | copy = false |
||
| ) |
| void DtMatrix::UnInit | ( | ) |
| int DtMatrix::rows | ( | ) | [inline] |
| int DtMatrix::columns | ( | ) | [inline] |
| double DtMatrix::get | ( | int | i, |
| int | j | ||
| ) |
| bool DtMatrix::set | ( | int | i, |
| int | j, | ||
| double | val | ||
| ) |
| void DtMatrix::print | ( | char * | str | ) |
| void DtMatrix::setRows | ( | int | nR | ) | [inline] |
| void DtMatrix::setColumns | ( | int | nC | ) | [inline] |
| void DtMatrix::restoreRows | ( | ) | [inline] |
| void DtMatrix::restoreColumns | ( | ) | [inline] |
| void DtMatrix::identity | ( | bool | clear = false | ) |
| void DtMatrix::all | ( | double | val | ) |
| void DtMatrix::AXB | ( | DtMatrix * | myMatB, |
| DtMatrix * | result | ||
| ) |
| DtMatrix* DtMatrix::AXB | ( | DtMatrix * | myMatB | ) |
| DtMatrix* DtMatrix::AXBT | ( | DtMatrix * | myMatB | ) |
| bool DtMatrix::UXB | ( | DtMatrix * | myMatB | ) |
| bool DtMatrix::LXB | ( | DtMatrix * | myMatB | ) |
| DtMatrix* DtMatrix::UnMergeHorizontally | ( | int | c, |
| DtMatrix * | matR | ||
| ) |
| DtMatrix* DtMatrix::UnMergeVertically | ( | int | r, |
| DtMatrix * | myMatB | ||
| ) |
| DtMVector* DtMatrix::House | ( | int | rs, |
| int | nc | ||
| ) |
| DtMVector* DtMatrix::HouseT | ( | int | rs, |
| int | nc | ||
| ) |
| bool DtMatrix::RHouse | ( | DtMVector * | house, |
| int | rs, | ||
| int | cs | ||
| ) |
| bool DtMatrix::CHouse | ( | DtMVector * | house, |
| int | rs, | ||
| int | cs | ||
| ) |
| DtMatrix* DtMatrix::QR | ( | DtMatrix * | matQ = 0 | ) |
| DtMatrix* DtMatrix::LQ | ( | DtMatrix * | matQ = 0 | ) |
| DtMatrix* DtMatrix::SQRT | ( | DtMatrix * | matDiag | ) |
| DtMatrix* DtMatrix::LDU | ( | DtMatrix * | , |
| DtMatrix * | , | ||
| DtMatrix * | |||
| ) |
| void DtMatrix::Scale | ( | double | s | ) |
| void DtMatrix::Accumulate | ( | DtMatrix * | myMatB, |
| double | s | ||
| ) |
| void DtMatrix::SetIndexes | ( | int | i, |
| int | j | ||
| ) |
| DtMVector* DtMatrix::LinProg | ( | DtMVector * | myMatB, |
| DtMVector * | max | ||
| ) |
| void DtMatrix::IntersectionInit | ( | ) |
| int DtMatrix::Status | ( | DtMatrixFlag | ) | [protected] |
| double** DtMatrix::DataInit | ( | int | r, |
| int | c | ||
| ) | [private] |
friend class DtMVector [friend] |
friend class DtLinearSystem [friend] |
Reimplemented in DtMVector.
| DtMatrix* DtMatrixMultiply | ( | DtMatrix * | m1, |
| DtMatrix * | m2, | ||
| char * | s = 0, |
||
| generic_mm_multflag | f = TRANSPOSE_NONE |
||
| ) | [friend] |
| DtMatrix* DtMatrixMultiply | ( | DtMatrix * | m, |
| DtMVector * | v, | ||
| char * | s = 0, |
||
| generic_mm_multflag | f = TRANSPOSE_NONE |
||
| ) | [friend] |
Reimplemented in DtMVector.
| DtMatrix* DtMatrixMergeVertically | ( | DtMatrix * | myMatT, |
| DtMatrix * | myMatB | ||
| ) | [friend] |
| DtMatrix* DtMatrixMergeHorizontallyWithTranspose | ( | DtMatrix * | matL, |
| DtMatrix * | matR | ||
| ) | [friend] |
| DtMatrix* DtMatrixMergeHorizontally | ( | DtMatrix * | matL, |
| DtMatrix * | matR | ||
| ) | [friend] |
| DtMatrix* DtMatrixScale | ( | DtMatrix * | m, |
| double | s | ||
| ) | [friend] |
| bool DtIntersectionUniqueSolution | ( | const DtVector & | loc1, |
| const DtVector & | loc2, | ||
| const DtDcm & | m1, | ||
| const DtDcm & | m2 | ||
| ) | [friend] |
Reimplemented in DtMVector.
| DtMatrix* DtMSubtract | ( | DtMatrix * | myMatA, |
| DtMatrix * | myMatB | ||
| ) | [friend] |
| void LinearSystem | ( | DtMatrix * | myMatA, |
| DtMatrix * | myMatB, | ||
| DtMatrix * | myMatC, | ||
| DtMatrix * | myMatD, | ||
| DtMVector * | myMatX, | ||
| DtMVector * | myMatU, | ||
| DtMVector * | myMatY | ||
| ) | [friend] |
Reimplemented in DtMVector.
int DtMatrix::rstart [static] |
int DtMatrix::cstart [static] |
| double** DtMatrix::data |
int DtMatrix::myRows [private] |
int DtMatrix::myColumns [private] |
int DtMatrix::myMaxRows [private] |
int DtMatrix::myMaxColumns [private] |
double** DtMatrix::myData [private] |
double** DtMatrix::myVData [private] |
bool DtMatrix::myUsed [private] |
double** DtMatrix::Data [private] |
double** DtMatrix::Data_data [private] |