General Purpose Geodetic Library
SgSymMatrix.h File Reference
#include <SgUtMatrix.h>

Go to the source code of this file.

Classes

class  SgSymMatrix
 

Functions

SgSymMatrix operator* (const SgSymMatrix &P, double d)
 
SgSymMatrix operator* (double d, const SgSymMatrix &P)
 
SgSymMatrix operator/ (const SgSymMatrix &P, double d)
 
SgSymMatrix operator- (const SgSymMatrix &P)
 
SgSymMatrix operator+ (const SgSymMatrix &P1, const SgSymMatrix &P2)
 
SgSymMatrix operator- (const SgSymMatrix &P1, const SgSymMatrix &P2)
 
SgSymMatrix operator~ (const SgSymMatrix &P)
 
std::ostream & operator<< (std::ostream &s, const SgSymMatrix &P)
 

Function Documentation

◆ operator*() [1/2]

SgSymMatrix operator* ( const SgSymMatrix P,
double  d 
)
inline

Returns a matrix multiplied by a scalar.

Parameters
P– a matrix;
d– a scale.

Definition at line 373 of file SgSymMatrix.h.

◆ operator*() [2/2]

SgSymMatrix operator* ( double  d,
const SgSymMatrix P 
)
inline

Returns a natrix multiplied by a scalar.

Parameters
d– a scale.
P– a matrix;

Definition at line 381 of file SgSymMatrix.h.

◆ operator+()

SgSymMatrix operator+ ( const SgSymMatrix P1,
const SgSymMatrix P2 
)
inline

Returns a sum of two matrices.

Parameters
P1is a first term,
P2is a second term in the sum.

Definition at line 405 of file SgSymMatrix.h.

◆ operator-() [1/2]

SgSymMatrix operator- ( const SgSymMatrix P)
inline

Returns a matrix with an inverted sign.

Parameters
P– an original matrix.

Definition at line 397 of file SgSymMatrix.h.

◆ operator-() [2/2]

SgSymMatrix operator- ( const SgSymMatrix P1,
const SgSymMatrix P2 
)
inline

Returns a difference of two matrices.

Parameters
P1is a first term,
P2is a second term in the sum.

Definition at line 413 of file SgSymMatrix.h.

◆ operator/()

SgSymMatrix operator/ ( const SgSymMatrix P,
double  d 
)
inline

Returns a matrix divided by a scalar.

Parameters
P– a matrix;
d– a divider;

Definition at line 389 of file SgSymMatrix.h.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const SgSymMatrix P 
)

Makes output to std::ostream, standard text formatted output.

Parameters
s– a stream;
P– a matrix.

Definition at line 116 of file SgSymMatrix.cpp.

References SgSymMatrix::getElement(), SgMatrix::nCol(), and SgMatrix::nRow().

◆ operator~()

SgSymMatrix operator~ ( const SgSymMatrix P)
inline

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 421 of file SgSymMatrix.h.