Simple Application Framework
1
|
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 > | |
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 > | |
T | Gcd (T a, T b) |
Greates common divisor. | |
template<class T > | |
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 > | |
T | Lcm (T a, T b) |
Least common multiple. | |
template<class T > | |
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. |
Implementations of various objects from algebra.
T Saf::Math::Algebra::ClockwiseAngle | ( | const Vector< 2, T > & | v1, |
const Vector< 2, T > & | v2 | ||
) |
Calculates the clockwise angle between two 2D vectors.
Vector<3,T> Saf::Math::Algebra::CrossProduct | ( | const Vector< 3, T > & | v1, |
const Vector< 3, T > & | v2 | ||
) |
Cross product of two 3D vectors.
T Saf::Math::Algebra::Gcd | ( | T | a, |
T | b | ||
) |
Greates common divisor.
T Saf::Math::Algebra::Gcd | ( | T | a, |
T | b, | ||
T | c | ||
) |
Greates common divisor.
Type::IteratorTraits<FwdIter>::ValType Saf::Math::Algebra::Gcd | ( | FwdIter | begin, |
FwdIter | end | ||
) |
Greates common divisor of a sequence of values.
T Saf::Math::Algebra::Lcm | ( | T | a, |
T | b | ||
) |
Least common multiple.
T Saf::Math::Algebra::Lcm | ( | T | a, |
T | b, | ||
T | c | ||
) |
Least common multiple.
Type::IteratorTraits<FwdIter>::ValType Saf::Math::Algebra::Lcm | ( | FwdIter | begin, |
FwdIter | end | ||
) |
Least common multiple of a sequence of values.
Matrix<N,M,T> Saf::Math::Algebra::operator* | ( | const T & | v, |
const Matrix< N, M, T > & | m | ||
) |
Multiplication by scalar.
Vector<N,T> Saf::Math::Algebra::operator* | ( | const T & | val, |
const Vector< N, T > & | v | ||
) |
Vector by scalar multiplication operator.
Matrix<N,M,T> Saf::Math::Algebra::operator/ | ( | const T & | v, |
const Matrix< N, M, T > & | m | ||
) |
Division by scalar.
Vector<N,T> Saf::Math::Algebra::operator/ | ( | const T & | val, |
const Vector< N, T > & | v | ||
) |
Inverse vector by scalar division operator.