[sage-support] Re: plotting a matrix with pixels corresponding to entries

2009-11-10 Thread Robert Bradshaw
On Nov 10, 2009, at 11:25 PM, Jonathan Bober wrote: > Does anyone know how to plot a matrix so that each pixel in the output > picture corresponds precisely to an entry in the matrix? > > To see the problem that I have, you might see the odd results that > occur > when you do: > > M = zero_matr

[sage-support] plotting a matrix with pixels corresponding to entries

2009-11-10 Thread Jonathan Bober
Does anyone know how to plot a matrix so that each pixel in the output picture corresponds precisely to an entry in the matrix? To see the problem that I have, you might see the odd results that occur when you do: M = zero_matrix(GF(2), 1000) sage: M 1000 x 1000 dense matrix over Finite Field of

[sage-support] tour_algebra "Solving Differential Equations" 1st example output: x(t) instead of: (c + e^t)*e^(-t)

2009-11-10 Thread YarDYar
Hi All, I'm running Sage 4.2 on Ubuntu 9.04. I installed it by downloading the tarball, compiling and installing into my home ~/ directory. Everything seems to work fine. Maxima is doing Laplace transforms, and I'm seeing the correct output with the LaTeX interpreter. I'm working through the tutor

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-10 Thread Christian
Thankx for your quick response!!! I wish I could help, I'm weak in programming... specially in c++, but I'm trying to learn as fast as possible (~10 years according to Peter Norvig)... Anyway I will try a little bit. About extension fields, do you mean GF(p^w) where p is prime? I though fflas-ff

[sage-support] Re: TinyMCE jsmath issue?

2009-11-10 Thread Jason Grout
kcrisman wrote: > > > On Nov 10, 5:22 pm, "ma...@mendelu.cz" wrote: >> No problem in 4.2. Does this depend on the size ot the window? Does >> reload of the page help? > > Yes, it does depend on the size of the window. I do not think reload > helps. > > The problem is that there is not even a

[sage-support] Re: TinyMCE jsmath issue?

2009-11-10 Thread kcrisman
On Nov 10, 5:22 pm, "ma...@mendelu.cz" wrote: > No problem in 4.2. Does this depend on the size ot the window? Does > reload of the page help? Yes, it does depend on the size of the window. I do not think reload helps. The problem is that there is not even a horizontal scroll bar! Maybe Mit

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-10 Thread Martin Albrecht
On Wednesday 11 November 2009, Christian wrote: > Hi, > I read that the c++ library fflas-ffpack is included in Sage, I'm > trying to find the commands which use it, but so far I couldn't find > them. > > I want to implement the finite field 2^8 using fflas-ffpack. > > With the normal commands i

[sage-support] Help in Finite Fields using FFLAS-FFPACK

2009-11-10 Thread Christian
Hi, I read that the c++ library fflas-ffpack is included in Sage, I'm trying to find the commands which use it, but so far I couldn't find them. I want to implement the finite field 2^8 using fflas-ffpack. With the normal commands in Sage(I guess Givaro), that would be: F. = GF(2)[] # The get t

[sage-support] Re: SyntaxError running standalone script

2009-11-10 Thread Christian
Thanks a lot, what a silly misunderstanding!!! On Nov 10, 4:43 pm, "Justin C. Walker" wrote: > Hi, > > On Nov 9, 2009, at 22:51 , Christian wrote: > > > I'm trying to run a standalone sage/python script, but I got invalid > > syntax when running from console. The same commands work without any

[sage-support] Re: %hide conflicting with @interact?

2009-11-10 Thread ma...@mendelu.cz
The same problem. Seems that the cell with source code gets focus when updating interact and as a consequence, the source is shown despite the %hide flag. Robert On 10 lis, 21:41, kcrisman wrote: > I'm not sure if this is a bug.  Can others reproduce that @interact > combined with %hide is ...

[sage-support] Re: TinyMCE jsmath issue?

2009-11-10 Thread ma...@mendelu.cz
No problem in 4.2. Does this depend on the size ot the window? Does reload of the page help? Robert On 10 lis, 21:44, kcrisman wrote: > Dear support, > > Not sure if this is fixed in the new notebook spkg or not... it > definitely still happens in 4.2.1.alpha0. > > Try pasting the following tex

