#include <gf.h>
Collaboration diagram for SPUC::gf:

Public Member Functions | |
| gf () | |
| Constructor. | |
| gf (int qvalue) | |
| Constructor. | |
| gf (int qvalue, int inexp) | |
| Constructor. | |
| gf (const gf &ingf) | |
| Copy constructor. | |
| void | set (int qvalue, int inexp) |
| gf(q) equals alpha ^ inexp | |
| void | set (int qvalue, const bvec &vectorspace) |
| gf(q) equals the element that corresponds to the given vector space. The format is (...,c,b,a), where the element x is given as x=...+c*alpha^2+b*alpha+a. | |
| void | set_size (int qvalue) |
| set q=2^mvalue | |
| int | get_size () const |
| Return q. | |
| bvec | get_vectorspace () const |
| Returns the vector space representation of gf(q). | |
| int | get_value () const |
| Returns the alpha exponent. | |
| int | operator== (const gf &ingf) const |
| Equality check. | |
| int | operator!= (const gf &ingf) const |
| Not-equality check. | |
| void | operator= (const gf &ingf) |
| gf(q) equals ingf | |
| void | operator= (const int inexp) |
| gf(q) equals alpha^inexp | |
| void | operator+= (const gf &ingf) |
| sum of two gf(q) | |
| gf | operator+ (const gf &ingf) const |
| sum of two gf(q) | |
| void | operator-= (const gf &ingf) |
| Difference of two gf(q), same as sum for q=2^m. | |
| gf | operator- (const gf &ingf) const |
| Difference of two gf(q), same as sum for q=2^m. | |
| void | operator *= (const gf &ingf) |
| product of two gf(q) | |
| gf | operator * (const gf &ingf) const |
| product of two gf(q) | |
| void | operator/= (const gf &ingf) |
| division of two gf(q) | |
| gf | operator/ (const gf &ingf) const |
| product of two gf(q) | |
Friends | |
| ostream & | operator<< (ostream &os, const gf &ingf) |
| Output stream for gf(q). | |
|
|
Constructor.
|
|
|
Constructor.
Here is the call graph for this function: ![]() |
|
||||||||||||
|
Constructor.
Here is the call graph for this function: ![]() |
|
|
Copy constructor.
|
|
|
Return q.
|
|
|
Returns the alpha exponent.
|
|
|
Returns the vector space representation of gf(q). The format is (...,c,b,a), where the element x is given as x=...+c*alpha^2+b*alpha+a. |
|
|
product of two gf(q)
|
|
|
product of two gf(q)
|
|
|
Not-equality check.
|
|
|
sum of two gf(q)
|
|
|
sum of two gf(q)
|
|
|
Difference of two gf(q), same as sum for q=2^m.
|
|
|
Difference of two gf(q), same as sum for q=2^m.
|
|
|
product of two gf(q)
|
|
|
division of two gf(q)
|
|
|
gf(q) equals alpha^inexp
|
|
|
gf(q) equals ingf
|
|
|
Equality check.
|
|
||||||||||||
|
gf(q) equals the element that corresponds to the given vector space. The format is (...,c,b,a), where the element x is given as x=...+c*alpha^2+b*alpha+a.
|
|
||||||||||||
|
gf(q) equals alpha ^ inexp
Here is the call graph for this function: ![]() |
|
|
set q=2^mvalue
|
|
||||||||||||
|
Output stream for gf(q).
|
1.4.4