General Purpose Geodetic Library
Sg3dMatrix.h File Reference
#include <ostream>
#include <SgMathSupport.h>
#include <Sg3dVector.h>

Go to the source code of this file.

Classes

class  Sg3dMatrix
 

Functions

Sg3dMatrix operator- (const Sg3dMatrix &M1)
 
Sg3dMatrix operator+ (const Sg3dMatrix &M1, const Sg3dMatrix &M2)
 
Sg3dMatrix operator- (const Sg3dMatrix &M1, const Sg3dMatrix &M2)
 
Sg3dMatrix operator/ (const Sg3dMatrix &M1, double v2)
 
Sg3dMatrix operator* (double v1, const Sg3dMatrix &M2)
 
Sg3dMatrix operator* (const Sg3dMatrix &M1, double v2)
 
Sg3dVector operator* (const Sg3dMatrix &M, const Sg3dVector &V)
 
std::ostream & operator<< (std::ostream &s, const Sg3dMatrix &M)
 

Function Documentation

◆ operator*() [1/3]

Sg3dVector operator* ( const Sg3dMatrix M,
const Sg3dVector V 
)
inline

Returns a product of a matrix and a vector.

Definition at line 350 of file Sg3dMatrix.h.

◆ operator*() [2/3]

Sg3dMatrix operator* ( const Sg3dMatrix M1,
double  v2 
)
inline

Returns a product of a matrix and a scalar.

Definition at line 344 of file Sg3dMatrix.h.

◆ operator*() [3/3]

Sg3dMatrix operator* ( double  v1,
const Sg3dMatrix M2 
)
inline

Returns a product of a scalar and a matrix.

Definition at line 335 of file Sg3dMatrix.h.

◆ operator+()

Sg3dMatrix operator+ ( const Sg3dMatrix M1,
const Sg3dMatrix M2 
)
inline

Returns a sum of two matrices.

Definition at line 292 of file Sg3dMatrix.h.

◆ operator-() [1/2]

Sg3dMatrix operator- ( const Sg3dMatrix M1)
inline

Returns a matrix with inverted sign.

Definition at line 276 of file Sg3dMatrix.h.

◆ operator-() [2/2]

Sg3dMatrix operator- ( const Sg3dMatrix M1,
const Sg3dMatrix M2 
)
inline

Returns a difference of two matrices.

Definition at line 309 of file Sg3dMatrix.h.

◆ operator/()

Sg3dMatrix operator/ ( const Sg3dMatrix M1,
double  v2 
)
inline

Returns a matrix divided by scalar.

Definition at line 326 of file Sg3dMatrix.h.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const Sg3dMatrix M 
)
inline

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

Definition at line 358 of file Sg3dMatrix.h.