Scl< T > Struct Template Reference

List of all members.

Detailed Description

template<class T>
struct Scl< T >

The general interface for scalars.

Definition at line 33 of file Scl.h.

Public Member Functions

T & rep ()
const T & rep () const
 Scl (const Scl< T > &b)
 Scl (double d)
 Scl (signed long sl)
 Scl (unsigned long ul)
 Scl (int si)
 Scl (const char *string, unsigned int b=10)
 Scl (const T &r)
template<class S>
 Scl (const VAL< S > &P)
 ~Scl ()
bool operator== (const Scl< T > &rhs) const
bool operator!= (const Scl< T > &rhs) const
bool operator> (const Scl< T > &rhs) const
bool operator>= (const Scl< T > &rhs) const
bool operator< (const Scl< T > &rhs) const
bool operator<= (const Scl< T > &rhs) const
bool operator== (long sl) const
bool operator!= (long sl) const
bool operator> (long sl) const
bool operator>= (long sl) const
bool operator< (long sl) const
bool operator<= (long sl) const
bool operator== (int si) const
bool operator!= (int si) const
bool operator> (int si) const
bool operator>= (int si) const
bool operator< (int si) const
bool operator<= (int si) const
bool operator== (unsigned long ul) const
bool operator!= (unsigned long ul) const
bool operator> (unsigned long ul) const
bool operator>= (unsigned long ul) const
bool operator< (unsigned long ul) const
bool operator<= (unsigned long ul) const
Scl< T > & operator= (const Scl< T > &rhs)
Scl< T > & operator+= (const Scl< T > &rhs)
Scl< T > & operator-= (const Scl< T > &rhs)
Scl< T > & operator *= (const Scl< T > &rhs)
Scl< T > & operator/= (const Scl< T > &rhs)
Scl< T > & operator%= (const Scl< T > &rhs)
Scl< T > & operator= (int rhs)
Scl< T > & operator+= (int rhs)
Scl< T > & operator-= (int rhs)
Scl< T > & operator *= (int rhs)
Scl< T > & operator/= (int rhs)
Scl< T > & operator%= (int rhs)
Scl< T > & operator= (unsigned long rhs)
Scl< T > & operator+= (unsigned long rhs)
Scl< T > & operator-= (unsigned long rhs)
Scl< T > & operator *= (unsigned long rhs)
Scl< T > & operator/= (unsigned long rhs)
Scl< T > & operator%= (unsigned long rhs)
Scl< T > & operator *= (double rhs)
Scl< T > & operator+= (double rhs)
Scl< T > & operator= (long rhs)
Scl< T > & operator+= (long rhs)
Scl< T > & operator-= (long rhs)
Scl< T > & operator *= (long rhs)
Scl< T > & operator/= (long rhs)
template<class S>
Scl< T > & operator= (const VAL< S > &x)
template<class S>
Scl< T > & operator+= (const VAL< S > &x)
template<class S>
Scl< T > & operator-= (const VAL< S > &x)
template<class S>
Scl< T > & operator *= (const VAL< S > &x)
template<class S>
Scl< T > & operator/= (const VAL< S > &x)
template<class S>
Scl< T > & operator%= (const VAL< S > &x)
void operator++ ()
void operator-- ()
void Div2Exp (unsigned long exponent_of_2)
void GCD (const Scl< T > &b2)
void Mod2Exp (unsigned long exponent_of_2)
void Mul2Exp (unsigned long exponent_of_2)
void PowMod (const Scl< T > &exp, const Scl< T > &m)
void PowMod (unsigned long exp, const Scl< T > &m)
void abs ()
void factorial (unsigned long n)
Scl< T > & negate ()
Scl< T > & pow (unsigned long exp)
Scl< T > & pow (unsigned long base, unsigned long exp)
void quo (const Scl< T > &divisor)
void quo (unsigned long divisor)
void rem (const Scl< T > &divisor)
unsigned long rem (unsigned long divisor)
void sqrt ()
template<>
 Scl (void)
template<>
 Scl (const Scl< MPC > &b)
template<>
 Scl (const MPC &b)
template<>
 Scl (double d)
template<>
 Scl (signed long int sl)
template<>
 Scl (unsigned long int ul)
template<>
 Scl (int si)
template<>
 Scl (const char *string, unsigned int base)
template<>
Scl< MPC > & operator= (const Scl< MPC > &rhs)
template<>
Scl< MPC > & operator+= (const Scl< MPC > &rhs)
template<>
Scl< MPC > & operator-= (const Scl< MPC > &rhs)
template<>
Scl< MPC > & operator *= (const Scl< MPC > &rhs)
template<>
Scl< MPC > & operator/= (const Scl< MPC > &rhs)
template<>
Scl< MPC > & operator= (unsigned long ul)
template<>
Scl< MPC > & operator+= (unsigned long ul)
template<>
Scl< MPC > & operator-= (unsigned long ul)
template<>
Scl< MPC > & operator *= (int ul)
template<>
Scl< MPC > & operator *= (unsigned long ul)
template<>
Scl< MPC > & operator/= (unsigned long ul)
template<>
Scl< MPC > & operator= (long sl)
template<>
Scl< MPC > & operator+= (long sl)
template<>
Scl< MPC > & operator-= (long sl)
template<>
Scl< MPC > & operator *= (long sl)
template<>
Scl< MPC > & operator/= (long sl)
template<>
Scl< MPC > & operator= (int si)
template<>
Scl< MPC > & operator+= (int i)
template<>
Scl< MPC > & pow (unsigned long exp)
template<>
bool operator== (const Scl< MPC > &x) const
template<>
bool operator!= (int si) const

Public Attributes

data


The documentation for this struct was generated from the following files:

SYNAPS DOCUMENTATION
logo