AlVin
1.0
A C++ implementation of the Vinberg's algorithm for Q, Q( sqrt(d) ) and Q( cos(2 pi / 7) )
|
This class represents one fraction x0^2 / (e,e) More...
#include <alvinfraction.h>
Public Member Functions | |
AlVinFraction (AlgebraicInteger *aiX0, AlgebraicInteger *aiNorm2, AlgebraicInteger *aiNumerator) | |
bool | operator== (AlVinFraction const &) const |
bool | operator!= (AlVinFraction const &) const |
Public Attributes | |
AlgebraicInteger * | aiX0 |
x_0 | |
AlgebraicInteger * | aiNorm2 |
(e,e) | |
AlgebraicInteger * | aiNumerator |
When normalized with respect to the biggest possible value for (e,e): x_0^2 / (e,e) = ( x_0^2 * (e_max, e_max)/(e,e) ) / (e_max, e_max) | |
Friends | |
bool | operator< (const AlVinFraction &f1, const AlVinFraction &f2) |
ostream & | operator<< (ostream &, AlVinFraction const &) |
This class represents one fraction x0^2 / (e,e)