# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1253423979 25200
# Node ID 43d3d87939158609b8fea71bd463a910f38378e9
# Parent 3fbb6450cf15097808d57a643ec3826e19eba8c0
trac 6964 -- implement computation of Dirichlet character of irreducible cuspidal modular symbols space
diff -r 3fbb6450cf15 -r 43d3d8793915 sage/modular/modsym/subspace.py
|
a
|
b
|
|
| 493 | 493 | EXAMPLES:: |
| 494 | 494 | |
| 495 | 495 | sage: f = ModularSymbols(Gamma1(13),2,sign=1).cuspidal_subspace().decomposition()[0] |
| 496 | | sage: a = f.diamond_bracket_operator(2).matrix(); a |
| 497 | | [ 1 1] |
| 498 | | [-1 0] |
| 499 | | sage: a^2 |
| 500 | | [ 0 1] |
| 501 | | [-1 -1] |
| | 496 | sage: a = f.diamond_bracket_operator(2).matrix() |
| | 497 | sage: a.charpoly() |
| | 498 | x^2 - x + 1 |
| 502 | 499 | sage: a^12 |
| 503 | 500 | [1 0] |
| 504 | 501 | [0 1] |