[sage-support] query on PowerSeriesRing(CC)

2016-05-25 Thread keith.briggs
Why do I get this? R.=PowerSeriesRing(CC) I=R.gen() f=2*I*z+2*z^2 print(f.dict()) > {2: 4.00} Thanks, Keith -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, s

[sage-support] http://doc.sagemath.org/html/en/reference/power_series/sage/rings/power_series_ring.html

2016-05-25 Thread keith.briggs
At http://doc.sagemath.org/html/en/reference/power_series/sage/rings/power_series_ring.html, where is it documented how and where ZZ, QQ, CC etc. are defined? If I search for these, nothing shows up. The base_ring has to be a commutative ring, but these are elsewhere in the docs called Z, Q,

[sage-support] sage still does not build on Fedora 14

2011-01-27 Thread keith.briggs
Sage 4.6.1 was supposed to fix a build problem on Fedora 14 i686, but it does not. After about 8 hours compiling, I get: ... from sage/rings/polynomial/polynomial_zz_pex.cpp:204: /home/kbriggs/Downloads/sage-4.6.1/local//include/NTL/vec_GF2.h: In function ‘long int NTL::vec_GF

[sage-support] Doumentation bug at http://www.sagemath.org/doc/thematic_tutorials/linear_programming.html

2011-01-26 Thread keith.briggs
http://www.sagemath.org/doc/thematic_tutorials/linear_programming.html says: The Knapsack problem is the following: given a collection of items having both a weight and a usefulness, we would like to fill a bag whose capacity is constrained through maximizing the usefulness of the items it conta