Vector and Matrix mathematics


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>
gpstk::trace (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException)
 Returns the trace of the matrix.
template<class T, class BaseClass>
gpstk::normF (const ConstMatrixBase< T, BaseClass > &m)
 returns the frobenius norm or RSS of the matrix
template<class T, class BaseClass>
gpstk::normCol (const ConstMatrixBase< T, BaseClass > &m)
 returns the column sum norm of the matrix
template<class T, class BaseClass>
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>
gpstk::det (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException)
 Uses an LU Decomposition to calculate the determinate of m.
template<class T, class BaseClass>
gpstk::condNum (const ConstMatrixBase< T, BaseClass > &m, T &big, T &small) throw ()
 returns the condition number of the matrix
template<class T, class BaseClass>
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>
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::inverseSVD (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException)
 Inverts the square matrix M by SVD.
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>
gpstk::sum (const ConstVectorBase< T, BaseClass > &l)
 Returns the sum of the elements of the vector.
template<class T, class BaseClass>
gpstk::minabs (const ConstVectorBase< T, BaseClass > &l) throw (VectorException)
 Return the element with smallest absolute value in the vector.
template<class T, class BaseClass>
gpstk::min (const ConstVectorBase< T, BaseClass > &l) throw (VectorException)
 Returns the smallest element of the vector.
template<class T, class BaseClass>
gpstk::maxabs (const ConstVectorBase< T, BaseClass > &l)
 Return the element with largest absolute value in the vector.
template<class T, class BaseClass>
gpstk::max (const ConstVectorBase< T, BaseClass > &l)
 Returns the largest element of the vector.
template<class T, class BaseClass, class BaseClass2>
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>
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>
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>
gpstk::norm (const ConstVectorBase< T, BaseClass > &v)
 returns the norm of the vector
template<class T, class BaseClass, class BaseClass2>
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>
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>
gpstk::RSS (const ConstVectorBase< T, BaseClass > &l)
 returns the root-sum-square of the elements of l
template<class T, class BaseClass>
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)


Define Documentation

#define VecBaseNewBinaryOperator func,
retval   ) 
 

Definition at line 67 of file VectorOperators.hpp.

#define VecBaseNewBinaryTranscendentalOperator func,
retval   ) 
 

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.

#define VecBaseNewUnaryOperator func   ) 
 

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.

#define VecShortwireComparisonOperator func,
op   ) 
 

Definition at line 225 of file VectorBaseOperators.hpp.


Function Documentation

Vector<T> abs const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 52 of file VectorOperators.hpp.

Referenced by LinearClockModel::addEpoch(), Color::dist(), ObsReader::estimateObsInterval(), TabularEphemerisStore::getAccel(), IonexData::getIndex(), TabularEphemerisStore::getXvt(), gpstk::kummerFunc(), gpstk::lower_gamma(), gpstk::makeMDPEpoch(), DDid::operator!=(), OWid::operator==(), SDid::operator==(), DDid::operator==(), Synchronize::Process(), EclipsedSatFilter::Process(), Decimate::Process(), and SP3Data::reallyGetRecord().

Vector<T> acos const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 53 of file VectorOperators.hpp.

Referenced by Position::convertCartesianToSpherical(), and Position::convertGeodeticToGeocentric().

Vector<T> asin const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 54 of file VectorOperators.hpp.

Referenced by Position::getIonosphericPiercePoint(), IonexStore::iono_mapping_function(), gpstk::LunarPosition(), and gpstk::SolarPosition().

Vector<T> atan const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

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(), and gpstk::CrudeSolarPosition().

Vector<T> atan const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

performs func between each element of l and (scalar)r, returning a retval

Definition at line 148 of file VectorOperators.hpp.

Vector<T> atan const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
 

performs func between each element of l and r, returning a retval

Definition at line 148 of file VectorOperators.hpp.

Vector<T> atan const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 55 of file VectorOperators.hpp.

ConstMatrixColSlice< T > col size_t  colNum,
size_t  rowNum = 0
const [inline, inherited]
 

A const reference column with a starting row number (i.e. sub-column).

Definition at line 115 of file MatrixImplementation.hpp.

