[sage-support] Strange error

2014-10-23 Thread João Alberto
I am running the following Python example from the book Learning Python, from Mark Lutz and David Ascher, but Sage is returning a TypeError after presenting the correct response. Can anyone explain me why? I've found this very strange. sage: class Commuter: : def __init__(self, val):

[sage-support] Strange error using R pexpect interface?

2011-06-06 Thread kcrisman
I'm using R matrices to use an R program and then do things with it in Sage. For some reason Sage doesn't get the right answer for matrices above a certain size. The first one is right (it gives the space that is in the returned string) while the second one makes no sense; ZZ='' is what actually

[sage-support] strange error message when using maxima

2010-10-02 Thread Oscar Gerardo Lazo Arjona
When I use sage from the command line I get the following error message: sage: integral(x,x) 'import site' failed; use -v for traceback Traceback (most recent call last): File /home/oscar/sage-4.5.2/local/bin/sage-cleaner, line 21, in module import os, shutil, sys, time, socket File

[sage-support] Strange Error in Converting polynomials to vector

2007-10-01 Thread Ahmad
I just tried this and when the field is bigger or equal to 2^16 I got following error: 2^15: Fine! K.a = GF(2^15, 'a') V = K.vector_space() z = (a+1)^13 V(z) (1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0) 2^16: Error! K.a = GF(2^16, 'a') V = K.vector_space() z = (a+1)^13 V(z) Exception