I'd like to get input on how people has set up sage in academic
environments. To be more concrete, let me tell my ideas on how to set
up sage in my department, and what the problems are..
Currently, we have labs for exclusive use of the mathematics
department. Unfortunately, our lab computers all
What would be the best way, for students, to define functions of an
arbitrary (but fixed) number of variables?
What I am using right now is a function:
def makevars(prefix, n):
return var(' '.join([prefix+str(i) for i in range(n)]))
So, for example:
x=makevars('x',5)
Creates the 5 variabl
I'm trying to do image processing in Sage, and so far I have been able
to do something like this:
import sympy.thirdparty
pyglet = sympy.thirdparty.import_thirdparty('pyglet')
from pyglet import image
fimg = open('.jpg','rb')
img = image.load('hint.jpg',fimg)
w,h = img.width, img.height;
w,h
I d
I am using Sage for lab submissions in one of my courses. I have my
students email me their worksheets and then upload them to a user in
the server I create just for that (I have a sage server in my
institution, so I am not adding junk to any public server).
This works fine, but it would be really