ConstMatrixColSlice< T > col size_t  colNum,
const std::slice &  s
const [inline, inherited]
 

A const reference column with a given slice.

Definition at line 108 of file MatrixImplementation.hpp.

MatrixColSlice< T > colRef size_t  colNum,
size_t  rowNum = 0
[inline, inherited]
 

A reference column with a starting row number (i.e. sub-column).

Definition at line 101 of file MatrixImplementation.hpp.

References Matrix::rows().

MatrixColSlice< T > colRef size_t  colNum,
const std::slice &  s
[inline, inherited]
 

A reference column with a given slice.

Definition at line 95 of file MatrixImplementation.hpp.

T condNum const ConstMatrixBase< T, BaseClass > &  m  )  throw () [inline]
 

returns the condition number of the matrix, doesnt require big or small..

Definition at line 350 of file MatrixOperators.hpp.

Referenced by MatrixTest2(), and MatrixTest3().

T condNum const ConstMatrixBase< T, BaseClass > &  m,
T &  big,
T &  small
throw () [inline]
 

returns the condition number of the matrix

Definition at line 332 of file MatrixOperators.hpp.

Referenced by MatrixTest8(), and MatrixTest9().

Vector<T> cos const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Examples:
example11.cpp, and example7.cpp.

Definition at line 56 of file VectorOperators.hpp.

Referenced by ECEF::asGeodetic(), Position::azimuthGeodetic(), gpstk::CIS2CTS(), NEDUtil::compute(), ENUUtil::compute(), EOPPrediction::computeEOP(), Position::convertCartesianToGeodetic(), Position::convertGeocentricToGeodetic(), Position::convertGeodeticToCartesian(), Position::convertSphericalToCartesian(), GGTropModel::dry_mapping_function(), SimpleTropModel::dry_mapping_function(), NBTropModel::dry_zenith_delay(), Position::elevationGeodetic(), Geodetic::Geodetic(), IonoModel::getCorrection(), Position::getIonosphericPiercePoint(), OceanLoading::getOceanLoading(), MoonPosition::getPositionCIS(), IonexStore::iono_mapping_function(), gpstk::LunarPosition(), gpstk::SolarPosition(), EngEphemeris::svRelativity(), EngEphemeris::svXvt(), GGTropModel::wet_mapping_function(), SimpleTropModel::wet_mapping_function(), and NBTropModel::wet_zenith_delay().

Vector<T> cosh const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 57 of file VectorOperators.hpp.

T cosVec const ConstVectorBase< T, BaseClass1 > &  a,
const ConstVectorBase< T, BaseClass2 > &  b
[inline]
 

finds the cosine between the two vectors

Definition at line 212 of file VectorBaseOperators.hpp.

References gpstk::norm().

Referenced by MatrixTest1().

Vector<T> cross const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
throw (VectorException)
 

finds the cross product between l and r

Definition at line 153 of file VectorOperators.hpp.

References GPSTK_THROW.

T det const ConstMatrixBase< T, BaseClass > &  m  )  throw (MatrixException) [inline]
 

Uses an LU Decomposition to calculate the determinate of m.

This is faster than longDet() for large matricies.

Definition at line 303 of file MatrixOperators.hpp.

References GPSTK_RETHROW.

T dot const T  l,
const ConstVectorBase< T, BaseClass > &  r
[inline]
 

returns the dot product of a scalar and a vector

Definition at line 168 of file VectorBaseOperators.hpp.

References gpstk::sum().

Referenced by MatrixTest1(), and VectorTest().

T dot const ConstVectorBase< T, BaseClass > &  l,
const T  r
[inline]
 

returns the dot product of a vector and a scalar

Definition at line 155 of file VectorBaseOperators.hpp.

References gpstk::sum().

T dot const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
[inline]
 

returns the dot product of the two vectors

Definition at line 141 of file VectorBaseOperators.hpp.

References gpstk::sum().

Referenced by Triple::cosVector().

bool eq const T  l,
const ConstVectorBase< T, BaseClass > &  r
[inline]
 

Performs op on each element of r to l, returning false if any fail.

Definition at line 261 of file VectorBaseOperators.hpp.

