Classes | |
| class | Matrix |
| An implementation of a matrix class using Vector<T> as its internal basis. More... | |
| class | MatrixSlice |
| An assignable slice of a matrix. More... | |
| class | ConstMatrixSlice |
| An unmodifiable matrix slice. More... | |
| class | MatrixColSlice |
| an assignable single column slice of a matrix More... | |
| class | ConstMatrixColSlice |
| a constant slice of a single column from a matrix. More... | |
| class | MatrixRowSlice |
| an assignable single row slice of a matrix More... | |
| class | ConstMatrixRowSlice |
| an unmodifiable row slice of a matrix. More... | |
| class | MatrixException |
| class | MatrixException |
| class | SingularMatrixException |
| class | SingularMatrixException |
| class | ConstMatrixBase |
| A matrix base class for a non-modifiable matrix. More... | |
| class | RefMatrixBase |
| A matrix base class that allows assignment of the internal matrix. More... | |
| class | MatrixSliceBase |
| Base class for defining a slice of a matrix. More... | |
| class | ConstMatrixSliceBase |
| Base class for an unmodifiable matrix slice. More... | |
| class | RefMatrixSliceBase |
| Base class for a modifiable matrix slice. More... | |
| class | SVD |
| Class SVD: A function object for the singular value decomposition of a matrix. More... | |
| class | LUDecomp |
| Performs the lower/upper triangular decomposition of a matrix PA = LU. More... | |
| class | Cholesky |
| Compute cholesky decomposition (upper triangular square root) of the given matrix, which must be positive definite. More... | |
| class | CholeskyCrout |
| Compute the Cholesky decomposition using the Cholesky-Crout algorithm, which is very fast; if A is the given matrix we will get L, where A = L*LT. More... | |
| class | Householder |
| The Householder transformation is simply an orthogonal transformation designed to make the elements below the diagonal zero. More... | |
| class | Vector |
| This class pretty much duplicates std::valarray<T> except it's fully STL container compliant. More... | |
| class | VectorSlice |
| A slice of Vector<T> that can be modified. More... | |
| class | ConstVectorSlice |
| A Vector<T> slice that doesn't allow modification. More... | |
| class | VectorException |
| An exception thrown when there's a problem with a vector. More... | |
| class | ConstVectorBase |
| A base class for a vector that does not allow modification of the internal vector. More... | |
| class | RefVectorBaseHelper |
| a class to hold the static members of RefVectorBase. More... | |
| class | RefVectorBase |
| A vector base class that allows modification of the internal representation. More... | |
| class | VectorSliceBase |
| A base class that represents a subset of a vector. More... | |
| class | ConstVectorSliceBase |
| A vector slice base class that doesn't allow modification of the internal elements. More... | |
| class | RefVectorSliceBase |
| A vector slice base class that does allow modification of the internal elements. More... | |
Defines | |
| #define | VecShortwireComparisonOperator(func, op) |
| #define | VecBaseNewUnaryOperator(func) |
| #define | VecBaseNewBinaryOperator(func, retval) |
| #define | VecBaseNewBinaryTranscendentalOperator(func, retval) |
Functions | |
| template<class T, class E> | |
| std::ostream & | gpstk::operator<< (std::ostream &s, const ConstMatrixBase< T, E > &a) |
| Output operator for ConstMatrixBase classes. | |
| template<class T, class BaseClass> | |
| BaseClass & | gpstk::ident (RefMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Turns the square RefMatrixBase matrix into an identity matrix. | |
| template<class T, class BaseClass> | |
| T | gpstk::trace (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Returns the trace of the matrix. | |
| template<class T, class BaseClass> | |
| T | gpstk::normF (const ConstMatrixBase< T, BaseClass > &m) |
| returns the frobenius norm or RSS of the matrix | |
| template<class T, class BaseClass> | |
| T | gpstk::normCol (const ConstMatrixBase< T, BaseClass > &m) |
| returns the column sum norm of the matrix | |
| template<class T, class BaseClass> | |
| T | gpstk::slowDet (const ConstMatrixBase< T, BaseClass > &l) |
| Uses the sum of minor determinates to calculate the whole det. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| Matrix< T > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::transpose (const ConstMatrixBase< T, BaseClass > &m) |
Returns a matrix that is m transposed. | |
| template<class T, class BaseClass> | |
| T | gpstk::det (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Uses an LU Decomposition to calculate the determinate of m. | |
| template<class T, class BaseClass> | |
| T | gpstk::condNum (const ConstMatrixBase< T, BaseClass > &m, T &big, T &small) throw () |
| returns the condition number of the matrix | |
| template<class T, class BaseClass> | |
| T | gpstk::condNum (const ConstMatrixBase< T, BaseClass > &m) throw () |
| returns the condition number of the matrix, doesnt require big or small.. | |
| template<class T> | |
| Matrix< T > | gpstk::ident (size_t dim) throw (MatrixException) |
Returns a new dim * dim matrix that's an identity matrix. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::diag (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
Returns the diagonal matrix of m . | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::inverse (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Inverts the matrix M by Gaussian elimination. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::inverseLUD (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Inverts the matrix M by LU decomposition. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::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 > | gpstk::operator * (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Multiplies all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::operator * (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Multiplies all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::operator/ (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Divides all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::operator/ (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Divides all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::operator+ (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Adds all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::operator+ (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Adds all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::operator- (const ConstMatrixBase< T, BaseClass > &m, const T d) |
| Subtracts all the elements of m by d. | |
| template<class T, class BaseClass> | |
| Matrix< T > | gpstk::operator- (const T d, const ConstMatrixBase< T, BaseClass > &m) |
| Subtracts all the elements of m by d. | |
| template<class T, class E> | |
| std::ostream & | gpstk::operator<< (std::ostream &s, const ConstVectorBase< T, E > &a) |
| Output operator for ConstVectorBase objects. | |
| template<class T, class BaseClass> | |
| T | gpstk::sum (const ConstVectorBase< T, BaseClass > &l) |
| Returns the sum of the elements of the vector. | |
| template<class T, class BaseClass> | |
| T | gpstk::minabs (const ConstVectorBase< T, BaseClass > &l) throw (VectorException) |
| Return the element with smallest absolute value in the vector. | |
| template<class T, class BaseClass> | |
| T | gpstk::min (const ConstVectorBase< T, BaseClass > &l) throw (VectorException) |
| Returns the smallest element of the vector. | |
| template<class T, class BaseClass> | |
| T | gpstk::maxabs (const ConstVectorBase< T, BaseClass > &l) |
| Return the element with largest absolute value in the vector. | |
| template<class T, class BaseClass> | |
| T | gpstk::max (const ConstVectorBase< T, BaseClass > &l) |
| Returns the largest element of the vector. | |
| template<class T, class BaseClass, class BaseClass2> | |
| T | gpstk::dot (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns the dot product of the two vectors | |
| template<class T, class BaseClass> | |
| T | gpstk::dot (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns the dot product of a vector and a scalar | |
| template<class T, class BaseClass> | |
| T | gpstk::dot (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns the dot product of a scalar and a vector | |
| template<class T, class BaseClass> | |
| T | gpstk::norm (const ConstVectorBase< T, BaseClass > &v) |
| returns the norm of the vector | |
| template<class T, class BaseClass, class BaseClass2> | |
| T | gpstk::Minkowski (const ConstVectorBase< T, BaseClass > &v, const ConstVectorBase< T, BaseClass2 > &w) |
| return the Minkowski product of two vectors of length 4. | |
| template<class T, class BaseClass1, class BaseClass2> | |
| T | gpstk::cosVec (const ConstVectorBase< T, BaseClass1 > &a, const ConstVectorBase< T, BaseClass2 > &b) |
| finds the cosine between the two vectors | |
| template<class T, class BaseClass, class BaseClass2> | |
| bool | gpstk::eq (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| Performs op on each element of l and r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::eq (const ConstVectorBase< T, BaseClass > &l, const T r) |
| Performs op on each element of l to r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::eq (const T l, const ConstVectorBase< T, BaseClass > &r) |
| Performs op on each element of r to l, returning false if any fail. | |
| template<class T, class BaseClass, class BaseClass2> | |
| bool | gpstk::ne (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| Performs op on each element of l and r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::ne (const ConstVectorBase< T, BaseClass > &l, const T r) |
| Performs op on each element of l to r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::ne (const T l, const ConstVectorBase< T, BaseClass > &r) |
| Performs op on each element of r to l, returning false if any fail. | |
| template<class T, class BaseClass, class BaseClass2> | |
| bool | gpstk::lt (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| Performs op on each element of l and r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::lt (const ConstVectorBase< T, BaseClass > &l, const T r) |
| Performs op on each element of l to r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::lt (const T l, const ConstVectorBase< T, BaseClass > &r) |
| Performs op on each element of r to l, returning false if any fail. | |
| template<class T, class BaseClass, class BaseClass2> | |
| bool | gpstk::gt (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| Performs op on each element of l and r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::gt (const ConstVectorBase< T, BaseClass > &l, const T r) |
| Performs op on each element of l to r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::gt (const T l, const ConstVectorBase< T, BaseClass > &r) |
| Performs op on each element of r to l, returning false if any fail. | |
| template<class T, class BaseClass, class BaseClass2> | |
| bool | gpstk::ge (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| Performs op on each element of l and r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::ge (const ConstVectorBase< T, BaseClass > &l, const T r) |
| Performs op on each element of l to r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::ge (const T l, const ConstVectorBase< T, BaseClass > &r) |
| Performs op on each element of r to l, returning false if any fail. | |
| template<class T, class BaseClass, class BaseClass2> | |
| bool | gpstk::le (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| Performs op on each element of l and r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::le (const ConstVectorBase< T, BaseClass > &l, const T r) |
| Performs op on each element of l to r, returning false if any fail. | |
| template<class T, class BaseClass> | |
| bool | gpstk::le (const T l, const ConstVectorBase< T, BaseClass > &r) |
| Performs op on each element of r to l, returning false if any fail. | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::abs (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::acos (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::asin (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::atan (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::cos (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::cosh (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::exp (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::log (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::log10 (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::sinh (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::sin (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::sqrt (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::tan (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::tanh (const ConstVectorBase< T, BaseClass > &x) |
| performs func on each element of x, returning a new vector | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator * (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator * (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator * (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator/ (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator/ (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator/ (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator% (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator% (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator% (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator+ (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator+ (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator+ (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator- (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator- (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator- (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator^ (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator^ (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator^ (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator & (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator & (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator & (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::operator| (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator| (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::operator| (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< bool > | gpstk::operator== (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator== (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator== (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< bool > | gpstk::operator< (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator< (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator< (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< bool > | gpstk::operator> (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator> (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator> (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< bool > | gpstk::operator!= (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator!= (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator!= (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< bool > | gpstk::operator<= (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator<= (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator<= (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< bool > | gpstk::operator>= (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| returns a retval with each element the result of l[i] func r[i] | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator>= (const ConstVectorBase< T, BaseClass > &l, const T r) |
| returns a retval with each element the result of l[i] func (scalar)r | |
| template<class T, class BaseClass> | |
| Vector< bool > | gpstk::operator>= (const T l, const ConstVectorBase< T, BaseClass > &r) |
| returns a retval with each element the result of (scalar)l func r[i] | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::atan (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| performs func between each element of l and r, returning a retval | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::atan (const ConstVectorBase< T, BaseClass > &l, const T r) |
| performs func between each element of l and (scalar)r, returning a retval | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::atan (const T l, const ConstVectorBase< T, BaseClass > &r) |
| performs func between (scalar)l and each element of r, returning a retval | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::pow (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) |
| performs func between each element of l and r, returning a retval | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::pow (const ConstVectorBase< T, BaseClass > &l, const T r) |
| performs func between each element of l and (scalar)r, returning a retval | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::pow (const T l, const ConstVectorBase< T, BaseClass > &r) |
| performs func between (scalar)l and each element of r, returning a retval | |
| template<class T, class BaseClass, class BaseClass2> | |
| Vector< T > | gpstk::cross (const ConstVectorBase< T, BaseClass > &l, const ConstVectorBase< T, BaseClass2 > &r) throw (VectorException) |
| finds the cross product between l and r | |
| template<class T, class BaseClass> | |
| Vector< T > | gpstk::normalize (const ConstVectorBase< T, BaseClass > &l) |
| returns a new vector with the normalized version of l | |
| template<class T, class BaseClass> | |
| T | gpstk::RSS (const ConstVectorBase< T, BaseClass > &l) |
| returns the root-sum-square of the elements of l | |
| template<class T, class BaseClass> | |
| T | gpstk::RMS (const ConstVectorBase< T, BaseClass > &l) |
| returns the root-mean-square of the elements of l | |
| gpstk::Matrix::Matrix () | |
| default constructor | |
| gpstk::Matrix::Matrix (size_t rows, size_t cols) | |
| constructor given an initial size | |
| gpstk::Matrix::Matrix (size_t rows, size_t cols, T initialValue) | |
| constructor for an initial size and value | |
| gpstk::Matrix::Matrix (size_t rows, size_t cols, const T *vec) | |
| copies out the contents of vec to initialize the matrix | |
| MatrixRowSlice< T > | gpstk::Matrix::rowRef (size_t rowNum, const std::slice &s) |
| A reference slice of a row with a given std::slice. | |
| MatrixRowSlice< T > | gpstk::Matrix::rowRef (size_t rowNum, size_t colNum=0) |
| A reference slice of a row with a starting column (i.e. sub-row). | |
| ConstMatrixRowSlice< T > | gpstk::Matrix::row (size_t rowNum, const std::slice &s) const |
| A const reference slice of a row with a given std::slice. | |
| ConstMatrixRowSlice< T > | gpstk::Matrix::row (size_t rowNum, size_t colNum=0) const |
| A const reference slice of a row with a starting column (i.e. sub-row). | |
| MatrixColSlice< T > | gpstk::Matrix::colRef (size_t colNum, const std::slice &s) |
| A reference column with a given slice. | |
| MatrixColSlice< T > | gpstk::Matrix::colRef (size_t colNum, size_t rowNum=0) |
| A reference column with a starting row number (i.e. sub-column). | |
| ConstMatrixColSlice< T > | gpstk::Matrix::col (size_t colNum, const std::slice &s) const |
| A const reference column with a given slice. | |
| ConstMatrixColSlice< T > | gpstk::Matrix::col (size_t colNum, size_t rowNum=0) const |
| A const reference column with a starting row number (i.e. sub-column). | |
| Matrix & | gpstk::Matrix::resize (size_t rows, size_t cols) |
| Resizes the matrix to rows*cols. | |
| Matrix & | gpstk::Matrix::resize (size_t rows, size_t cols, const T initialValue) |
|
|
Definition at line 67 of file VectorOperators.hpp. |
|
|
Value: \ template <class T, class BaseClass, class BaseClass2> \ retval func(const ConstVectorBase<T, BaseClass>& l, \ const ConstVectorBase<T, BaseClass2>& r) \ { \ retval toReturn(l.size()); \ size_t i; \ for (i=0; i < l.size(); i++) toReturn[i] = func(l[i], r[i]); \ return toReturn; \ } \ \ template <class T, class BaseClass> \ retval func(const ConstVectorBase<T, BaseClass>& l, const T r) \ { \ retval toReturn(l.size()); \ size_t i; \ for (i=0; i < l.size(); i++) toReturn[i] = func(l[i], r); \ return toReturn; \ } \ \ template <class T, class BaseClass> \ retval func(const T l, const ConstVectorBase<T, BaseClass>& r) \ { \ retval toReturn(r.size()); \ size_t i; \ for (i=0; i < r.size(); i++) toReturn[i] = func(l, r[i]); \ return toReturn; \ } Definition at line 118 of file VectorOperators.hpp. |
|
|
Value: \ template <class T, class BaseClass> \ Vector<T> func(const ConstVectorBase<T, BaseClass>& x) \ { \ BaseClass toReturn(x.size()); \ size_t i; for (i=0; i < x.size(); i++) toReturn[i] = func(x[i]); \ return toReturn; \ } Definition at line 41 of file VectorOperators.hpp. |
|
|
Definition at line 234 of file VectorBaseOperators.hpp. |
|
|
performs func on each element of x, returning a new vector
Definition at line 52 of file VectorOperators.hpp. Referenced by LinearClockModel::addEpoch(), Differentiator::Compute(), Color::dist(), ObsReader::estimateObsInterval(), TabularEphemerisStore::getAccel(), IonexData::getIndex(), TabularEphemerisStore::getXvt(), gpstk::kummerFunc(), ProblemSatFilter::loadSatelliteProblemFile(), gpstk::lower_gamma(), gpstk::makeMDPEpoch(), DDid::operator!=(), OWid::operator==(), SDid::operator==(), DDid::operator==(), Synchronize::Process(), EclipsedSatFilter::Process(), Decimate::Process(), PRSolution::RAIMCompute(), SP3Data::reallyGetRecord(), and ARSimple::resolveIntegerAmbiguity(). |
|
|
performs func on each element of x, returning a new vector
Definition at line 53 of file VectorOperators.hpp. Referenced by HarrisPriesterDrag::computeDensity(), SolarRadiationPressure::getShadowFunction(), and SolarRadiationPressure::partial_illumination(). |
|
|
performs func on each element of x, returning a new vector
Definition at line 54 of file VectorOperators.hpp. Referenced by KeplerOrbit::F(), Position::getIonosphericPiercePoint(), SolarRadiationPressure::getShadowFunction(), IonexStore::iono_mapping_function(), SolarRadiationPressure::partial_illumination(), and gpstk::SolarPosition(). |
|
||||||||||||
|
performs func between (scalar)l and each element of r, returning a retval
Definition at line 148 of file VectorOperators.hpp. Referenced by Axis::Axis(), StudentDistribution::cdf(), gpstk::CrudeSolarPosition(), and ReferenceFrames::enuToAzElDt(). |
|
||||||||||||
|
performs func between each element of l and (scalar)r, returning a retval
Definition at line 148 of file VectorOperators.hpp. |
|
||||||||||||
|
performs func between each element of l and r, returning a retval
Definition at line 148 of file VectorOperators.hpp. |
|
|
performs func on each element of x, returning a new vector
Definition at line 55 of file VectorOperators.hpp. |
|
||||||||||||||||||||
|
Definition at line 433 of file MatrixOperators.hpp. Referenced by gpstk::blkdiag(). |
|
||||||||||||||||
|
Definition at line 426 of file MatrixOperators.hpp. References gpstk::blkdiag(). |
|
||||||||||||
|
Block diagonal concatenation of matrix input.
Definition at line 392 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
A const reference column with a starting row number (i.e. sub-column).
Definition at line 115 of file MatrixImplementation.hpp. |
|
||||||||||||
|
A const reference column with a given slice.
Definition at line 108 of file MatrixImplementation.hpp. |
|
||||||||||||
|
A reference column with a starting row number (i.e. sub-column).
Definition at line 101 of file MatrixImplementation.hpp. References Matrix::rows(). |
|
||||||||||||
|
A reference column with a given slice.
Definition at line 95 of file MatrixImplementation.hpp. |
|
|
returns the condition number of the matrix, doesnt require big or small..
Definition at line 340 of file MatrixOperators.hpp. Referenced by MatrixTest2(), and MatrixTest3(). |
|
||||||||||||||||
|
returns the condition number of the matrix
Definition at line 322 of file MatrixOperators.hpp. Referenced by MatrixTest8(), and MatrixTest9(). |
|
|
|
performs func on each element of x, returning a new vector
Definition at line 57 of file VectorOperators.hpp. |
|
||||||||||||
|
finds the cosine between the two vectors
Definition at line 221 of file VectorBaseOperators.hpp. References gpstk::norm(). Referenced by MatrixTest1(). |
|
||||||||||||
|
finds the cross product between l and r
Definition at line 153 of file VectorOperators.hpp. References GPSTK_THROW. Referenced by HarrisPriesterDrag::computeDensity(), AtmosphericDrag::doCompute(), KeplerOrbit::Elements(), and KeplerOrbit::StatePartials(). |
|
|
Uses an LU Decomposition to calculate the determinate of m.
Definition at line 302 of file MatrixOperators.hpp. References GPSTK_RETHROW. Referenced by RelativityEffect::doCompute(). |
|
|
Returns the diagonal matrix of
Definition at line 370 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by ARBase::computeFloatAmbiguity(). |
|
||||||||||||
|
returns the dot product of a scalar and a vector
Definition at line 177 of file VectorBaseOperators.hpp. References gpstk::sum(). Referenced by MatrixTest1(), and VectorTest(). |
|
||||||||||||
|
returns the dot product of a vector and a scalar
Definition at line 164 of file VectorBaseOperators.hpp. References gpstk::sum(). |
|
||||||||||||
|
returns the dot product of the two vectors
Definition at line 150 of file VectorBaseOperators.hpp. References gpstk::sum(). Referenced by HarrisPriesterDrag::computeDensity(), SphericalHarmonicGravity::computeVW(), Triple::cosVector(), RelativityEffect::doCompute(), KeplerOrbit::Elements(), KeplerOrbit::FindEta(), SolarRadiationPressure::getShadowFunction(), and SolarRadiationPressure::partial_illumination(). |
|
||||||||||||
|
Performs op on each element of r to l, returning false if any fail.
Definition at line 270 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l to r, returning false if any fail.
Definition at line 270 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l and r, returning false if any fail.
Definition at line 270 of file VectorBaseOperators.hpp. |
|
|
performs func on each element of x, returning a new vector
Definition at line 58 of file VectorOperators.hpp. Referenced by HarrisPriesterDrag::computeDensity(), CiraExponentialDrag::computeDensity(), NBTropModel::dry_zenith_delay(), gpstk::erf3(), gpstk::erf4(), gpstk::gamma(), Msise00Drag::gts7(), gpstk::incompletebetaps(), gpstk::inverf(), gpstk::lower_gamma(), StudentDistribution::pdf(), GaussianDistribution::pdf(), Chi2Distribution::pdf(), RandExpCor(), SaasTropModel::setWeather(), NBTropModel::setWeather(), GGTropModel::setWeather(), SimpleTropModel::setWeather(), AshtechMBEN::code_block::snr(), TropModel::weatherByStandardAtmosphereModel(), and NBTropModel::wet_zenith_delay(). |
|
||||||||||||
|
Performs op on each element of r to l, returning false if any fail.
Definition at line 274 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l to r, returning false if any fail.
Definition at line 274 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l and r, returning false if any fail.
Definition at line 274 of file VectorBaseOperators.hpp. Referenced by Position::asGeodetic(), Position::azimuth(), Position::azimuthGeodetic(), Position::elevation(), Position::elevationGeodetic(), Position::Position(), gpstk::range(), Position::setGeocentric(), Position::setGeodetic(), Position::setGeoidModel(), Position::setSpherical(), and Position::setToString(). |
|
||||||||||||
|
Performs op on each element of r to l, returning false if any fail.
Definition at line 273 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l to r, returning false if any fail.
Definition at line 273 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l and r, returning false if any fail.
Definition at line 273 of file VectorBaseOperators.hpp. |
|
|
Returns a new
Definition at line 351 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by gpstk::inverse(). |
|
|
Turns the square RefMatrixBase matrix into an identity matrix.
Definition at line 67 of file MatrixBaseOperators.hpp. References GPSTK_THROW. |
|
|
Inverts the matrix M by Gaussian elimination. Throws on non-square and singular matricies. Definition at line 470 of file MatrixOperators.hpp. References GPSTK_THROW, and gpstk::ident(). Referenced by SRI::addAPriori(), SRIleastSquares::dataUpdate(), gpstk::DMsmootherUpdateWithControl(), MatrixTest1(), MatrixTest2(), MatrixTest3(), MatrixTest8(), MatrixTest9(), and SRIFilter::measurementUpdate(). |
|
|
Inverts the square symetrix positive definite matrix M using Cholesky-Crout algorithm. Very fast and useful when M comes from using a Least Mean-Square (LMS) or Weighted Least Mean-Square (WLMS) method. Definition at line 728 of file MatrixOperators.hpp. References Cholesky::L, and gpstk::transpose(). Referenced by SolverWMS::Compute(), SolverPPP::Compute(), SolverLMS::Compute(), CodeKalmanSolver::Compute(), Bancroft::Compute(), and ComputeDOP::Process(). |
|
||||||||||||
|
Inverts the matrix M by LU decomposition, and returns determinant as well Throws on non-square and singular matricies.
Definition at line 570 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by MatrixTest8(). |
|
|
Inverts the matrix M by LU decomposition. Throws on non-square and singular matricies. Definition at line 542 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by ARLambda::lambda(). |
|
||||||||||||||||
|
Invert the square matrix M by SVD, editing the singular values using tolerance tol, and return the singular values (before any editing). Throws only on input of the zero matrix. Definition at line 684 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by ARBase::computeFloatAmbiguity(), MatrixTest8(), and SRI::transform(). |
|
||||||||||||||||||||
|
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). Throws only on input of the zero matrix. Definition at line 640 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Inverts the square matrix M by SVD, editing the singular values using tolerance tol. Throws only on input of the zero matrix. Definition at line 602 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by PRSolution::AutonomousPRSolution(). |
|
||||||||||||
|
Performs op on each element of r to l, returning false if any fail.
Definition at line 275 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l to r, returning false if any fail.
Definition at line 275 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l and r, returning false if any fail.
Definition at line 275 of file VectorBaseOperators.hpp. |
|
|
performs func on each element of x, returning a new vector
Definition at line 59 of file VectorOperators.hpp. Referenced by Chi2Distribution::pdf(). |
|
|
performs func on each element of x, returning a new vector
Definition at line 60 of file VectorOperators.hpp. Referenced by Msise00Drag::ghp7(), and AshtechMBEN::code_block::snr(). |
|
||||||||||||
|
Performs op on each element of r to l, returning false if any fail.
Definition at line 272 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l to r, returning false if any fail.
Definition at line 272 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l and r, returning false if any fail.
Definition at line 272 of file VectorBaseOperators.hpp. |
|
||||||||||||||||
|
copies out the contents of vec to initialize the matrix
Definition at line 59 of file MatrixImplementation.hpp. References RefMatrixBase< T, Matrix< T > >::assignFrom(). |
|
||||||||||||||||
|
constructor for an initial size and value
Definition at line 53 of file MatrixImplementation.hpp. |
|
||||||||||||
|
constructor given an initial size
Definition at line 48 of file MatrixImplementation.hpp. |
|
|
default constructor
Definition at line 42 of file MatrixImplementation.hpp. |
|
|
Returns the largest element of the vector.
Definition at line 133 of file VectorBaseOperators.hpp. References GPSTK_THROW. Referenced by CommandOptionParser::displayUsage(), main(), BivarStats::operator+=(), gpstk::stats(), and VectorTest(). |
|
|
Return the element with largest absolute value in the vector.
Definition at line 116 of file VectorBaseOperators.hpp. References ABS, and GPSTK_THROW. |
|
|
Returns the smallest element of the vector.
Definition at line 99 of file VectorBaseOperators.hpp. References GPSTK_THROW. Referenced by SeriesList::drawLegend(), EngEphemeris::getTot(), YumaData::lineParser(), BivarStats::operator+=(), AshtechData::readHeader(), gpstk::stats(), and VectorTest(). |
|
|
Return the element with smallest absolute value in the vector.
Definition at line 82 of file VectorBaseOperators.hpp. References ABS, and GPSTK_THROW. |
|
||||||||||||
|
return the Minkowski product of two vectors of length 4.
Definition at line 208 of file VectorBaseOperators.hpp. References GPSTK_THROW. Referenced by PRSolution::AutonomousPRSolution(), Bancroft::Compute(), and VectorTest(). |
|
||||||||||||||||
|
Returns the minor matrix of l at element (row, col).
A minor matrix is the same matrix as Definition at line 223 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by gpstk::slowDet(). |
|
||||||||||||
|
Performs op on each element of r to l, returning false if any fail.
Definition at line 271 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l to r, returning false if any fail.
Definition at line 271 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Performs op on each element of l and r, returning false if any fail.
Definition at line 271 of file VectorBaseOperators.hpp. Referenced by GDCPass::GFslipFix(). |
|
|
|
returns a new vector with the normalized version of l
Definition at line 170 of file VectorOperators.hpp. References gpstk::norm(). Referenced by CommonTime::add(). |
|
|
returns the column sum norm of the matrix
Definition at line 120 of file MatrixBaseOperators.hpp. References ABS, and gpstk::sum(). |
|
|
returns the frobenius norm or RSS of the matrix
Definition at line 106 of file MatrixBaseOperators.hpp. References SQRT, and gpstk::sum(). Referenced by GeodeticFrames::ResolveRotation(). |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 108 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 108 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 108 of file VectorOperators.hpp. |
|
||||||||||||
|
Returns the top to bottom concatenation of Vector t and Matrix b only if they have the same number of columns.
Definition at line 106 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Returns the top to bottom concatenation of Matrix t and Vector b only if they have the same number of columns.
Definition at line 77 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Returns the top to bottom concatenation of Matrices l and r only if they have the same number of columns.
Definition at line 47 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 102 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 102 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 102 of file VectorOperators.hpp. |
|
||||||||||||
|
Multiplies all the elements of m by d.
Definition at line 904 of file MatrixOperators.hpp. |
|
||||||||||||
|
Multiplies all the elements of m by d.
Definition at line 896 of file MatrixOperators.hpp. |
|
||||||||||||
|
Vector times matrix multiplication, returning a vector.
Definition at line 808 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Matrix times vector multiplication, returning a vector.
Definition at line 784 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Matrix * Matrix : row by column multiplication of two matricies.
Definition at line 760 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 114 of file VectorOperators.hpp. Referenced by ProcessingException::~ProcessingException(). |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 114 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 114 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 104 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 104 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 104 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 105 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 105 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 105 of file VectorOperators.hpp. |
|
||||||||||||
|
Adds all the elements of m by d.
Definition at line 936 of file MatrixOperators.hpp. |
|
||||||||||||
|
Adds all the elements of m by d.
Definition at line 928 of file MatrixOperators.hpp. |
|
||||||||||||
|
Compute sum of two matricies.
Definition at line 833 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 106 of file VectorOperators.hpp. Referenced by Epoch::operator<(), and Epoch::operator>(). |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 106 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 106 of file VectorOperators.hpp. |
|
||||||||||||
|
Subtracts all the elements of m by d.
Definition at line 952 of file MatrixOperators.hpp. |
|
||||||||||||
|
Subtracts all the elements of m by d.
Definition at line 944 of file MatrixOperators.hpp. |
|
||||||||||||
|
Compute difference of two matricies.
Definition at line 856 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by DayTime::operator<(), and DayTime::operator>(). |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 103 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 103 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 103 of file VectorOperators.hpp. |
|
||||||||||||
|
Divides all the elements of m by d.
Definition at line 920 of file MatrixOperators.hpp. |
|
||||||||||||
|
Divides all the elements of m by d.
Definition at line 912 of file MatrixOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 112 of file VectorOperators.hpp. Referenced by GPSWeekZcount::operator<(), GPSWeekSecond::operator<(), TypeID::operator<=(), SourceID::operator<=(), SatID::operator<=(), ObsID::operator<=(), GPSWeekZcount::operator<=(), TypeID::operator>(), SourceID::operator>(), SatID::operator>(), ObsID::operator>(), TypeID::operator>=(), SourceID::operator>=(), SatID::operator>=(), ObsID::operator>=(), GPSWeekZcount::operator>=(), and Epoch::operator>=(). |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 112 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 112 of file VectorOperators.hpp. |
|
||||||||||||
|
Output operator for ConstVectorBase objects.
Definition at line 56 of file VectorBaseOperators.hpp. |
|
||||||||||||
|
Output operator for ConstMatrixBase classes.
Definition at line 46 of file MatrixBaseOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 115 of file VectorOperators.hpp. Referenced by GPSWeekZcount::operator>(). |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 115 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 115 of file VectorOperators.hpp. Referenced by YDSTime::operator>(), UnixTime::operator>(), MJD::operator>(), JulianDate::operator>(), GPSWeekSecond::operator>(), CommonTime::operator>(), CivilTime::operator>(), and ANSITime::operator>(). |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 111 of file VectorOperators.hpp. Referenced by Variable::operator!=(), TypeID::operator!=(), SourceID::operator!=(), SatID::operator!=(), ObsID::operator!=(), IonoModel::operator!=(), GPSWeekZcount::operator!=(), Epoch::operator!=(), TypeID::operator<=(), SourceID::operator<=(), SatID::operator<=(), ObsID::operator<=(), GPSWeekZcount::operator<=(), ProcessingClass::operator==(), GPSWeekZcount::operator==(), GPSWeekSecond::operator==(), TypeID::operator>(), SourceID::operator>(), SatID::operator>(), ObsID::operator>(), and ProcessingException::~ProcessingException(). |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 111 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 111 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 113 of file VectorOperators.hpp. Referenced by GPSWeekZcount::operator<(), GPSWeekSecond::operator<(), and Epoch::operator<=(). |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 113 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 113 of file VectorOperators.hpp. Referenced by GPSZcount::operator<=(), and DayTime::operator<=(). |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 116 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 116 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 116 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 107 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 107 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 107 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of (scalar)l func r[i]
Definition at line 109 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func (scalar)r
Definition at line 109 of file VectorOperators.hpp. |
|
||||||||||||
|
returns a retval with each element the result of l[i] func r[i]
Definition at line 109 of file VectorOperators.hpp. |
|
||||||||||||
|
Returns the left to right concatenation of Vector l and Matrix r only if they have the same number of rows.
Definition at line 194 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Returns the left to right concatenation of Matrix l and Vector r only if they have the same number of rows.
Definition at line 165 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Returns the left to right concatenation of l and r only if they have the same number of rows.
Definition at line 135 of file MatrixOperators.hpp. References GPSTK_THROW. |
|
||||||||||||
|
Compute the outer product of two vectors.
Definition at line 879 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by PolyFit< double >::Add(), gpstk::DMsmootherUpdateWithControl(), and MatrixTest1(). |
|
||||||||||||
|
performs func between (scalar)l and each element of r, returning a retval
Definition at line 149 of file VectorOperators.hpp. Referenced by HarrisPriesterDrag::computeDensity(), MOPSTropModel::dry_zenith_delay(), GGHeightTropModel::dry_zenith_delay(), KeplerOrbit::Elements(), KeplerOrbit::F(), KeplerOrbit::FindEta(), gpstk::gamma(), EarthSolidTide::getSolidTide(), Msise00Drag::ghp7(), Msise00Drag::gtd7(), Msise00Drag::gts7(), gpstk::incompletebetaps(), IonexData::reallyGetRecord(), IonexData::reallyPutRecord(), gpstk::regIncompleteBeta(), RungeKuttaFehlberg::rkfqcs(), SaasTropModel::setWeather(), TropModel::weatherByStandardAtmosphereModel(), MOPSTropModel::wet_zenith_delay(), and GGHeightTropModel::wet_zenith_delay(). |
|
||||||||||||
|
performs func between each element of l and (scalar)r, returning a retval
Definition at line 149 of file VectorOperators.hpp. |
|
||||||||||||
|
performs func between each element of l and r, returning a retval
Definition at line 149 of file VectorOperators.hpp. Referenced by PowerSum::skew(). |
|
||||||||||||||||
|
Definition at line 133 of file MatrixImplementation.hpp. |
|
||||||||||||
|
Resizes the matrix to rows*cols.
Definition at line 123 of file MatrixImplementation.hpp. Referenced by SolverWMS::Compute(), NEDUtil::compute(), ENUUtil::compute(), SunForce::doCompute(), SphericalHarmonicGravity::doCompute(), SolarRadiationPressure::doCompute(), RelativityEffect::doCompute(), MoonForce::doCompute(), AtmosphericDrag::doCompute(), ARLambda::factorize(), ForceModelList::getDerivatives(), Matrix< int >::operator=(), SRIFilter::Reset(), SimpleKalmanFilter::Reset(), GeodeticFrames::ResolveRotation(), ARMLambda::search(), ARLambda::search(), SphericalHarmonicGravity::SphericalHarmonicGravity(), and SatOrbitPropagator::updateMatrix(). |
|
|
returns the root-mean-square of the elements of l
Definition at line 180 of file VectorOperators.hpp. References gpstk::norm(), and SQRT. Referenced by SRIleastSquares::dataUpdate(), and PRSolution::RAIMCompute(). |
|
||||||||||||
|
Return a rotation matrix [dimensioned 3x3, inverse() = transpose()] for the rotation through
Definition at line 446 of file MatrixOperators.hpp. References GPSTK_THROW. Referenced by GeodeticFrames::ECEFtoInertial(), GeodeticFrames::PolarMotion(), and GeodeticFrames::PreciseEarthRotation(). |
|
||||||||||||
|
A const reference slice of a row with a starting column (i.e. sub-row).
Definition at line 87 of file MatrixImplementation.hpp. References Matrix::cols(). |
|
||||||||||||
|
A const reference slice of a row with a given std::slice.
Definition at line 80 of file MatrixImplementation.hpp. |
|
||||||||||||
|
A reference slice of a row with a starting column (i.e. sub-row).
Definition at line 73 of file MatrixImplementation.hpp. References Matrix::cols(). |
|
||||||||||||
|
A reference slice of a row with a given std::slice.
Definition at line 67 of file MatrixImplementation.hpp. |
|
|
returns the root-sum-square of the elements of l
Definition at line 175 of file VectorOperators.hpp. References gpstk::norm(). Referenced by DOP::Compute(), Bancroft::Compute(), SVD::operator()(), and gpstk::RSS(). |
|
|
|
performs func on each element of x, returning a new vector
Definition at line 61 of file VectorOperators.hpp. Referenced by KeplerOrbit::F(). |
|
|
Uses the sum of minor determinates to calculate the whole det. Slow for large matricies, but it works. Definition at line 140 of file MatrixBaseOperators.hpp. References GPSTK_THROW, and gpstk::minorMatrix(). |
|
|
|
Returns the sum of the elements of the vector.
Definition at line 71 of file VectorBaseOperators.hpp. Referenced by AllanDeviation::AllanDeviation(), LUDecomp::backSub(), SunForce::doCompute(), MoonForce::doCompute(), gpstk::dot(), SRI::getState(), gpstk::inverseUT(), gpstk::LagrangeInterpolating2ndDerivative(), gpstk::LagrangeSecondDerivative(), gpstk::Robust::MEstimate(), gpstk::normCol(), gpstk::normF(), Householder::operator()(), CholeskyCrout::operator()(), gpstk::SrifMU(), gpstk::UTtimesTranspose(), and VectorTest(). |
|
|
performs func on each element of x, returning a new vector
Definition at line 64 of file VectorOperators.hpp. Referenced by KeplerOrbit::TwoBody(). |
|
|
performs func on each element of x, returning a new vector
Definition at line 65 of file VectorOperators.hpp. |
|
|
Returns the trace of the matrix.
Definition at line 87 of file MatrixBaseOperators.hpp. References GPSTK_THROW, and index(). |
|
1.3.9.1