General Purpose Geodetic Library
Sg3dMatrix.cpp File Reference
#include <Sg3dMatrix.h>

Go to the source code of this file.

Functions

Sg3dMatrix operator* (const Sg3dMatrix &M1, const Sg3dMatrix &M2)
 
Sg3dMatrix operator~ (const Sg3dMatrix &M1)
 

Variables

const Sg3dMatrix m3Zero (Sg3dVector(0.0, 0.0, 0.0), Sg3dVector(0.0, 0.0, 0.0), Sg3dVector(0.0, 0.0, 0.0))
 
const Sg3dMatrix m3E (Sg3dVector(1.0, 0.0, 0.0), Sg3dVector(0.0, 1.0, 0.0), Sg3dVector(0.0, 0.0, 1.0))
 

Function Documentation

◆ operator*()

Sg3dMatrix operator* ( const Sg3dMatrix M1,
const Sg3dMatrix M2 
)

Returns a product of two matrices.

Definition at line 58 of file Sg3dMatrix.cpp.

◆ operator~()

Sg3dMatrix operator~ ( const Sg3dMatrix M1)

Returns inverted matrix: A*~A=~A*A=1 (the original matrix does not change).

Definition at line 83 of file Sg3dMatrix.cpp.

Variable Documentation

◆ m3E

const Sg3dMatrix m3E(Sg3dVector(1.0, 0.0, 0.0), Sg3dVector(0.0, 1.0, 0.0), Sg3dVector(0.0, 0.0, 1.0)) ( Sg3dVector(1.0, 0.0, 0.0)  ,
Sg3dVector(0.0, 1.0, 0.0)  ,
Sg3dVector(0.0, 0.0, 1.0)   
)

◆ m3Zero

const Sg3dMatrix m3Zero(Sg3dVector(0.0, 0.0, 0.0), Sg3dVector(0.0, 0.0, 0.0), Sg3dVector(0.0, 0.0, 0.0)) ( Sg3dVector(0.0, 0.0, 0.0)  ,
Sg3dVector(0.0, 0.0, 0.0)  ,
Sg3dVector(0.0, 0.0, 0.0)   
)