bool eq const ConstVectorBase< T, BaseClass > &  l,
const T  r
[inline]
 

Performs op on each element of l to r, returning false if any fail.

Definition at line 261 of file VectorBaseOperators.hpp.

bool eq const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
[inline]
 

Performs op on each element of l and r, returning false if any fail.

Definition at line 261 of file VectorBaseOperators.hpp.

Vector<T> exp const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 58 of file VectorOperators.hpp.

Referenced by NBTropModel::dry_zenith_delay(), gpstk::erf3(), gpstk::erf4(), gpstk::gamma(), 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().

bool ge const T  l,
const ConstVectorBase< T, BaseClass > &  r
[inline]
 

Performs op on each element of r to l, returning false if any fail.

Definition at line 265 of file VectorBaseOperators.hpp.

bool ge const ConstVectorBase< T, BaseClass > &  l,
const T  r
[inline]
 

Performs op on each element of l to r, returning false if any fail.

Definition at line 265 of file VectorBaseOperators.hpp.

bool ge const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
[inline]
 

Performs op on each element of l and r, returning false if any fail.

Definition at line 265 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().

bool gt const T  l,
const ConstVectorBase< T, BaseClass > &  r
[inline]
 

Performs op on each element of r to l, returning false if any fail.

Definition at line 264 of file VectorBaseOperators.hpp.

bool gt const ConstVectorBase< T, BaseClass > &  l,
const T  r
[inline]
 

Performs op on each element of l to r, returning false if any fail.

Definition at line 264 of file VectorBaseOperators.hpp.

bool gt const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
[inline]
 

Performs op on each element of l and r, returning false if any fail.

Definition at line 264 of file VectorBaseOperators.hpp.

Matrix<T> ident size_t  dim  )  throw (MatrixException) [inline]
 

Returns a new dim * dim matrix that's an identity matrix.

Definition at line 361 of file MatrixOperators.hpp.

References GPSTK_THROW.

Referenced by gpstk::inverse().

BaseClass& ident RefMatrixBase< T, BaseClass > &  m  )  throw (MatrixException)
 

Turns the square RefMatrixBase matrix into an identity matrix.

Definition at line 67 of file MatrixBaseOperators.hpp.

References GPSTK_THROW.

Matrix<T> inverse const ConstMatrixBase< T, BaseClass > &  m  )  throw (MatrixException) [inline]
 

Inverts the matrix M by Gaussian elimination.

Throws on non-square and singular matricies.

Definition at line 405 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().

Matrix<T> inverseChol const ConstMatrixBase< T, BaseClass > &  m  )  throw (MatrixException) [inline]
 

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 544 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().

Matrix<T> inverseLUD const ConstMatrixBase< T, BaseClass > &  m  )  throw (MatrixException) [inline]
 

Inverts the matrix M by LU decomposition.

Throws on non-square and singular matricies.

Definition at line 477 of file MatrixOperators.hpp.

References GPSTK_THROW.

Referenced by MatrixTest8().

Matrix<T> inverseSVD const ConstMatrixBase< T, BaseClass > &  m  )  throw (MatrixException) [inline]
 

Inverts the square matrix M by SVD.

Throws only on input of the zero matrix

Definition at line 504 of file MatrixOperators.hpp.

References GPSTK_THROW.

Referenced by PRSolution::AutonomousPRSolution(), MatrixTest8(), and SRI::transform().

bool le const T  l,
const ConstVectorBase< T, BaseClass > &  r
[inline]
 

Performs op on each element of r to l, returning false if any fail.

Definition at line 266 of file VectorBaseOperators.hpp.

bool le const ConstVectorBase< T, BaseClass > &  l,
const T  r
[inline]
 

Performs op on each element of l to r, returning false if any fail.

Definition at line 266 of file VectorBaseOperators.hpp.

bool le const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
[inline]
 

Performs op on each element of l and r, returning false if any fail.

Definition at line 266 of file VectorBaseOperators.hpp.

Vector<T> log const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 59 of file VectorOperators.hpp.

Referenced by Chi2Distribution::pdf().

Vector<T> log10 const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 60 of file VectorOperators.hpp.

