General Purpose Geodetic Library
|
#include <math.h>
#include <stdio.h>
#include <iostream>
#include <SgMathSupport.h>
#include <SgVector.h>
Go to the source code of this file.
Classes | |
class | SgMatrix |
Functions | |
SgMatrix | operator- (const SgMatrix &M) |
SgMatrix | operator/ (const SgMatrix &M, double d) |
SgMatrix | operator* (const SgMatrix &M, double d) |
SgMatrix | operator* (double d, const SgMatrix &M) |
SgMatrix | operator+ (const SgMatrix &M1, const SgMatrix &M2) |
SgMatrix | operator- (const SgMatrix &M1, const SgMatrix &M2) |
std::ostream & | operator<< (std::ostream &s, const SgMatrix &M) |
Returns a matrix multiplied by a scalar.
M | – a matrix; |
d | – a scale. |
Definition at line 559 of file SgMatrix.h.
Returns a natrix multiplied by a scalar.
d | – a scale. |
M | – a matrix; |
Definition at line 567 of file SgMatrix.h.
Returns a sum of two matrices.
M1 | is a first term, |
M2 | is a second term in the sum. |
Definition at line 575 of file SgMatrix.h.
Returns a matrix with an inverted sign.
M | – an original matrix. |
Definition at line 543 of file SgMatrix.h.
Returns a difference of two matrices.
M1 | is a first term, |
M2 | is a second term in the sum. |
Definition at line 583 of file SgMatrix.h.
Returns a matrix divided by a scalar.
M | – a matrix; |
d | – a divider; |
Definition at line 551 of file SgMatrix.h.
std::ostream& operator<< | ( | std::ostream & | s, |
const SgMatrix & | M | ||
) |
Makes output to std::ostream, a standard text formatted output.
s | – a stream; |
M | – a matrix. |
Definition at line 228 of file SgMatrix.cpp.
References SgMatrix::getElement(), SgMatrix::nCol(), and SgMatrix::nRow().