util/Vector.h File Reference

Go to the source code of this file.

Classes

class  Vector< N, T >
 A vector. More...

Typedefs

typedef Vector< 3, double > Vector3d

Functions

template<size_t N, typename T >
Vector< N, T > const operator+ (Vector< N, T > const &a, Vector< N, T > const &b)
template<size_t N, typename T >
Vector< N, T > const operator- (Vector< N, T > const &a, Vector< N, T > const &b)
template<size_t N, typename T >
Vector< N, T > const operator* (Vector< N, T > const &a, T s)
template<size_t N, typename T >
Vector< N, T > const operator* (T s, Vector< N, T > const &a)
template<size_t N, typename T >
Vector< N, T > const operator/ (Vector< N, T > const &a, T s)
template<size_t N, typename T >
bool operator== (Vector< N, T > const &a, Vector< N, T > const &b)
template<size_t N, typename T >
bool operator!= (Vector< N, T > const &a, Vector< N, T > const &b)


Typedef Documentation

typedef Vector<3, double> Vector3d

Definition at line 301 of file Vector.h.


Function Documentation

template<size_t N, typename T >
bool operator!= ( Vector< N, T > const &  a,
Vector< N, T > const &  b 
) [inline]

Parameters:
a Vector a
b Vector b
Returns:
false if a equals b, true otherwise

Definition at line 296 of file Vector.h.

template<size_t N, typename T >
Vector<N,T> const operator* ( s,
Vector< N, T > const &  a 
) [inline]

Parameters:
s Factor 2 (Scalar)
a Factor 1 (Vector)
Returns:
Scalar product of a * b

Definition at line 255 of file Vector.h.

template<size_t N, typename T >
Vector<N,T> const operator* ( Vector< N, T > const &  a,
s 
) [inline]

Parameters:
a Factor 1 (Vector)
s Factor 2 (Scalar)
Returns:
Scalar product of a * b

Definition at line 242 of file Vector.h.

template<size_t N, typename T >
Vector<N,T> const operator+ ( Vector< N, T > const &  a,
Vector< N, T > const &  b 
) [inline]

Parameters:
a Summand 1
b Summand 2
Returns:
a + b

Definition at line 216 of file Vector.h.

template<size_t N, typename T >
Vector<N,T> const operator- ( Vector< N, T > const &  a,
Vector< N, T > const &  b 
) [inline]

Parameters:
a Subtrahend 1
b Subtrahend 2
Returns:
a - b

Definition at line 229 of file Vector.h.

template<size_t N, typename T >
Vector<N,T> const operator/ ( Vector< N, T > const &  a,
s 
) [inline]

Parameters:
a Factor 1 (Vector)
s Factor 2 (Scalar)
Returns:
Scalar product of a * (1/b)

Definition at line 268 of file Vector.h.

template<size_t N, typename T >
bool operator== ( Vector< N, T > const &  a,
Vector< N, T > const &  b 
) [inline]

Parameters:
a Vector a
b Vector b
Returns:
true if a equals b, false otherwise

Definition at line 281 of file Vector.h.


Generated on Sun Nov 30 23:45:40 2008 for Modular Motion Processor by  doxygen 1.5.7.1