Referenced by FICData::reallyPutRecord(), and AshtechMBEN::code_block::snr().

bool lt const T  l,
const ConstVectorBase< T, BaseClass > &  r
[inline]
 

Performs op on each element of r to l, returning false if any fail.

Definition at line 263 of file VectorBaseOperators.hpp.

bool lt const ConstVectorBase< T, BaseClass > &  l,
const T  r
[inline]
 

Performs op on each element of l to r, returning false if any fail.

Definition at line 263 of file VectorBaseOperators.hpp.

bool lt const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
[inline]
 

Performs op on each element of l and r, returning false if any fail.

Definition at line 263 of file VectorBaseOperators.hpp.

Matrix size_t  rows,
size_t  cols,
const T *  vec
[inherited]
 

copies out the contents of vec to initialize the matrix

Definition at line 59 of file MatrixImplementation.hpp.

References RefMatrixBase< T, Matrix< T > >::assignFrom().

Matrix size_t  rows,
size_t  cols,
initialValue
[inherited]
 

constructor for an initial size and value

Definition at line 53 of file MatrixImplementation.hpp.

Matrix size_t  rows,
size_t  cols
[inherited]
 

constructor given an initial size

Definition at line 48 of file MatrixImplementation.hpp.

Matrix  )  [inherited]
 

default constructor

Definition at line 42 of file MatrixImplementation.hpp.

T max const ConstVectorBase< T, BaseClass > &  l  )  [inline]
 

Returns the largest element of the vector.

Definition at line 124 of file VectorBaseOperators.hpp.

References GPSTK_THROW.

Referenced by CommandOptionParser::displayUsage(), main(), BivarStats::operator+=(), gpstk::stats(), and VectorTest().

T maxabs const ConstVectorBase< T, BaseClass > &  l  )  [inline]
 

Return the element with largest absolute value in the vector.

Definition at line 107 of file VectorBaseOperators.hpp.

References ABS, and GPSTK_THROW.

T min const ConstVectorBase< T, BaseClass > &  l  )  throw (VectorException) [inline]
 

Returns the smallest element of the vector.

Definition at line 90 of file VectorBaseOperators.hpp.

References GPSTK_THROW.

Referenced by SeriesList::drawLegend(), YumaData::lineParser(), BivarStats::operator+=(), AshtechData::readHeader(), gpstk::stats(), and VectorTest().

T minabs const ConstVectorBase< T, BaseClass > &  l  )  throw (VectorException) [inline]
 

Return the element with smallest absolute value in the vector.

Definition at line 73 of file VectorBaseOperators.hpp.

References ABS, and GPSTK_THROW.

T Minkowski const ConstVectorBase< T, BaseClass > &  v,
const ConstVectorBase< T, BaseClass2 > &  w
[inline]
 

return the Minkowski product of two vectors of length 4.

Definition at line 199 of file VectorBaseOperators.hpp.

References GPSTK_THROW.

Referenced by PRSolution::AutonomousPRSolution(), Bancroft::Compute(), and VectorTest().

Matrix<T> minorMatrix const ConstMatrixBase< T, BaseClass > &  l,
size_t  row,
size_t  col
throw (MatrixException) [inline]
 

Returns the minor matrix of l at element (row, col).

A minor matrix is the same matrix as l but with row row and col col removed.

Definition at line 223 of file MatrixOperators.hpp.

References GPSTK_THROW.

Referenced by gpstk::slowDet().

bool ne const T  l,
const ConstVectorBase< T, BaseClass > &  r
[inline]
 

Performs op on each element of r to l, returning false if any fail.

Definition at line 262 of file VectorBaseOperators.hpp.

bool ne const ConstVectorBase< T, BaseClass > &  l,
const T  r
[inline]
 

Performs op on each element of l to r, returning false if any fail.

Definition at line 262 of file VectorBaseOperators.hpp.

bool ne const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
[inline]
 

Performs op on each element of l and r, returning false if any fail.

Definition at line 262 of file VectorBaseOperators.hpp.

Referenced by GDCPass::GFslipFix().

T norm const ConstVectorBase< T, BaseClass > &  v  )  [inline]
 

returns the norm of the vector

Definition at line 181 of file VectorBaseOperators.hpp.

