#include "config.hpp"
#include "exception.hpp"
#include "factory.hpp"
#include "std_import.hpp"
Go to the source code of this file.
Namespaces | |
namespace | Arageli |
Functions | |
template<typename T1, typename T2> | |
int | Arageli::cmp (const T1 &a, const T2 &b) |
Performs Arageli like comparision. | |
template<typename T> | |
int | Arageli::sign (const T &x) |
Sign of element. | |
template<typename T> | |
bool | Arageli::is_even (const T &x) |
Returns true if x is even. | |
template<typename T> | |
bool | Arageli::is_odd (const T &x) |
Returns true if x is odd. | |
template<typename T1, typename T2> | |
bool | Arageli::is_divisible (const T1 &a, const T2 &b) |
Returns true if a is divisible by b. | |
template<typename T> | |
bool | Arageli::is_positive (const T &x) |
Returns true if x is greater then null. | |
template<typename T> | |
bool | Arageli::is_negative (const T &x) |
Returns true if x is less then null. | |
template<typename T> | |
bool | Arageli::is_integer (const T &x) |
Returns true if x is integer. |