11.3.1.1 HeckeAlgebra_anemic Objects

class HeckeAlgebra_anemic
Instances of class HeckeAlgebra_anemic have the following methods (in addition to inherited methods and special methods):

gens,$  $ hecke_operator,$  $ is_anemic

Further documentation:

gens( )

Return a generator over all Hecke operator $ T_n$ for $ n = 1, 2, 3, \ldots$ , with $ n$ coprime to the level. This is an infinite sequence.

sage: T = ModularSymbols(12,2).anemic_hecke_algebra()
sage: g = T.gens()
sage: g.next()
Hecke operator T_1 on Full Modular Symbols space for Gamma_0(12) of weight
2 with sign 0 and dimension 5 over Rational Field
sage: g.next()
Hecke operator T_5 on Full Modular Symbols space for Gamma_0(12) of weight
2 with sign 0 and dimension 5 over Rational Field

hecke_operator( n)

Return the $ n$ -th Hecke operator, for $ n$ any positive integer coprime to the level.

sage: T = ModularSymbols(Gamma1(5),3).anemic_hecke_algebra()
sage: T.hecke_operator(2)
Hecke operator T_2 on Full Modular Symbols space for Gamma_1(5) of weight 3
with sign 0 and dimension 4 over Rational Field
sage: T.hecke_operator(5)
Traceback (most recent call last):
...
IndexError: Hecke operator T_5 not defined in the anemic Hecke algebra

Instances of class HeckeAlgebra_anemic also have the following special methods:

__cmp__,$  $ __repr__,$  $ _latex_

See About this document... for information on suggesting changes.