glotzmath Namespace Reference

Defines mathematical constructs, such as vectors and tensors used throughout Glotzilla, and other algorithms. More...


Classes

class  Algorithm
class  ConstHistogram
 a histogram with a constant size More...
class  DynamicHistogram
 A dynamically sized histogram. More...
class  Filter1d
 A histogram. More...
class  Function1d
 A histogram. More...
class  Matrix
class  Vector
class  Histogram
class  MapAverage
class  MapHistogram
 A histogram. More...
class  Mean
 Computes the mean of a collection of data. More...
class  RandomNumberGenerator
 Defines an interface for Random Number Generators (RNGs) used in Glotzilla. More...
class  RunningAverageFilter1d
 A histogram. More...
class  StaticHistogram
 a histogram with a constant size, static memory More...
class  Statistic
 A histogram. More...
class  StatisticsTool
class  StdLibErand48
class  Variance
 Computes the mean of a collection of data. More...

Typedefs

typedef Mean Average
typedef double gfloat
typedef double glotz_flt
typedef Vector
< glotz_flt, 3 > 
glotz_vec
typedef Vector
< glotz_flt, 3 > 
Vector3
typedef Vector
< glotz_flt, 4 > 
glotz_quat
typedef Matrix
< glotz_flt, 3, 3 > 
glotz_3mat
typedef Matrix
< glotz_flt, 4, 4 > 
glotz_4mat
typedef std::map
< int, double > 
FunctionOfTime
 Maps a in integer time to the corresponding value of the function at that time.
typedef std::map
< double, Function1d
MatrixFunction

Functions

