[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] Re: Concise way of filtering elements of a permutation group

2010-10-02 Thread Nils Bruin
On Oct 2, 1:55 pm, Rafael rvf0...@gmail.com wrote: Rafael rvf0...@gmail.com writes: Hi to all, Let us say that reg is a permutation group. I want to find the elements of reg that send 12 to 1. Is there a better way to do that (in one step, say) than: sage: def f(x): return x(12)==1