References ABS, and SQRT.

Referenced by PRSolution::AutonomousPRSolution(), gpstk::cosVec(), GGHeightTropModel::dry_mapping_function(), MatrixTest1(), gpstk::normalize(), GeodeticFrames::ResolveRotation(), gpstk::RMS(), gpstk::RSS(), VectorTest(), and GGHeightTropModel::wet_mapping_function().

Vector<T> normalize const ConstVectorBase< T, BaseClass > &  l  ) 
 

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().

T normCol const ConstMatrixBase< T, BaseClass > &  m  )  [inline]
 

returns the column sum norm of the matrix

Definition at line 120 of file MatrixBaseOperators.hpp.

References ABS, and gpstk::sum().

T normF const ConstMatrixBase< T, BaseClass > &  m  )  [inline]
 

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().

Vector<T> operator & const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 108 of file VectorOperators.hpp.

Vector<T> operator & const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 108 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 108 of file VectorOperators.hpp.

Matrix<T> operator && const ConstVectorBase< T, BaseClass1 > &  t,
const ConstMatrixBase< T, BaseClass2 > &  b
throw (MatrixException) [inline]
 

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.

Matrix<T> operator && const ConstMatrixBase< T, BaseClass1 > &  t,
const ConstVectorBase< T, BaseClass2 > &  b
throw (MatrixException) [inline]
 

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.

Matrix<T> operator && const ConstMatrixBase< T, BaseClass1 > &  l,
const ConstMatrixBase< T, BaseClass2 > &  r
throw (MatrixException) [inline]
 

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.

Vector<T> operator * const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 102 of file VectorOperators.hpp.

Vector<T> operator * const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 102 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 102 of file VectorOperators.hpp.

Matrix<T> operator * const T  d,
const ConstMatrixBase< T, BaseClass > &  m
[inline]
 

Multiplies all the elements of m by d.

Definition at line 720 of file MatrixOperators.hpp.

Matrix<T> operator * const ConstMatrixBase< T, BaseClass > &  m,
const T  d
[inline]
 

Multiplies all the elements of m by d.

Definition at line 712 of file MatrixOperators.hpp.

Vector<T> operator * const ConstVectorBase< T, BaseClass1 > &  v,
const ConstMatrixBase< T, BaseClass2 > &  m
throw (gpstk::MatrixException) [inline]
 

Vector times matrix multiplication, returning a vector.

Definition at line 624 of file MatrixOperators.hpp.

References GPSTK_THROW.

Vector<T> operator * const ConstMatrixBase< T, BaseClass1 > &  m,
const ConstVectorBase< T, BaseClass2 > &  v
throw (MatrixException) [inline]
 

Matrix times vector multiplication, returning a vector.

Definition at line 600 of file MatrixOperators.hpp.

References GPSTK_THROW.

Matrix<T> operator * const ConstMatrixBase< T, BaseClass1 > &  l,
const ConstMatrixBase< T, BaseClass2 > &  r
throw (MatrixException) [inline]
 

Matrix * Matrix : row by column multiplication of two matricies.

Definition at line 576 of file MatrixOperators.hpp.

References GPSTK_THROW.

Vector<bool> operator!= const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

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().

Vector<bool> operator!= const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 114 of file VectorOperators.hpp.

Vector<bool> 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]

Definition at line 114 of file VectorOperators.hpp.

Vector<T> operator% const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 104 of file VectorOperators.hpp.

Vector<T> operator% const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 104 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 104 of file VectorOperators.hpp.

Vector<T> operator+ const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 105 of file VectorOperators.hpp.

Vector<T> operator+ const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 105 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 105 of file VectorOperators.hpp.

Matrix<T> operator+ const T  d,
const ConstMatrixBase< T, BaseClass > &  m
[inline]
 

Adds all the elements of m by d.

Definition at line 752 of file MatrixOperators.hpp.

Matrix<T> operator+ const ConstMatrixBase< T, BaseClass > &  m,
const T  d
[inline]
 

Adds all the elements of m by d.

Definition at line 744 of file MatrixOperators.hpp.