std::ostream & operator<< (std::ostream &os, Function1d &f)
std::istream & operator>> (std::istream &is, Function1d &f)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator+ (const Matrix< TYPE, ROWS, COLS > &lhs, const SCALAR rhs)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator+ (const SCALAR lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator- (const Matrix< TYPE, ROWS, COLS > &lhs, const SCALAR rhs)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator- (const SCALAR lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator * (const Matrix< TYPE, ROWS, COLS > &lhs, const SCALAR rhs)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator * (const SCALAR lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator/ (const Matrix< TYPE, ROWS, COLS > &lhs, const SCALAR rhs)
template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator/ (const SCALAR lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator+ (const Matrix< TYPE, ROWS, COLS > &lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator- (const Matrix< TYPE, ROWS, COLS > &lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator * (const Matrix< TYPE, ROWS, COLS > &lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Matrix< TYPE, ROWS,
COLS > 
operator/ (const Matrix< TYPE, ROWS, COLS > &lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Vector< TYPE, ROWS > Product (const Matrix< TYPE, ROWS, COLS > &lhs, const Vector< TYPE, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Vector< TYPE, COLS > Product (const Vector< TYPE, ROWS > &lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Vector< TYPE, ROWS > operator * (const Matrix< TYPE, ROWS, COLS > &lhs, const Vector< TYPE, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
Vector< TYPE, COLS > operator * (const Vector< TYPE, ROWS > &lhs, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
void Product (const Matrix< TYPE, ROWS, COLS > &lhs, const Vector< TYPE, COLS > &rhs, Vector< TYPE, ROWS > &prod)
template<class TYPE, int ROWS, int COLS>
void Product (const Vector< TYPE, ROWS > &lhs, const Matrix< TYPE, ROWS, COLS > &rhs, Vector< TYPE, COLS > &prod)
template<class TYPE, int ROWS, int COLS>
std::ostream & operator<< (std::ostream &os, Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
std::ostream & operator<< (std::ostream &os, const Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int ROWS, int COLS>
std::istream & operator>> (std::istream &is, Matrix< TYPE, ROWS, COLS > &rhs)
template<class TYPE, int SIZE>
std::ostream & operator<< (std::ostream &os, Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
std::ostream & operator<< (std::ostream &os, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
std::istream & operator>> (std::istream &is, Vector< TYPE, SIZE > &rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator+ (const Vector< TYPE, SIZE > &lhs, const FLOAT_T rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator+ (const FLOAT_T lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator- (const Vector< TYPE, SIZE > &lhs, const FLOAT_T rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator- (const FLOAT_T lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator * (const Vector< TYPE, SIZE > &lhs, const FLOAT_T rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator * (const FLOAT_T lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator/ (const Vector< TYPE, SIZE > &lhs, const FLOAT_T rhs)
template<class TYPE, class FLOAT_T, int SIZE>
Vector< TYPE, SIZE > operator/ (const FLOAT_T lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
Vector< TYPE, SIZE > operator+ (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
Vector< TYPE, SIZE > operator- (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
Vector< TYPE, SIZE > operator * (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
Vector< TYPE, SIZE > operator/ (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
Vector< TYPE, SIZE > CrossProduct (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
TYPE DotProduct (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
TYPE InnerProduct (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
TYPE SquaredDistanceBetween (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
template<class TYPE, int SIZE>
TYPE DistanceBetween (const Vector< TYPE, SIZE > &lhs, const Vector< TYPE, SIZE > &rhs)
Function1d ComputeDerivative (Function1d &f)
Function1d ComputeDerivative (Function1d &f, int order)
Function1d Differentiate (Function1d &f)


Detailed Description

Defines mathematical constructs, such as vectors and tensors used throughout Glotzilla, and other algorithms.

Typedef Documentation

typedef Mean glotzmath::Average

typedef std::map<int, double> glotzmath::FunctionOfTime

Maps a in integer time to the corresponding value of the function at that time.

typedef double glotzmath::gfloat

typedef Matrix<glotz_flt, 3, 3> glotzmath::glotz_3mat

typedef Matrix<glotz_flt, 4, 4> glotzmath::glotz_4mat

typedef double glotzmath::glotz_flt

typedef Vector<glotz_flt, 4> glotzmath::glotz_quat

typedef Vector<glotz_flt, 3> glotzmath::glotz_vec

typedef std::map<double, Function1d > glotzmath::MatrixFunction

typedef Vector<glotz_flt, 3> glotzmath::Vector3


Function Documentation

Function1d glotzmath::ComputeDerivative ( Function1d &  f,
int  order 
)

Function1d glotzmath::ComputeDerivative ( Function1d &  f  ) 

template<class TYPE, int SIZE>
Vector<TYPE, SIZE> glotzmath::CrossProduct ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

Function1d glotzmath::Differentiate ( Function1d &  f  ) 

template<class TYPE, int SIZE>
TYPE glotzmath::DistanceBetween ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, int SIZE>
TYPE glotzmath::DotProduct ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, int SIZE>
TYPE glotzmath::InnerProduct ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator * ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator * ( const FLOAT_T  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator * ( const Vector< TYPE, SIZE > &  lhs,
const FLOAT_T  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
Vector<TYPE, COLS> glotzmath::operator * ( const Vector< TYPE, ROWS > &  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
Vector<TYPE, ROWS> glotzmath::operator * ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const Vector< TYPE, COLS > &  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator * ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator * ( const SCALAR  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator * ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const SCALAR  rhs 
) [inline]

template<class TYPE, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator+ ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator+ ( const FLOAT_T  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator+ ( const Vector< TYPE, SIZE > &  lhs,
const FLOAT_T  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator+ ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator+ ( const SCALAR  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator+ ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const SCALAR  rhs 
) [inline]

template<class TYPE, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator- ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator- ( const FLOAT_T  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator- ( const Vector< TYPE, SIZE > &  lhs,
const FLOAT_T  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator- ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator- ( const SCALAR  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator- ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const SCALAR  rhs 
) [inline]

template<class TYPE, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator/ ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator/ ( const FLOAT_T  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, class FLOAT_T, int SIZE>
Vector<TYPE, SIZE> glotzmath::operator/ ( const Vector< TYPE, SIZE > &  lhs,
const FLOAT_T  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator/ ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator/ ( const SCALAR  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, class SCALAR, int ROWS, int COLS>
Matrix<TYPE, ROWS, COLS> glotzmath::operator/ ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const SCALAR  rhs 
) [inline]

template<class TYPE, int SIZE>
std::ostream& glotzmath::operator<< ( std::ostream &  os,
const Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, int SIZE>
std::ostream& glotzmath::operator<< ( std::ostream &  os,
Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
std::ostream& glotzmath::operator<< ( std::ostream &  os,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
std::ostream& glotzmath::operator<< ( std::ostream &  os,
Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

std::ostream& glotzmath::operator<< ( std::ostream &  os,
Function1d &  f 
)

template<class TYPE, int SIZE>
std::istream& glotzmath::operator>> ( std::istream &  is,
Vector< TYPE, SIZE > &  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
std::istream& glotzmath::operator>> ( std::istream &  is,
Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

std::istream& glotzmath::operator>> ( std::istream &  is,
Function1d &  f 
)

template<class TYPE, int ROWS, int COLS>
void glotzmath::Product ( const Vector< TYPE, ROWS > &  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs,
Vector< TYPE, COLS > &  prod 
) [inline]

template<class TYPE, int ROWS, int COLS>
void glotzmath::Product ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const Vector< TYPE, COLS > &  rhs,
Vector< TYPE, ROWS > &  prod 
) [inline]

template<class TYPE, int ROWS, int COLS>
Vector<TYPE, COLS> glotzmath::Product ( const Vector< TYPE, ROWS > &  lhs,
const Matrix< TYPE, ROWS, COLS > &  rhs 
) [inline]

template<class TYPE, int ROWS, int COLS>
Vector<TYPE, ROWS> glotzmath::Product ( const Matrix< TYPE, ROWS, COLS > &  lhs,
const Vector< TYPE, COLS > &  rhs 
) [inline]

template<class TYPE, int SIZE>
TYPE glotzmath::SquaredDistanceBetween ( const Vector< TYPE, SIZE > &  lhs,
const Vector< TYPE, SIZE > &  rhs 
) [inline]


Generated on Tue Feb 24 20:53:39 2009 by  doxygen 1.5.3