I'm trying to build a power series, and when I call the function to build it, sage responds "Display all XXXX possiblities? (y or n)".
I hit "n", then the same command pops up and then computes the power series correctly. Is there some way to get it so I don't have to hit "n" (i.e. avoid the "Display all ..." completely) so I can automate this process? Thanks, -John ---------------------------------------------------------------------- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: P = 79 sage: m = 2 sage: upbound= integer_floor(P^m*(P-1)/10)+10 sage: R.<q> = PowerSeriesRing(IntegerModRing(P^m),upbound) sage: def EEbuild(bound): ....: EE = 1 - q -q2 +O(q^upbound) ....: for i in range(2,bound+1): ....: EE=EE+(-1)^i*(q^((1/2)*i*(3*i+1))+q^((1/2)*i*(3*i-1))) ....: return EE ....: sage: lil = integer_floor(sqrt(upbound*4/3)) + 10 sage: sage: ee = EEbuild(lil)+O(q^upbound) Display all 1859 possibilities? (y or n) sage: ee = EEbuild(lil)+O(q^upbound) sage: -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