Matrix<T> operator+ const ConstMatrixBase< T, BaseClass1 > &  l,
const ConstMatrixBase< T, BaseClass2 > &  r
throw (MatrixException) [inline]
 

Compute sum of two matricies.

Definition at line 649 of file MatrixOperators.hpp.

References GPSTK_THROW.

Vector<T> operator- const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

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>().

Vector<T> operator- const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 106 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 106 of file VectorOperators.hpp.

Matrix<T> operator- const T  d,
const ConstMatrixBase< T, BaseClass > &  m
[inline]
 

Subtracts all the elements of m by d.

Definition at line 768 of file MatrixOperators.hpp.

Matrix<T> operator- const ConstMatrixBase< T, BaseClass > &  m,
const T  d
[inline]
 

Subtracts all the elements of m by d.

Definition at line 760 of file MatrixOperators.hpp.

Matrix<T> operator- const ConstMatrixBase< T, BaseClass1 > &  l,
const ConstMatrixBase< T, BaseClass2 > &  r
throw (MatrixException) [inline]
 

Compute difference of two matricies.

Definition at line 672 of file MatrixOperators.hpp.

References GPSTK_THROW.

Referenced by DayTime::operator<(), and DayTime::operator>().

Vector<T> operator/ const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 103 of file VectorOperators.hpp.

Vector<T> operator/ const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 103 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 103 of file VectorOperators.hpp.

Matrix<T> operator/ const T  d,
const ConstMatrixBase< T, BaseClass > &  m
[inline]
 

Divides all the elements of m by d.

Definition at line 736 of file MatrixOperators.hpp.

Matrix<T> operator/ const ConstMatrixBase< T, BaseClass > &  m,
const T  d
[inline]
 

Divides all the elements of m by d.

Definition at line 728 of file MatrixOperators.hpp.

Vector<bool> operator< const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

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>=().

Vector<bool> operator< const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 112 of file VectorOperators.hpp.

Vector<bool> 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]

Definition at line 112 of file VectorOperators.hpp.

std::ostream& operator<< std::ostream &  s,
const ConstVectorBase< T, E > &  a
 

Output operator for ConstVectorBase objects.

Definition at line 47 of file VectorBaseOperators.hpp.

std::ostream& operator<< std::ostream &  s,
const ConstMatrixBase< T, E > &  a
 

Output operator for ConstMatrixBase classes.

Definition at line 46 of file MatrixBaseOperators.hpp.

Vector<bool> operator<= const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

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>().

Vector<bool> operator<= const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 115 of file VectorOperators.hpp.

Vector<bool> 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]

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>().

Vector<bool> operator== const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

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().

Vector<bool> operator== const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 111 of file VectorOperators.hpp.

Vector<bool> 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]

Definition at line 111 of file VectorOperators.hpp.

Vector<bool> operator> const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

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<=().

Vector<bool> operator> const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 113 of file VectorOperators.hpp.

Vector<bool> 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]

Definition at line 113 of file VectorOperators.hpp.

Referenced by GPSZcount::operator<=(), and DayTime::operator<=().

Vector<bool> operator>= const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 116 of file VectorOperators.hpp.

Vector<bool> operator>= const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 116 of file VectorOperators.hpp.

Vector<bool> 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]

Definition at line 116 of file VectorOperators.hpp.

Vector<T> operator^ const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 107 of file VectorOperators.hpp.

Vector<T> operator^ const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 107 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 107 of file VectorOperators.hpp.

Vector<T> operator| const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

returns a retval with each element the result of (scalar)l func r[i]

Definition at line 109 of file VectorOperators.hpp.

Vector<T> operator| const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

returns a retval with each element the result of l[i] func (scalar)r

Definition at line 109 of file VectorOperators.hpp.

Vector<T> 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]

Definition at line 109 of file VectorOperators.hpp.

Matrix<T> operator|| const ConstVectorBase< T, BaseClass1 > &  l,
const ConstMatrixBase< T, BaseClass2 > &  r
throw (MatrixException) [inline]
 

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.

Matrix<T> operator|| const ConstMatrixBase< T, BaseClass1 > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
throw (MatrixException) [inline]
 

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.

