#include "config.hpp"
#include <iostream>
#include <sstream>
#include "_utility.hpp"
#include "factory.hpp"
#include "intalg.hpp"
#include "std_import.hpp"
Go to the source code of this file.
Namespaces | |
namespace | Arageli |
Classes | |
struct | Arageli::residue_config_default< T, M > |
class | Arageli::residue< T, M, Config > |
Defines | |
#define | ARAGELI_RESIDUE_BINARY_OP(OP, OPASS) |
#define | ARAGELI_RESIDUE_LOGIC_OP(OP) |
Functions | |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
residue< T1, M1, Config1 > | Arageli::operator+ (residue< T1, M1, Config1 > a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
residue< T1, M1, Config1 > | Arageli::operator- (residue< T1, M1, Config1 > a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
residue< T1, M1, Config1 > | Arageli::operator * (residue< T1, M1, Config1 > a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
residue< T1, M1, Config1 > | Arageli::operator/ (residue< T1, M1, Config1 > a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
residue< T1, M1, Config1 > | Arageli::operator% (residue< T1, M1, Config1 > a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator== (const residue< T1, M1, Config1 > &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2> | |
bool | Arageli::operator== (const residue< T1, M1, Config1 > &a, const T2 &b) |
template<typename T1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator== (const T1 &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator!= (const residue< T1, M1, Config1 > &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2> | |
bool | Arageli::operator!= (const residue< T1, M1, Config1 > &a, const T2 &b) |
template<typename T1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator!= (const T1 &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator< (const residue< T1, M1, Config1 > &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2> | |
bool | Arageli::operator< (const residue< T1, M1, Config1 > &a, const T2 &b) |
template<typename T1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator< (const T1 &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator<= (const residue< T1, M1, Config1 > &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2> | |
bool | Arageli::operator<= (const residue< T1, M1, Config1 > &a, const T2 &b) |
template<typename T1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator<= (const T1 &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator> (const residue< T1, M1, Config1 > &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2> | |
bool | Arageli::operator> (const residue< T1, M1, Config1 > &a, const T2 &b) |
template<typename T1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator> (const T1 &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator>= (const residue< T1, M1, Config1 > &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2> | |
bool | Arageli::operator>= (const residue< T1, M1, Config1 > &a, const T2 &b) |
template<typename T1, typename T2, typename M2, typename Config2> | |
bool | Arageli::operator>= (const T1 &a, const residue< T2, M2, Config2 > &b) |
template<typename T1, typename M1, typename Config1, typename T2, typename M2, typename Config2> | |
int | Arageli::cmp (residue< T1, M1, Config1 > a, const residue< T2, M2, Config2 > &b) |
template<typename T, typename M, typename Config> | |
std::ostream & | Arageli::operator<< (std::ostream &out, const residue< T, M, Config > &x) |
template<typename T, typename M, typename Config> | |
std::istream & | Arageli::operator>> (std::istream &in, residue< T, M, Config > &x) |
template<typename T, typename M, typename Config> | |
const residue< T, M, Config > & | Arageli::abs (const residue< T, M, Config > &x) |
WARNING. It's implementation in "old style" because it doesn't use mixing computations. Be careful: in the neares future we plan to replace it to modern one with full support of the mixing computation engine.
Definition in file residue.hpp.
#define ARAGELI_RESIDUE_BINARY_OP | ( | OP, | |||
OPASS | ) |
Value:
template \ < \ typename T1, typename M1, typename Config1, \ typename T2, typename M2, typename Config2 \ > \ inline residue<T1, M1, Config1> operator OP \ (residue<T1, M1, Config1> a, const residue<T2, M2, Config2>& b) \ { return a OPASS b; }
Definition at line 230 of file residue.hpp.
#define ARAGELI_RESIDUE_LOGIC_OP | ( | OP | ) |
Value:
template \ < \ typename T1, typename M1, typename Config1, \ typename T2, typename M2, typename Config2 \ > \ inline bool operator OP \ (const residue<T1, M1, Config1>& a, \ const residue<T2, M2, Config2>& b) \ { return a.value() OP b.value(); } \ \ template \ < \ typename T1, typename M1, typename Config1, \ typename T2 \ > \ inline bool operator OP \ (const residue<T1, M1, Config1>& a, const T2& b) \ { return a.value() OP b; } \ \ template \ < \ typename T1, \ typename T2, typename M2, typename Config2 \ > \ inline bool operator OP \ (const T1& a, const residue<T2, M2, Config2>& b) \ { return a OP b.value(); }
Definition at line 247 of file residue.hpp.