General Purpose Geodetic Library
|
Go to the source code of this file.
Functions | |
SgVector | operator* (const SgUtMatrix &R, const SgVector &V) |
SgUtMatrix | operator~ (const SgUtMatrix &R) |
SgMatrix | calcProduct_mat_x_mat (const SgUtMatrix &R1, const SgMatrix &M2) |
SgVector & | solveEquation (const SgUtMatrix &R, SgVector &x, const SgVector &z) |
std::ostream & | operator<< (std::ostream &s, const SgUtMatrix &R) |
SgMatrix calcProduct_mat_x_mat | ( | const SgUtMatrix & | R1, |
const SgMatrix & | M2 | ||
) |
Definition at line 124 of file SgUtMatrix.cpp.
SgVector operator* | ( | const SgUtMatrix & | R, |
const SgVector & | V | ||
) |
Makes a product of a matrix and a vector.
R | – a matrix; |
V | – a vector. |
Definition at line 69 of file SgUtMatrix.cpp.
std::ostream& operator<< | ( | std::ostream & | s, |
const SgUtMatrix & | R | ||
) |
Makes output to std::ostream, a standard text formatted output.
s | – a stream; |
R | – a matrix. |
Definition at line 205 of file SgUtMatrix.cpp.
References SgUtMatrix::getElement(), SgMatrix::nCol(), and SgMatrix::nRow().
SgUtMatrix operator~ | ( | const SgUtMatrix & | R | ) |
Returns inversed matrix. This is time consumed operation, shouldn't use in ordinary operations. R*~R == ~R*R == E (original matrix doesn't change)..
Definition at line 90 of file SgUtMatrix.cpp.
SgVector& solveEquation | ( | const SgUtMatrix & | R, |
SgVector & | x, | ||
const SgVector & | z | ||
) |
Returns a vector x that is satisfies an equation system Rx=z.
R | – a matrix, input; |
x | – a vector, output. |
z | – a vector, input; |
Definition at line 166 of file SgUtMatrix.cpp.
References SgVector::getElement(), SgUtMatrix::getElement(), SgVector::n(), and SgMatrix::nRow().