CuspΒΆ
qetacusp.spad line 110 [edit on github]
Cusp implements representatives of cusps of a subgroup of $SL2Z$
- <=: (%, %) -> Boolean
from PartialOrder
- <: (%, %) -> Boolean
from PartialOrder
- >=: (%, %) -> Boolean
from PartialOrder
- >: (%, %) -> Boolean
from PartialOrder
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- cuspToMatrix: % -> Matrix Integer
cuspToMatrix(x)
returns a matrix gamma=[[a,b
],[c
,d
]] corresponding to the cusp (a:c).
- denom: % -> Integer
For
x=
(a:c) denom(x
) returnsc
. We assure that denom(x
)>=0
.
- hash: % -> SingleInteger
from SetCategory
- hashUpdate!: (HashState, %) -> HashState
from SetCategory
- infinity?: % -> Boolean
infinity?(x)
returnstrue
if and only ifx
is the cusp (1:0).
- infinity: () -> %
infinity()
returns the cusp (1:0).
- latex: % -> String
from SetCategory
- max: (%, %) -> %
from OrderedSet
- min: (%, %) -> %
from OrderedSet
- numer: % -> Integer
For
x=
(a:c) numer(x
) returns a.
- rational: % -> Fraction Integer
If not infinity?(
x
) then rational(x
) returns the rational number numer(x
)/denom(x
).
- smaller?: (%, %) -> Boolean
from Comparable