Matrix<T> operator|| const ConstMatrixBase< T, BaseClass1 > &  l,
const ConstMatrixBase< T, BaseClass2 > &  r
throw (MatrixException) [inline]
 

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.

Matrix<T> outer const ConstVectorBase< T, BaseClass > &  v,
const ConstVectorBase< T, BaseClass > &  w
throw (MatrixException) [inline]
 

Compute the outer product of two vectors.

Definition at line 695 of file MatrixOperators.hpp.

References GPSTK_THROW.

Referenced by PolyFit< double >::Add(), gpstk::DMsmootherUpdateWithControl(), and MatrixTest1().

Vector<T> pow const T  l,
const ConstVectorBase< T, BaseClass > &  r
 

performs func between (scalar)l and each element of r, returning a retval

Definition at line 149 of file VectorOperators.hpp.

Referenced by MOPSTropModel::dry_zenith_delay(), GGHeightTropModel::dry_zenith_delay(), gpstk::gamma(), gpstk::incompletebetaps(), IonexData::reallyGetRecord(), IonexData::reallyPutRecord(), gpstk::regIncompleteBeta(), SaasTropModel::setWeather(), TropModel::weatherByStandardAtmosphereModel(), MOPSTropModel::wet_zenith_delay(), and GGHeightTropModel::wet_zenith_delay().

Vector<T> pow const ConstVectorBase< T, BaseClass > &  l,
const T  r
 

performs func between each element of l and (scalar)r, returning a retval

Definition at line 149 of file VectorOperators.hpp.

Vector<T> pow const ConstVectorBase< T, BaseClass > &  l,
const ConstVectorBase< T, BaseClass2 > &  r
 

performs func between each element of l and r, returning a retval

Definition at line 149 of file VectorOperators.hpp.

Referenced by Geodetic::asECEF(), and PowerSum::skew().

Matrix< T > & resize size_t  rows,
size_t  cols,
const T  initialValue
[inline, inherited]
 

Definition at line 133 of file MatrixImplementation.hpp.

Matrix< T > & resize size_t  rows,
size_t  cols
[inline, inherited]
 

Resizes the matrix to rows*cols.

Warning:
YOUR DATA MAY NOT BE RETAINED!!!

Definition at line 123 of file MatrixImplementation.hpp.

Referenced by SolverWMS::Compute(), NEDUtil::compute(), ENUUtil::compute(), Matrix< int >::operator=(), SRIFilter::Reset(), SimpleKalmanFilter::Reset(), and GeodeticFrames::ResolveRotation().

T RMS const ConstVectorBase< T, BaseClass > &  l  ) 
 

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().

Matrix<T> rotation angle,
int  axis
throw (MatrixException) [inline]
 

Return a rotation matrix [dimensioned 3x3, inverse() = transpose()] for the rotation through angle radians about axis number (= 1, 2 or 3).

Definition at line 381 of file MatrixOperators.hpp.

References GPSTK_THROW.

Referenced by GeodeticFrames::ECEFtoInertial(), GeodeticFrames::PolarMotion(), and GeodeticFrames::PreciseEarthRotation().

ConstMatrixRowSlice< T > row size_t  rowNum,
size_t  colNum = 0
const [inline, inherited]
 

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().

ConstMatrixRowSlice< T > row size_t  rowNum,
const std::slice &  s
const [inline, inherited]
 

A const reference slice of a row with a given std::slice.

Definition at line 80 of file MatrixImplementation.hpp.

MatrixRowSlice< T > rowRef size_t  rowNum,
size_t  colNum = 0
[inline, inherited]
 

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().

MatrixRowSlice< T > rowRef size_t  rowNum,
const std::slice &  s
[inline, inherited]
 

A reference slice of a row with a given std::slice.

Definition at line 67 of file MatrixImplementation.hpp.

T RSS const ConstVectorBase< T, BaseClass > &  l  ) 
 

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().

Vector<T> sin const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Examples:
example11.cpp, example13.cpp, and example7.cpp.

Definition at line 62 of file VectorOperators.hpp.

