AlVin  1.0
A C++ implementation of the Vinberg's algorithm for Q, Q( sqrt(d) ) and Q( cos(2 pi / 7) )
Public Member Functions | Public Attributes | Friends | List of all members
AlVinFraction Class Reference

This class represents one fraction x0^2 / (e,e) More...

#include <alvinfraction.h>

Collaboration diagram for AlVinFraction:
Collaboration graph
[legend]

Public Member Functions

 AlVinFraction (AlgebraicInteger *aiX0, AlgebraicInteger *aiNorm2, AlgebraicInteger *aiNumerator)
 
bool operator== (AlVinFraction const &) const
 
bool operator!= (AlVinFraction const &) const
 

Public Attributes

AlgebraicIntegeraiX0
 x_0
 
AlgebraicIntegeraiNorm2
 (e,e)
 
AlgebraicIntegeraiNumerator
 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 &)
 

Detailed Description

This class represents one fraction x0^2 / (e,e)


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