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
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 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
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