Givaro
|
#include <givdegree.h>
Public Types | |
enum | { DEGPOLYZERO = -1 } |
typedef long | value_type |
Public Member Functions | |
Degree (long a=DEGPOLYZERO) | |
long | value () const |
Degree | operator+ (const Degree &d) const |
Degree | operator- (const Degree &d) const |
Degree | operator* (const Degree &d) const |
Degree | operator/ (const Degree &d) const |
Degree & | operator+= (const Degree &d) |
Degree & | operator-= (const Degree &d) |
Degree & | operator*= (const Degree &d) |
Degree & | operator/= (const Degree &d) |
Degree | operator<< (const int i) const |
Degree | operator>> (const int i) const |
Degree & | operator<<= (const int i) |
Degree & | operator>>= (const int i) |
long | operator++ () |
long | operator-- () |
long | operator++ (int) |
long | operator-- (int) |
int | operator== (const Degree &d) const |
int | operator!= (const Degree &d) const |
int | operator<= (const Degree &d) const |
int | operator< (const Degree &d) const |
int | operator>= (const Degree &d) const |
int | operator> (const Degree &d) const |
int | operator== (const long &d) const |
int | operator!= (const long &d) const |
int | operator<= (const long &d) const |
int | operator< (const long &d) const |
int | operator>= (const long &d) const |
int | operator> (const long &d) const |
Data Fields | |
long | _deg |
Static Public Attributes | |
static const long | deginfty = Degree::DEGPOLYZERO |
Friends | |
std::ostream & | operator<< (std::ostream &o, const Degree &d) |
std::istream & | operator>> (std::istream &i, Degree &d) |
examples/FiniteField/GF128.C, examples/FiniteField/GFirreducible.C, examples/Polynomial/highorder.C, examples/Polynomial/isirred.C, examples/Polynomial/isprimitive.C, examples/Polynomial/pol_arith.C, examples/Polynomial/pol_eval.C, examples/Polynomial/pol_factor.C, examples/Polynomial/PolynomialCRT.C, and examples/Polynomial/trunc_arith.C.
typedef long value_type |
Degree | ( | long | a = DEGPOLYZERO | ) | [inline] |
long value | ( | ) | const [inline] |
Degree operator<< | ( | const int | i | ) | const [inline] |
Degree operator>> | ( | const int | i | ) | const [inline] |
Degree& operator<<= | ( | const int | i | ) | [inline] |
Degree& operator>>= | ( | const int | i | ) | [inline] |
long operator++ | ( | ) | [inline] |
long operator-- | ( | ) | [inline] |
long operator++ | ( | int | ) | [inline] |
long operator-- | ( | int | ) | [inline] |
int operator== | ( | const Degree & | d | ) | const [inline] |
int operator!= | ( | const Degree & | d | ) | const [inline] |
int operator<= | ( | const Degree & | d | ) | const [inline] |
int operator< | ( | const Degree & | d | ) | const [inline] |
int operator>= | ( | const Degree & | d | ) | const [inline] |
int operator> | ( | const Degree & | d | ) | const [inline] |
int operator== | ( | const long & | d | ) | const [inline] |
int operator!= | ( | const long & | d | ) | const [inline] |
int operator<= | ( | const long & | d | ) | const [inline] |
int operator< | ( | const long & | d | ) | const [inline] |
int operator>= | ( | const long & | d | ) | const [inline] |
int operator> | ( | const long & | d | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | o, |
const Degree & | d | ||
) | [friend] |
std::istream& operator>> | ( | std::istream & | i, |
Degree & | d | ||
) | [friend] |
const long deginfty = Degree::DEGPOLYZERO [static] |
long _deg |