Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Classes | Functions
Saf::Math::Algebra Namespace Reference

Implementations of various objects from algebra. More...

Namespaces

namespace  Eigenvectors
 Eigenvectors and eigenvalues computation routines.

Classes

class  Hyperplane
 Class implementing general N-dimensional plane from linear algebra. More...
class  Matrix
 Class representing general matrix object from linear algebra. More...
class  SquareMatrix
 Class representing square matrices from linear algebra. More...
class  Vector
 Class representing vector object from linear algebra. More...

Functions

template<class T >
ClockwiseAngle (const Vector< 2, T > &v1, const Vector< 2, T > &v2)
 Calculates the clockwise angle between two 2D vectors.
template<class T >
Vector< 3, T > CrossProduct (const Vector< 3, T > &v1, const Vector< 3, T > &v2)
 Cross product of two 3D vectors.
template<class T >
Gcd (T a, T b)
 Greates common divisor.
template<class T >
Gcd (T a, T b, T c)
 Greates common divisor.
template<class FwdIter >
Type::IteratorTraits< FwdIter >
::ValType 
Gcd (FwdIter begin, FwdIter end)
 Greates common divisor of a sequence of values.
template<class T >
Lcm (T a, T b)
 Least common multiple.
template<class T >
Lcm (T a, T b, T c)
 Least common multiple.
template<class FwdIter >
Type::IteratorTraits< FwdIter >
::ValType 
Lcm (FwdIter begin, FwdIter end)
 Least common multiple of a sequence of values.
template<Size N, Size M, class T >
Matrix< N, M, T > operator* (const T &v, const Matrix< N, M, T > &m)
 Multiplication by scalar.
template<Size N, class T >
Vector< N, T > operator* (const T &val, const Vector< N, T > &v)
 Vector by scalar multiplication operator.
template<Size N, Size M, class T >
Matrix< N, M, T > operator/ (const T &v, const Matrix< N, M, T > &m)
 Division by scalar.
template<Size N, class T >
Vector< N, T > operator/ (const T &val, const Vector< N, T > &v)
 Inverse vector by scalar division operator.

Detailed Description

Implementations of various objects from algebra.


Function Documentation

template<class T >
T Saf::Math::Algebra::ClockwiseAngle ( const Vector< 2, T > &  v1,
const Vector< 2, T > &  v2 
)

Calculates the clockwise angle between two 2D vectors.

template<class T >
Vector<3,T> Saf::Math::Algebra::CrossProduct ( const Vector< 3, T > &  v1,
const Vector< 3, T > &  v2 
)

Cross product of two 3D vectors.

template<class T >
T Saf::Math::Algebra::Gcd ( a,
b 
)

Greates common divisor.

template<class T >
T Saf::Math::Algebra::Gcd ( a,
b,
c 
)

Greates common divisor.

template<class FwdIter >
Type::IteratorTraits<FwdIter>::ValType Saf::Math::Algebra::Gcd ( FwdIter  begin,
FwdIter  end 
)

Greates common divisor of a sequence of values.

template<class T >
T Saf::Math::Algebra::Lcm ( a,
b 
)

Least common multiple.

template<class T >
T Saf::Math::Algebra::Lcm ( a,
b,
c 
)

Least common multiple.

template<class FwdIter >
Type::IteratorTraits<FwdIter>::ValType Saf::Math::Algebra::Lcm ( FwdIter  begin,
FwdIter  end 
)

Least common multiple of a sequence of values.

template<Size N, Size M, class T >
Matrix<N,M,T> Saf::Math::Algebra::operator* ( const T &  v,
const Matrix< N, M, T > &  m 
)

Multiplication by scalar.

template<Size N, class T >
Vector<N,T> Saf::Math::Algebra::operator* ( const T &  val,
const Vector< N, T > &  v 
)

Vector by scalar multiplication operator.

template<Size N, Size M, class T >
Matrix<N,M,T> Saf::Math::Algebra::operator/ ( const T &  v,
const Matrix< N, M, T > &  m 
)

Division by scalar.

template<Size N, class T >
Vector<N,T> Saf::Math::Algebra::operator/ ( const T &  val,
const Vector< N, T > &  v 
)

Inverse vector by scalar division operator.