| 1 | initial version |
For .coefficient() method to work correctly the expression needs to be expanded first:
WW23(ggg,1,7).expand().coefficient(p1,1).coefficient(q1,1)
However, in the given context I'd rather recommend to use PolynomialRing and/or PowerSeriesRing rather symbolic ring.
| 2 | No.2 Revision |
For .coefficient() method to work correctly the a symbolic expression needs to be expanded first:
WW23(ggg,1,7).expand().coefficient(p1,1).coefficient(q1,1)
However, in the given context I'd rather recommend to use PolynomialRing and/or PowerSeriesRing rather than symbolic ring.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.