Opened 14 years ago

Closed 14 years ago

#691 closed defect (fixed)

[with patch] .coefficients() for EisensteinSeries does not return requested coefficients

Reported by: mhansen Owned by: mhansen
Priority: major Milestone: sage-2.8.5
Component: modular forms Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

sage: e = G.gen()
sage: E = EisensteinForms(e, 3)
sage: v = E.eisenstein_series()
sage: f = v[0]
sage: f
15/11*zeta10^3 - 9/11*zeta10^2 - 26/11*zeta10 - 10/11 + q + (4*zeta10 + 1)*q^2 + (-9*zeta10^3 + 1)*q^3 + (16*zeta10^2 + 4*zeta10 + 1)*q^4 + (25*zeta10^3 - 25*zeta10^2 + 25*zeta10 - 24)*q^5 + O(q^6)
sage: f.coefficients([0,1,2,3,4])

[15/11*zeta10^3 - 9/11*zeta10^2 - 26/11*zeta10 - 10/11,
 1,
 4*zeta10 + 1,
 -9*zeta10^3 + 1,
 16*zeta10^2 + 4*zeta10 + 1]
sage: f.coefficients([0,1,2,3,4])
[15/11*zeta10^3 - 9/11*zeta10^2 - 26/11*zeta10 - 10/11]

Attachments (2)

691.patch (1 bytes) - added by mhansen 14 years ago.
691.2.patch (3.9 KB) - added by mhansen 14 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by mhansen

  • Owner changed from was to mhansen

comment:2 Changed 14 years ago by mhansen

Patch attached.

comment:3 Changed 14 years ago by mhansen

Actually, there is a problem with f._compute. Ignore the above patch for now.

Changed 14 years ago by mhansen

Changed 14 years ago by mhansen

comment:4 Changed 14 years ago by mhansen

Patch attached which fixes the issues.

comment:5 Changed 14 years ago by mabshoff

  • Summary changed from .coefficients() for EisensteinSeries does not return requested coefficients to [with patch] .coefficients() for EisensteinSeries does not return requested coefficients

comment:6 Changed 14 years ago by was

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.