CoxIter  1.3
CoxIter - Computing invariants of hyperbolic Coxeter groups
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GrowthRate Class Reference

To compute the growth rate. More...

#include <growthrate.h>

Public Member Functions

 GrowthRate ()
 
 ~GrowthRate ()
 
GrowthRate_Result grrComputations (vector< mpz_class > polynomial, const bool &onlyGrowthRate=false)
 

Private Member Functions

void irreducibleFactors (const vector< mpz_class > &polynomial)
 
void minimalRoot ()
 
long int numberRootsUnitCircle (GEN gPol)
 

Private Attributes

vector< GEN > t_POLfactors
 
GEN gGrowthRate
 Maximal positive root of the polynomial. More...
 
GEN gMaximalRoots
 Roots of the polynomial which has the maximal root. More...
 
long int indexMaximalRoot
 Factor which contains the minimal root. More...
 
GEN gEpsilon
 Some small number (typically 10^-50) More...
 
long int pariPrecision
 Given as prec (typically 8) More...
 

Detailed Description

To compute the growth rate.

To compute the signature of a matrix (PARI format)

Constructor & Destructor Documentation

◆ GrowthRate()

GrowthRate::GrowthRate ( )

◆ ~GrowthRate()

GrowthRate::~GrowthRate ( )

Member Function Documentation

◆ grrComputations()

GrowthRate_Result GrowthRate::grrComputations ( vector< mpz_class >  polynomial,
const bool &  onlyGrowthRate = false 
)

◆ irreducibleFactors()

GrowthRate::irreducibleFactors ( const vector< mpz_class > &  polynomial)
private

Factor the polynomial polynomial and store the factors into t_POLfactors

Parameters
polynomial(vector<mpz_class >) The polynomial (coefficients in GMPlib)

◆ minimalRoot()

GrowthRate::minimalRoot ( )
private

Find which fact has the smallest (positive, <1) real root and store the index into indexMinimalRoot

◆ numberRootsUnitCircle()

GrowthRate::numberRootsUnitCircle ( GEN  gPol)
private

For a palindromic polynomial, try to compute the number of zeros on the unit circle

Parameters
gPol(GEN, PARI polynomial)
Returns
Number of roots on the unit circle of -1 if we cannot decide

Member Data Documentation

◆ gEpsilon

GEN GrowthRate::gEpsilon
private

Some small number (typically 10^-50)

◆ gGrowthRate

GEN GrowthRate::gGrowthRate
private

Maximal positive root of the polynomial.

◆ gMaximalRoots

GEN GrowthRate::gMaximalRoots
private

Roots of the polynomial which has the maximal root.

◆ indexMaximalRoot

long int GrowthRate::indexMaximalRoot
private

Factor which contains the minimal root.

◆ pariPrecision

long int GrowthRate::pariPrecision
private

Given as prec (typically 8)

◆ t_POLfactors

vector<GEN> GrowthRate::t_POLfactors
private

Irreducible factors of the denominator of the growth series (only those having a root between 0 and 1)


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