[sage-support] pytables

2009-12-09 Thread Max
hi together, how can I install pytables into sage? I found it in some old presentations as a planed feature, but apparently it was dropped?! Or is there any other way to read hdf or netcdf files with sage? Thanks -- To post to this group, send email to sage-support@googlegroups.com To

Re: [sage-support] pytables

2009-12-09 Thread Tim Joseph Dumol
On Wed, Dec 9, 2009 at 4:48 PM, Max maahn...@googlemail.com wrote: hi together, how can I install pytables into sage? I found it in some old presentations as a planed feature, but apparently it was dropped?! Or is there any other way to read hdf or netcdf files with sage? Thanks -- To

[sage-support] MixedIntegerLinearProgram solver

2009-12-09 Thread hassan
Hi all I need to solve a LP so I have installed 'csc': sage: p.solve(solver='cbc') and then copy and paste the example in http://www.sagemath.org/doc/reference/sage/numerical/mip.htm that is: sage: p = MixedIntegerLinearProgram(maximization=True) sage: x = p.new_variable() sage:

[sage-support] problems with _tkagg in matplotlib

2009-12-09 Thread TDavis
I have set TkAgg as the matplotlib backend in my matplotlibrc resource file. I continue to have errors when I try to 'import pylab'. To make certain it was not a Tkinter issue, I tested Tkinter and re- installed matplotlib via ./sage -f matplotlib-0.99.1.p2 I'm running SLED 10.2 and built sage

[sage-support] Re: MixedIntegerLinearProgram solver

2009-12-09 Thread Nathann Cohen
Hello !!! Your problem comes from the fact that the CBC packages got updated very recently, and is compatible with the brand-new implementation of the MIP class in Sage... I guess you need to use the last Alpha version of Sage, or to wait until the next stable version is released. Sorry for the

[sage-support] Re: MixedIntegerLinearProgram solver

2009-12-09 Thread Nathann Cohen
A temporary solution is of course to use the FORMER version of the CBC package. To do so, please type : sage -f http://www-sop.inria.fr/members/Nathann.Cohen/cbc-2.3.p0.spkg But these early versions of MixedIntegerLinearProgram have been updated much since, so the best way for you is still to

[sage-support] Polynomial Prolem

2009-12-09 Thread Santanu Sarkar
Dear all, Suppose I have polynomials over rational(Q) field although coefficients are integer. I want to transform these polynomials over some finite field say GF(7). I write the following program which does not work. R.x,y=QQ[] f1=2*x-3*y-1 f2=x^2+y^2-5 R.x1,y1=ZZ[] f3=f1(x1,y1) f4=f2(x1,y1)

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-09 Thread Stan Schymanski
William Stein wrote: I like this proposal. In fact, it's basically what I just wrote above, and what I plan to implement, though the user interface should be more html-ish rather than latex-ish (i.e., a href... and no backslashes). William Yes, I noticed that you wrote the answer to

Re: [sage-support] Re: power series composition inverse

2009-12-09 Thread William Stein
On Mon, Dec 7, 2009 at 11:04 AM, Matt Bainbridge bainbridge.m...@gmail.com wrote: Thanks, William! I guess so far it only works over Q? --Matt It calls off to PARI, so it probably works (or can trivially be made to work) over any base that PARI supports. In case it isn't implemented in

Re: [sage-support] Re: power series composition inverse

2009-12-09 Thread Martin Rubey
William Stein wst...@gmail.com writes: On Mon, Dec 7, 2009 at 11:04 AM, Matt Bainbridge bainbridge.m...@gmail.com wrote: Thanks, William! I guess so far it only works over Q? --Matt It calls off to PARI, so it probably works (or can trivially be made to work) over any base that PARI

[sage-support] Running Sage on a 64-bit Scientific Linux machine

2009-12-09 Thread rvaug...@gmail.com
I want to run Sage on our 8-CPU, 64-bit Scientific Linux 4.8 machine. Yet there seems to be no 64-bit version of Sage specifically for Scientific Linux. What there is: Debian GNU, Ubuntu, openSUSE, Mandriva and three versions of Fedora. Not sure how to proceed. Will any of these run OK on

Re: [sage-support] Running Sage on a 64-bit Scientific Linux machine

2009-12-09 Thread William Stein
On Wed, Dec 9, 2009 at 9:03 AM, rvaug...@gmail.com rvaug...@gmail.com wrote: I want to run Sage on our 8-CPU, 64-bit Scientific Linux 4.8 machine. Yet there seems to be no 64-bit version of Sage specifically for Scientific Linux. What there is: Debian GNU, Ubuntu, openSUSE, Mandriva and three

[sage-support] Re: Integration of piecewise function

2009-12-09 Thread Sand Wraith
Does anyone know is this issue only for newest version? (may be I should use older version of sage) On 8 дек, 21:47, David Joyner wdjoy...@gmail.com wrote: Unfortunately, the piecewise class was written before the symbolic expressions class and has not kept pace. The obvious solution produced

[sage-support] Re: MixedIntegerLinearProgram solver

2009-12-09 Thread Hassan
Installing the former version result: --- AttributeErrorTraceback (most recent call last) /home/hassan/ipython console in module()

[sage-support] How to plot tree-dimensional array?

2009-12-09 Thread Eugene Goldberg
Hello, Could you please advice the way to plot three-dimensional array? Something like plot3d or counter_plot, but in case the data are already calculated in array and there is no way to call f(x,y). Best regards, Eugene. -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: power series composition inverse

2009-12-09 Thread Matt Bainbridge
Its easy enough to code this in sage. This seems to work over any field: def ps_inverse(f): if f.prec() is infinity: raise ValueError, series must have finite precision for reversion if f.valuation() != 1: raise ValueError, series must have valuation one for reversion

