Re: [sage-support] Re: Making a movie or animation with 3d plotting of sage: animate() fails with 3D

2012-04-09 Thread Nils Bruin
On Monday, April 9, 2012 7:30:59 AM UTC-7, Tobias Weich wrote: > > Great! This hack is not only useful for 3D-Animation but also solves a > problem I encountered some days ago: Making an animation where each frame > consists of an graphics_array. I'd really appreciate if animate would be > impro

Re: [sage-support] Re: How to substitute a list of equalities into a formula?

2012-04-09 Thread ancienthart
Hah. Thanks Michael and P. I first learnt Python in the 1.5 era, so there's a few of the nice new syntax features I'm still not up to speed on. Any reason why .subs doesn't accept multiple arguments? Would there be any point in requesting .subs_expr become the new default on trac? Joal Heagney

Re: [sage-support] Equal lists may not be equal

2012-04-09 Thread Alastair Irving
On 09/04/2012 21:02, Kent Morrison wrote: In this snippet of Sage code I believe that pos is [1,2,3]. But mod(1,p) in pos evaluates to False, while mod(1,p) in [1,2,3] evaluates to True. However 1%p in pos and 1%p in [1,2,3] both evaluate to True. This behaviour can be understood by using the ty

Re: [sage-support] Equal lists may not be equal

2012-04-09 Thread Starx
Note: sage: type(mod(1,p)) sage: type(1%p)   sage: type(pos[0]) There is no coercion between rationals and integers modulo a number. There is on the other hand a coercion from integers to integers modulo a number. In all the comparisons that returned true Sage knows how to coerce both sides in

[sage-support] Equal lists may not be equal

2012-04-09 Thread Kent Morrison
In this snippet of Sage code I believe that pos is [1,2,3]. But mod(1,p) in pos evaluates to False, while mod(1,p) in [1,2,3] evaluates to True. However 1%p in pos and 1%p in [1,2,3] both evaluate to True. p=7 pos=[1..(p-1)/2] pos==[1,2,3], mod(1,p) in pos, mod(1,p) in [1..3], 1%p

[sage-support] `GLIBC_2.14' not found' running make on 64-bit Sage 4.8 Install: ???

2012-04-09 Thread rvaug...@gmail.com
Trying to install 64-bit Sage 4.8. Run make, receive... "Installing c_lib python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /spare/sage/sage-4.8-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/libpython2.6.so.1.0) ERROR: There was an error building c_lib." When

Re: [sage-support] Re: Making a movie or animation with 3d plotting of sage: animate() fails with 3D

2012-04-09 Thread Tobias Weich
Great! This hack is not only useful for 3D-Animation but also solves a problem I encountered some days ago: Making an animation where each frame consists of an graphics_array. I'd really appreciate if animate would be improved this way. However, being quite new to Sage and Python I will not be

Re: [sage-support] Re: Cross-reference in LaTeX

2012-04-09 Thread P Purkayastha
On Thursday, March 29, 2012 11:00:12 AM UTC+8, Raniere Gaia Silva wrote: > > Jason, > thanks for the tip. It work. > > You will open a trac for it? I can do it? > > Thanks, > > Raniere Gaia > http://trac.sagemath.org/sage_trac/ticket/12819 -- To post to this group, send email to sage-support@