|
Simple Application Framework
1
|
Common functions from number theory.
Go to the source code of this file.
Namespaces | |
| namespace | Saf |
| Global library namespace. | |
| namespace | Saf::Math |
| Mathematical functions and structures. | |
| namespace | Saf::Math::Algebra |
| Implementations of various objects from algebra. | |
Functions | |
| template<class T > | |
| T | Saf::Math::Algebra::Gcd (T a, T b) |
| Greates common divisor. | |
| template<class T > | |
| T | Saf::Math::Algebra::Gcd (T a, T b, T 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 (T a, T b) |
| Least common multiple. | |
| template<class T > | |
| T | Saf::Math::Algebra::Lcm (T a, T b, T 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. | |
Common functions from number theory.
1.8.0