[sage-support] Re: export notebooks/worksheets to LaTeX?

2010-04-20 Thread Wilfried Huss
Tom wrote: I would like to use parts of my Sage notebooks for lecture notes. Is there a script or some other convenient way of exporting Sage notebooks to LaTeX? You can use http://www.bitbucket.org/whuss/sws2tex/ -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: list vs. integer instances

2010-04-20 Thread Harald Schilly
On Apr 20, 1:05 am, wb torree...@yahoo.com wrote: Turning this around: is there a 'list-like' data type in sage which has 'true' assignment, i.e. copying all its content ? That's actually a python question. I think it would be rather confusing if the assignments would change, especially if it

[sage-support] Re: Sage/Maxima desolve_rk4 problem

2010-04-20 Thread ma...@mendelu.cz
On 20 dub, 09:39, jvkersch joris.vankerscha...@gmail.com wrote: Thanks Robert, this seems to be the problem. I wish I were a lisp programmer so that I could dive into Maxima and put in a call to coerce-float-fun myself, but while I'm eager to tinker with this, I'm not sure I can be

[sage-support] Re: export notebooks/worksheets to LaTeX?

2010-04-20 Thread kcrisman
On Apr 20, 4:00 am, Wilfried Huss h...@finanz.math.tugraz.at wrote: Tom wrote: I would like to use parts of my Sage notebooks for lecture notes. Is there a script or some other convenient way of exporting Sage notebooks to LaTeX? You can use http://www.bitbucket.org/whuss/sws2tex/

Re: [sage-support] Re: list vs. integer instances

2010-04-20 Thread Laurent
that makes sense - I guess I was expecting lists to behave like list *classes* which have an overloaded assignment operator. Turning this around: is there a 'list-like' data type in sage which has 'true' assignment, i.e. copying all its content The module copy allows you to make a real copy as

[sage-support] Re: export notebooks/worksheets to LaTeX?

2010-04-20 Thread Wilfried Huss
kcrisman wrote: On Apr 20, 4:00 am, Wilfried Huss h...@finanz.math.tugraz.at wrote: Tom wrote: I would like to use parts of my Sage notebooks for lecture notes. Is there a script or some other convenient way of exporting Sage notebooks to LaTeX? You can use

[sage-support] problems installing mayavi2/ets

2010-04-20 Thread leonard . jeloaica
Hello, I'm trying to install ETS package from http://sage.math.washington.edu/home/jsp/SPKGS/ETS/;. I have built x86-64 version of sage-4.3.5 on opensuse 11.2. ~ gcc -v gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) I followed the instructions from the README.txt file available

Re: [sage-support] Re: list vs. integer instances

2010-04-20 Thread Robert Bradshaw
On Apr 19, 2010, at 4:05 PM, wb wrote: On Apr 20, 12:25 am, Robert Bradshaw rober...@math.washington.edu wrote: On Apr 19, 2010, at 2:50 PM, wb wrote: coming from C I'm confused about this behavior in assignment: Since you know C, it may make sense to think of lists as being similar to

[sage-support] benchmarking eigenvectors()

2010-04-20 Thread wb
I must be doing something wrong, trying to get eigenvectors for a rather small hermitean 64x64 matrix 'm' (it is listed at the end) When I try to do sage: m.eigenvalues() sage departs into 'nirvana' and I have interupted the evaluation after several minutes When I do this in mathematica for the

[sage-support] Re: benchmarking eigenvectors()

2010-04-20 Thread Jason Grout
On 04/20/2010 03:29 PM, wb wrote: I must be doing something wrong, trying to get eigenvectors for a rather small hermitean 64x64 matrix 'm' (it is listed at the end) When I try to do sage: m.eigenvalues() sage departs into 'nirvana' and I have interupted the evaluation after several minutes

[sage-support] Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread Alex Leone
sage: g1 = var('g1') sage: g1 g1 sage: g1.full_simplify() (-1)^k*k/(4*k^2 - 1) Where is the k coming from?!! - Alex -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options,

[sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread Jason Grout
On 04/20/2010 10:44 PM, Alex Leone wrote: sage: g1 = var('g1') sage: g1 g1 sage: g1.full_simplify() (-1)^k*k/(4*k^2 - 1) Where is the k coming from?!! - Alex It looks like it happens with variables starting with 'd', 'f', 'g', and 'h': sage: v=var(,.join(['%s1'%i for i in

[sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread Jason Grout
On 04/20/2010 10:44 PM, Alex Leone wrote: sage: g1 = var('g1') sage: g1 g1 sage: g1.full_simplify() (-1)^k*k/(4*k^2 - 1) Where is the k coming from?!! Probably from some package that the calculus version of maxima loads:

Re: [sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread William Stein
On Tue, Apr 20, 2010 at 9:22 PM, Jason Grout jason-s...@creativetrax.comwrote: On 04/20/2010 10:44 PM, Alex Leone wrote: sage: g1 = var('g1') sage: g1 g1 sage: g1.full_simplify() (-1)^k*k/(4*k^2 - 1) Where is the k coming from?!! Probably from some package that the calculus version

[sage-support] How do I solve several equations for some variables eliminating some other variables?

2010-04-20 Thread eric948470
Hello, Suppose I have several equations, f(a,b,c,d,e) == 0 g(a,b,c,d,e) == 0 h(a,b,c,d,e) == 0 Suppose I want to solve for a, but not have d and e in the solutions. How would I do that? In Mathematica I would use, Solve[ { f(a,b,c,d,e)==0, g(a,b,c,d,e)==0, h(a,b,c,d,e)==0 }, a, {d,e} ] How

[sage-support] Finite fields and tab completion?

2010-04-20 Thread Alasdair
Here's a little problem: G=GF(2,'a') Then G.{tab key} given me 116 options. Suppose I make a further field: F.x=GF(2^4,name='x',modulus=a^4+a+1) Then F.{tab key} does nothing. I'm sure this is new behaviour (I'm using version 4.3.2) - but how do I create a field whose name allows tab

Re: [sage-support] Finite fields and tab completion?

2010-04-20 Thread Mike Hansen
On Tue, Apr 20, 2010 at 9:59 PM, Alasdair amc...@gmail.com wrote: does nothing.  I'm sure this is new behaviour (I'm using version 4.3.2) - but how do I create a field whose name allows tab completion of its methods? I believe this is specific to 4.3.2. The patch which fixes this and was

[sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread Jason Grout
On 04/20/2010 11:27 PM, William Stein wrote: We *really* need to change the maxima(symbolic expression) command to return something with all the variables prepended with _SAGE_, and undo this when converting back. Is there a ticket about this already? It would be really easy to implement. I

Re: [sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread William Stein
On Tue, Apr 20, 2010 at 10:55 PM, Jason Grout jason-s...@creativetrax.comwrote: On 04/20/2010 11:27 PM, William Stein wrote: We *really* need to change the maxima(symbolic expression) command to return something with all the variables prepended with _SAGE_, and undo this when converting