[sage-support] Re: Sage upgrade

2009-11-10 Thread Marshall Hampton
do: sage -upgrade from a shell and after downloading some information you will have to respond "Y" to whether you want to continue. If sage isn't installed into your path then you would do "/path/to/sage/sage -upgrade" where / path/to/sage/ is whatever the sage install directory is. But I thin

[sage-support] Re: Sage upgrade

2009-11-10 Thread Alex Ghitza
On Tue, Nov 10, 2009 at 01:27:18PM -0800, Mikie wrote: > > Simon, > > No, I haven't any upgrade. > Could you tell explicitly what to do for the upgrade? > Just type sage -upgrade and see what happens. Alex -- Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne -- Aust

[sage-support] Re: Sage upgrade

2009-11-10 Thread Mikie
Simon, No, I haven't any upgrade. Could you tell explicitly what to do for the upgrade? On Nov 10, 1:33 pm, Simon King wrote: > Hi Mikie > > On 10 Nov., 16:42, Mikie wrote: > > > I would like to upgrade from 3.2 to 4.??.  The computer is a P4 in my > > network.  When I did 3.2 I tried the bina

[sage-support] TinyMCE jsmath issue?

2009-11-10 Thread kcrisman
Dear support, Not sure if this is fixed in the new notebook spkg or not... it definitely still happens in 4.2.1.alpha0. Try pasting the following text into a TinyMCE cell: On the other hand, since each of these primes is greater than $n$ but they are all in the list of numbers from $n$ to $2n$,

[sage-support] %hide conflicting with @interact?

2009-11-10 Thread kcrisman
I'm not sure if this is a bug. Can others reproduce that @interact combined with %hide is ... difficult to achieve? Especially once you update the interact. E.g., %hide @interact def _(n=2): f(x,y)=x^n show(plot(f,(x,0,1))) seems to exhibit this behavior in 4.2 and 4.2.1.alpha0. Than

[sage-support] plot3d can't handle log(0)

2009-11-10 Thread kcrisman
In 4.2.1.alpha0: sage: f(x,y)=ln(x) sage: P=plot3d(f,(x,0,1),(y,0,1)) sage: P ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (16, 0)) -

[sage-support] Re: Sage upgrade

2009-11-10 Thread Simon King
Hi Mikie On 10 Nov., 16:42, Mikie wrote: > I would like to upgrade from 3.2 to 4.??.  The computer is a P4 in my > network.  When I did 3.2 I tried the binaries and they didn't work. > Something about didn't work on this computer.  Thus I used the source > and 8 hours later it finished. So, you

[sage-support] Re: Sage upgrade

2009-11-10 Thread Marshall Hampton
It might help if you describe the operating system you are using. If the P4 is missing some instruction types then you might have to build from source. -M. Hampton On Nov 10, 9:42 am, Mikie wrote: > I would like to upgrade from 3.2 to 4.??. The computer is a P4 in my > network. When I did 3.

[sage-support] Sage upgrade

2009-11-10 Thread Mikie
I would like to upgrade from 3.2 to 4.??. The computer is a P4 in my network. When I did 3.2 I tried the binaries and they didn't work. Something about didn't work on this computer. Thus I used the source and 8 hours later it finished. If I use the binaries for 4.?? will they now work. Thanx

[sage-support] Re: Arch Linux and Sage

2009-11-10 Thread Tim Joseph Dumol
Just as an update, I've done the reformat and I still have the problem. I'm guessing there's something wrong with my system setup. - Tim Joseph Dumol http://timdumol.com On Sun, Nov 8, 2009 at 1:29 PM, Tim Joseph Dumol wrote: > I installed libfplll from the AUR, and copied it from the system.

[sage-support] Re: Arch Linux and Sage

2009-11-10 Thread Dr. David Kirkby
William Stein wrote: > On Mon, Nov 9, 2009 at 5:35 PM, Dr. David Kirkby > wrote: >> William Stein wrote: >> >>> We will switch to requiring gfortran by default soon. For now do >>> >>> export SAGE_FORTRAN=/usr/bin/gfortran >>> export SAGE_FORTRAN_LIB="/usr/lib/libgfortran.so" >> What happ