[sage-support] Re: How to plot tree-dimensional array?

2009-12-09 Thread Jason Grout
Eugene Goldberg wrote: Hello, Could you please advice the way to plot three-dimensional array? Something like plot3d or counter_plot, but in case the data are already calculated in array and there is no way to call f(x,y). Can you give an explicit example of input and what it should look

[sage-support] Re: How to plot tree-dimensional array?

2009-12-09 Thread John H Palmieri
On Dec 9, 11:05 am, Jason Grout jason-s...@creativetrax.com wrote: Eugene Goldberg wrote: Hello, Could you please advice the way to plot three-dimensional array? Something like plot3d or counter_plot, but in case the data are already calculated in array and there is no way to call

Re: [sage-support] Re: power series composition inverse

2009-12-09 Thread William Stein
On Wed, Dec 9, 2009 at 10:50 AM, Matt Bainbridge bainbridge.m...@gmail.com wrote: Its easy enough to code this in sage.  This seems to work over any field: Thanks. This is now http://trac.sagemath.org/sage_trac/ticket/7644 def ps_inverse(f):    if f.prec() is infinity:        raise

[sage-support] Re: How to plot tree-dimensional array?

2009-12-09 Thread Eugene Goldberg
Thank you both! Your examples and suggestions are very useful and it solved my problem. -- 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, visit this group at

[sage-support] Re: losing confidence in Sage notebooks

2009-12-09 Thread tmb
I think the point is that if an application has to store anything in a   user directory, a dot directory is a consistent one to create and use.   Most applications store data as actual files somewhere on the   filesystem, so the only stuff left to store is configuration data. The   notebook

[sage-support] Re: losing confidence in Sage notebooks

2009-12-09 Thread tmb
Moving the default out of the .sage folder by default would probably   not get accepted, but that wouldn't really fix your issues anyways   (and you can store the files in whatever folder you want right now).   Well, there is a whole bunch of issues, and you picked the least important. Merely

[sage-support] Re: losing confidence in Sage notebooks

2009-12-09 Thread tmb
Where do the crossreferences point?  Do I get an error and have to manually reassign all possible labels on the second version of the book? There is no right answer. Sometimes, I want uploads from different sources to be able to refer to each other's pages simply because they have the same

[sage-support] Re: losing confidence in Sage notebooks

2009-12-09 Thread tmb
They would (continue to) point at the already existing beezer. Beezer's book wouldn't explicitly reference beezer, since all references should be relative in that collection of worksheets. Yes, but then you probably sooner or later need a tool for merging two such collections of worksheets.

[sage-support] Re: How to import Python modules into Sage?

2009-12-09 Thread Le Fou Volant
First, thank you for help. Secondly, I tried to set SAGE_PATH but it didn't work. The packages I typically need are installed in: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- packages So, if I set SAGE_PATH to this directory, sage will display all sort of messages to

Re: [sage-support] Re: Short question about saving the source of a Sage notebook

2009-12-09 Thread William Stein
On Wed, Nov 25, 2009 at 11:10 AM, be bernhard.esslin...@db.com wrote: On 25 Nov., 04:10, William Stein wst...@gmail.com wrote:   (1) in sage = 4.2 snapshots are never saved in worksheet files.  I think they might be saved in older version. William That the snapshots are no more saved in SWS

[sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-09 Thread linuxgus
On the same track, if sage is built from source on Richard's eight-CPU machine, will it be able to take advantage of the multiple processor cores? If I remember correctly, in a previous thread here a few months ago, the answer was negative. If so, why? Sage is based on Python and Python's

[sage-support] Subtle Bug in Plot?

2009-12-09 Thread linuxgus
The past few days I installed Sage 4.2.1 from source on 64-bit Ubuntu karmic with stock kernel and I also installed the binary for the Atom N270 on a eeePC 1000, also running Ubuntu karmic (32 bit, as the Atom is a 32-bit processor). To test things out, I executed the one-line script

Re: [sage-support] Subtle Bug in Plot?

2009-12-09 Thread William Stein
On Wed, Dec 9, 2009 at 5:41 PM, linuxgus ka8...@amsat.org wrote: The past few days I installed Sage 4.2.1 from source on 64-bit Ubuntu karmic with stock kernel and I also installed the binary for the Atom N270 on a eeePC 1000, also running Ubuntu karmic (32 bit, as the Atom is a 32-bit

[sage-support] Re: Subtle Bug in Plot?

2009-12-09 Thread Jason Grout
linuxgus wrote: The past few days I installed Sage 4.2.1 from source on 64-bit Ubuntu karmic with stock kernel and I also installed the binary for the Atom N270 on a eeePC 1000, also running Ubuntu karmic (32 bit, as the Atom is a 32-bit processor). To test things out, I executed the one-line

[sage-support] Re: Subtle Bug in Plot?

2009-12-09 Thread Jason Grout
William Stein wrote: On Wed, Dec 9, 2009 at 5:41 PM, linuxgus ka8...@amsat.org wrote: The past few days I installed Sage 4.2.1 from source on 64-bit Ubuntu karmic with stock kernel and I also installed the binary for the Atom N270 on a eeePC 1000, also running Ubuntu karmic (32 bit, as the

[sage-support] Re: MixedIntegerLinearProgram solver

2009-12-09 Thread Nathann Cohen
I was a bit worried about it :-) You will find everything about the current Alpha there : http://groups.google.com/group/sage-release/browse_thread/thread/0020c82d825abe15/b52579bc51bc9a14?show_docid=b52579bc51bc9a14 Please remember to use the last versions of the spkg in this case -- i.e. the