Definition in file MatrixOperators.hpp.
#include <limits>
#include "MiscMath.hpp"
#include "MatrixFunctors.hpp"
Include dependency graph for MatrixOperators.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | gpstk |
Functions | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator && (const ConstMatrixBase< T, BaseClass1 > &l, const ConstMatrixBase< T, BaseClass2 > &r) throw (MatrixException) |
| Returns the top to bottom concatenation of Matrices l and r only if they have the same number of columns. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator && (const ConstMatrixBase< T, BaseClass1 > &t, const ConstVectorBase< T, BaseClass2 > &b) throw (MatrixException) |
| Returns the top to bottom concatenation of Matrix t and Vector b only if they have the same number of columns. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator && (const ConstVectorBase< T, BaseClass1 > &t, const ConstMatrixBase< T, BaseClass2 > &b) throw (MatrixException) |
| Returns the top to bottom concatenation of Vector t and Matrix b only if they have the same number of columns. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator|| (const ConstMatrixBase< T, BaseClass1 > &l, const ConstMatrixBase< T, BaseClass2 > &r) throw (MatrixException) |
| Returns the left to right concatenation of l and r only if they have the same number of rows. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator|| (const ConstMatrixBase< T, BaseClass1 > &l, const ConstVectorBase< T, BaseClass2 > &r) throw (MatrixException) |
| Returns the left to right concatenation of Matrix l and Vector r only if they have the same number of rows. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator|| (const ConstVectorBase< T, BaseClass1 > &l, const ConstMatrixBase< T, BaseClass2 > &r) throw (MatrixException) |
| Returns the left to right concatenation of Vector l and Matrix r only if they have the same number of rows. | |
| template<class T, class BaseClass> | |
| Matrix< T > | minorMatrix (const ConstMatrixBase< T, BaseClass > &l, size_t row, size_t col) throw (MatrixException) |
| Returns the minor matrix of l at element (row, col). | |
| template<class T, class BaseClass> | |
| Matrix< T > | transpose (const ConstMatrixBase< T, BaseClass > &m) |
Returns a matrix that is m transposed. | |
| template<class T, class BaseClass> | |
| T | det (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Uses an LU Decomposition to calculate the determinate of m. | |
| template<class T, class BaseClass> | |
| T | condNum (const ConstMatrixBase< T, BaseClass > &m, T &big, T &small) throw () |
| returns the condition number of the matrix | |
| template<class T, class BaseClass> | |
| T | condNum (const ConstMatrixBase< T, BaseClass > &m) throw () |
| returns the condition number of the matrix, doesnt require big or small.. | |
| template<class T> | |
| Matrix< T > | ident (size_t dim) throw (MatrixException) |
Returns a new dim * dim matrix that's an identity matrix. | |
| template<class T, class BaseClass> | |
| Matrix< T > | diag (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
Returns the diagonal matrix of m . | |
| template<class T, class BaseClass> | |
| Matrix< T > | blkdiag (const ConstMatrixBase< T, BaseClass > &m1, const ConstMatrixBase< T, BaseClass > &m2) throw (MatrixException) |
| Block diagonal concatenation of matrix input. | |
| template<class T, class BaseClass> | |
| Matrix< T > | blkdiag (const ConstMatrixBase< T, BaseClass > &m1, const ConstMatrixBase< T, BaseClass > &m2, const ConstMatrixBase< T, BaseClass > &m3) throw (MatrixException) |
| template<class T, class BaseClass> | |
| Matrix< T > | blkdiag (const ConstMatrixBase< T, BaseClass > &m1, const ConstMatrixBase< T, BaseClass > &m2, const ConstMatrixBase< T, BaseClass > &m3, const ConstMatrixBase< T, BaseClass > &m4) throw (MatrixException) |
| template<class T> | |
| Matrix< T > | rotation (T angle, int axis) throw (MatrixException) |
Return a rotation matrix [dimensioned 3x3, inverse() = transpose()] for the rotation through angle radians about axis number (= 1, 2 or 3). | |
| template<class T, class BaseClass> | |
| Matrix< T > | inverse (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Inverts the matrix M by Gaussian elimination. | |
| template<class T, class BaseClass> | |
| Matrix< T > | inverseLUD (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Inverts the matrix M by LU decomposition. | |
| template<class T, class BaseClass> | |
| Matrix< T > | inverseLUD (const ConstMatrixBase< T, BaseClass > &m, T &determ) throw (MatrixException) |
| Inverts the matrix M by LU decomposition, and returns determinant as well Throws on non-square and singular matricies. | |
| template<class T, class BaseClass> | |
| Matrix< T > | inverseSVD (const ConstMatrixBase< T, BaseClass > &m, const T tol=T(1.e-8)) throw (MatrixException) |
| Inverts the square matrix M by SVD, editing the singular values using tolerance tol. | |
| template<class T, class BaseClass> | |
| Matrix< T > | inverseSVD (const ConstMatrixBase< T, BaseClass > &m, T &big, T &small, const T tol=T(1.e-8)) throw (MatrixException) |
| Invert the square matrix M by SVD, editing the singular values with tolerance tol, and return the largest and smallest singular values (before any editing). | |
| template<class T, class BaseClass> | |
| Matrix< T > | inverseSVD (const ConstMatrixBase< T, BaseClass > &m, Vector< T > &sv, const T tol=T(1.e-8)) throw (MatrixException) |
| Invert the square matrix M by SVD, editing the singular values using tolerance tol, and return the singular values (before any editing). | |
| template<class T, class BaseClass> | |
| Matrix< T > | inverseChol (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Inverts the square symetrix positive definite matrix M using Cholesky-Crout algorithm. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator * (const ConstMatrixBase< T, BaseClass1 > &l, const ConstMatrixBase< T, BaseClass2 > &r) throw (MatrixException) |
| Matrix * Matrix : row by column multiplication of two matricies. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Vector< T > | operator * (const ConstMatrixBase< T, BaseClass1 > &m, const ConstVectorBase< T, BaseClass2 > &v) throw (MatrixException) |
| Matrix times vector multiplication, returning a vector. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Vector< T > | operator * (const ConstVectorBase< T, BaseClass1 > &v, const ConstMatrixBase< T, BaseClass2 > &m) throw (gpstk::MatrixException) |
| Vector times matrix multiplication, returning a vector. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator+ (const ConstMatrixBase< T, BaseClass1 > &l, const ConstMatrixBase< T, BaseClass2 > &r) throw (MatrixException) |
| Compute sum of two matricies. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | operator- (const ConstMatrixBase< T, BaseClass1 > &l, const ConstMatrixBase< T, BaseClass2 > &r) throw (MatrixException) |
| Compute difference of two matricies. | |
| template<class T, class BaseClass> | |
| Matrix< T > | outer (const ConstVectorBase< T, BaseClass > &v, const ConstVectorBase< T, BaseClass > &w) throw (MatrixException) |
| Compute the outer product of two vectors. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator * (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Multiplies all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator * (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Multiplies all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator/ (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Divides all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator/ (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Divides all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator+ (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Adds all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator+ (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Adds all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator- (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Subtracts all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | operator- (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Subtracts all the elements of m by d. | |
1.3.9.1