Referenced by Geodetic::asECEF(), ECEF::asGeodetic(), Position::azimuthGeodetic(), gpstk::CIS2CTS(), NEDUtil::compute(), ENUUtil::compute(), EOPPrediction::computeEOP(), Position::convertCartesianToGeodetic(), Position::convertGeocentricToGeodetic(), Position::convertGeodeticToCartesian(), Position::convertGeodeticToGeocentric(), Position::convertSphericalToCartesian(), gpstk::CrudeSolarPosition(), PendulumIntegrator::derivative(), NBTropModel::dry_mapping_function(), GGHeightTropModel::dry_mapping_function(), GGTropModel::dry_mapping_function(), Position::elevationGeodetic(), gpstk::gamma(), Geodetic::Geodetic(), IonoModel::getCorrection(), Position::getIonosphericPiercePoint(), MoonPosition::getPositionCIS(), IonexStore::iono_mapping_function(), gpstk::lngamma(), gpstk::LunarPosition(), GCATTropModel::mapping_function(), Position::radiusEarth(), gpstk::SolarPosition(), EngEphemeris::svRelativity(), EngEphemeris::svXvt(), AlmOrbit::svXvt(), NBTropModel::wet_mapping_function(), GGHeightTropModel::wet_mapping_function(), and GGTropModel::wet_mapping_function().

Vector<T> sinh const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 61 of file VectorOperators.hpp.

T slowDet const ConstMatrixBase< T, BaseClass > &  l  )  [inline]
 

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().

Vector<T> sqrt const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Examples:
example10.cpp, example13.cpp, and example8.cpp.

Definition at line 63 of file VectorOperators.hpp.

Referenced by AllanDeviation::AllanDeviation(), Geodetic::asECEF(), StudentDistribution::cdf(), gpstk::CrudeSolarPosition(), PowerSum::dump(), SolidTides::getSolidTide(), SolverPPP::getWeightFactor(), Triple::mag(), main(), StudentDistribution::pdf(), ComputeDOP::Process(), RandNorm(), gpstk::stats(), EngEphemeris::svRelativity(), EngEphemeris::svXvt(), AlmOrbit::svXvt(), and Triple::unitVector().

T sum const ConstVectorBase< T, BaseClass > &  l  )  [inline]
 

Returns the sum of the elements of the vector.

Definition at line 62 of file VectorBaseOperators.hpp.

Referenced by AllanDeviation::AllanDeviation(), LUDecomp::backSub(), gpstk::dot(), SRI::getState(), gpstk::inverseUT(), gpstk::LagrangeInterpolating2ndDerivative(), gpstk::Robust::MEstimate(), gpstk::normCol(), gpstk::normF(), Householder::operator()(), CholeskyCrout::operator()(), gpstk::SrifMU(), gpstk::UTtimesTranspose(), and VectorTest().

Vector<T> tan const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 64 of file VectorOperators.hpp.

Vector<T> tanh const ConstVectorBase< T, BaseClass > &  x  ) 
 

performs func on each element of x, returning a new vector

Definition at line 65 of file VectorOperators.hpp.

T trace const ConstMatrixBase< T, BaseClass > &  m  )  throw (MatrixException) [inline]
 

Returns the trace of the matrix.

Definition at line 87 of file MatrixBaseOperators.hpp.

References GPSTK_THROW, and index().

Matrix<T> transpose const ConstMatrixBase< T, BaseClass > &  m  )  [inline]
 

Returns a matrix that is m transposed.

Definition at line 288 of file MatrixOperators.hpp.

Referenced by PolyFit< double >::Add(), SRI::addAPrioriInformation(), PRSolution::AutonomousPRSolution(), SVD::backSub(), SolverWMS::Compute(), SolverLMS::Compute(), Bancroft::Compute(), PreciseRange::ComputeAtTransmitTime(), gpstk::DMsmootherUpdateWithControl(), gpstk::inverseChol(), gpstk::inverseCholesky(), MatrixTest1(), MatrixTest3(), MatrixTest4(), MatrixTest5(), MatrixTest6(), MatrixTest9(), CholeskyCrout::operator()(), SVD::operator()(), SRI::permute(), ComputeDOP::Process(), GeodeticFrames::ResolveRotation(), gpstk::upperCholesky(), and SolarSystem::WGS84Position().


Generated on Thu Mar 11 03:31:08 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1