Re: [sage-devel] Re: problem/ possible bug with picewise constant functions

2015-02-17 Thread Pablo De Napoli
Many thanks Nils for your help. I think that is important that sage has consistent and easy to use interfaces, that functions do what most people would expect them to do at every place. Specially if we want it to be used in calculus classes, etc. Writing something like SR(0).function(x)

[sage-devel] Re: problem/ possible bug with picewise constant functions

2015-02-16 Thread Pablo De Napoli
, not? Pablo On Mon, Feb 16, 2015 at 10:46 AM, Pablo De Napoli pden...@gmail.com wrote: Hi, I'm having trouble with some piecewise constant functions. Suppose that I define f=Piecewise ([([0,1],0),([1,2],x-1)]) Then f.integral() works as expected, but f.derivative() will fail with TypeError

[sage-devel] problem/ possible bug with picewise constant functions

2015-02-16 Thread Pablo De Napoli
Hi, I'm having trouble with some piecewise constant functions. Suppose that I define f=Piecewise ([([0,1],0),([1,2],x-1)]) Then f.integral() works as expected, but f.derivative() will fail with TypeError: 'sage.rings.integer.Integer' object is not callable It seems that Sage does not

[sage-devel] OT: two events on

2014-09-25 Thread Pablo De Napoli
Hi, Just in case someone is interested, there will be two events in computational mathematics in Uruguay: school: http://cdsagenda5.ictp.it/full_display.php?email=0ida=a13262 workshop: https://www.fing.edu.uy/eventos/focm2014/ best regards Pablo -- You received this message because you are

Re: [sage-devel] OT: two events on

2014-09-25 Thread Pablo De Napoli
! On 25 September 2014 17:02, Pablo De Napoli pden...@gmail.com wrote: Hi, Just in case someone is interested, there will be two events in computational mathematics in Uruguay: school: http://cdsagenda5.ictp.it/full_display.php?email=0ida=a13262 workshop: https://www.fing.edu.uy/eventos

[sage-devel] problems trying to login to the trac web interfase

2014-02-02 Thread Pablo De Napoli
Hi I cannot login to the trac web interfase. I have tried to reset my password, and I have received an e-mail with a new password, but it didn't work! (I have tried both using Chromium and Iceweasel (Firefox) on Debian GNU Linux) My username is pdenapo best regards Pablo -- You received this

[sage-devel] wrapping more GSL distribution to SAGE // RealDistribution design problems

2012-09-23 Thread Pablo De Napoli
Hi, I'm teaching a probability course right now, and using Sage for doing some graphics for my class notes. I've found that GSL implements a lot of probability distributions that are not wrapped by Sage. The problem was reported at http://trac.sagemath.org/sage_trac/ticket/11572 and a patch is

[sage-devel] problems trying to log in to track server

2012-09-23 Thread Pablo De Napoli
I've tried to put this comment also on track, but I cannot login eventhough I've requested (and received) a new password! On Sun, Sep 23, 2012 at 4:32 PM, Pablo De Napoli pden...@gmail.com wrote: Hi, I'm teaching a probability course right now, and using Sage for doing some graphics for my

[sage-devel] [semi-OT] a social network for reseachers

2012-09-05 Thread Pablo De Napoli
Hi, I wanted to tell you about a social network for researchers that a collegue told me about, and seems to be a useful idea. https://www.researchgate.net/ I might be that we can use it somehow to promote Sage and the research using it. best regards Pablo -- You received this message because

[sage-devel] problems building sage 4.7.2.rc0

2011-10-25 Thread Pablo De Napoli
Hi, [I've tried to post this to sage-release but it failed] I've tried to build Sage 4.7.2 rc0 on a 64 bits Debian GNU/Linux (wheezy/sig) [Intel core I5 procesor] The build failed (compiling Atlas) Here are the eror messages Thread model: posix gcc version 4.6.1 (Debian 4.6.1-15) gcc -V 21  

Re: [sage-devel] Re: problems building sage 4.7.2.rc0

2011-10-25 Thread Pablo De Napoli
Yes, that was exactly what happend! a second make worked! and I don't know why! On Tue, Oct 25, 2011 at 6:21 PM, leif not.rea...@online.de wrote: On 25 Okt., 21:24, Pablo De Napoli pden...@gmail.com wrote: I've tried to build Sage 4.7.2 rc0 on a 64 bits Debian GNU/Linux (wheezy/sig) [Intel

Re: [sage-devel] Re: asking if Sage has support for computations with differential operators

2011-10-24 Thread Pablo De Napoli
Hi Burcin, Many thanks! I see that with this patches, it would be esasy to have also a Weyl algebra implementation in Sage Cheers, Pablo On Mon, Oct 24, 2011 at 10:11 AM, Burcin Erocal bur...@erocal.org wrote: Hi Pablo, On Sat, 22 Oct 2011 18:49:39 -0300 Pablo De Napoli pden...@gmail.com

[sage-devel] Re: asking if Sage has support for computations with differential operators

2011-10-22 Thread Pablo De Napoli
On Thu, Oct 20, 2011 at 6:02 PM, Pablo De Napoli pden...@gmail.com wrote: Hi, I need to perform computations with linear differential operators whose coefficients are polynomials in several variables (in Euclean space). Has Sage some support for this kind of computation? Could you suggest

[sage-devel] asking if Sage has support for computations with differential operators

2011-10-20 Thread Pablo De Napoli
Hi, I need to perform computations with linear differential operators whose coefficients are polynomials in several variables (in Euclean space). Has Sage some support for this kind of computation? Could you suggest me some tool for doing that? For instance assume that you have two first order

[sage-devel] Learch trascendent on Sage?

2011-06-07 Thread Pablo De Napoli
Hi, Though Sage has some extensive support for Riemann zeta function and L-series (through. lcal) , it seems to have no function for computing some common generalizations of it, like Hurwitz zeta function o Lerch trascendent. I've found through the article in wikipedia that in

Re: [sage-devel] Learch trascendent on Sage?

2011-06-07 Thread Pablo De Napoli
Many thanks to Juan Arias de Reyna and Fredrik Johansson !! Pablo On Tue, Jun 7, 2011 at 12:31 PM, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Tue, Jun 7, 2011 at 2:33 PM, Pablo De Napoli pden...@gmail.com wrote: Hi, Though Sage has some extensive support for Riemann zeta function

Re: [sage-devel] Re: Sphinx TODO extension

2011-04-27 Thread Pablo De Napoli
Please review ticket #10620 to upgrade sphynix Pablo On Mon, Apr 25, 2011 at 11:23 PM, Keshav Kini keshav.k...@gmail.com wrote: I also prefer trac, but I know why: it's shorter! Also it's more clearly related to trac.sagemath.org/sage_trac . Patch comments also say stuff like trac #1234,

Re: [sage-devel] Re: Is it *really* necessary for everyone to download fortran.spkg ?

2010-10-26 Thread Pablo De Napoli
I agree that it is a bad policy to ship binaries in a source distribution. I would suggest a separate package for MAC OS with the binaries of the compiler if this is reallly needed On Tue, Oct 26, 2010 at 9:30 AM, leif not.rea...@online.de wrote: On 26 Okt., 12:39, Volker Braun

Re: [sage-devel] Re: Is it *really* necessary for everyone to download fortran.spkg ?

2010-10-26 Thread Pablo De Napoli
No, my point is that gfortran is not distributed with sage in source form. I think that we should either '- include gfortran in source form in sage distribution - split the binary files in a separated file otherwise it is not a source distribution. )but a mix of a source and a binary one. This

Re: [sage-devel] Re: Is it *really* necessary for everyone to download fortran.spkg ?

2010-10-26 Thread Pablo De Napoli
On Tue, Oct 26, 2010 at 12:24 PM, William Stein wst...@gmail.com wrote: On Tue, Oct 26, 2010 at 8:18 AM, Pablo De Napoli pden...@gmail.com wrote: No, my point is that gfortran is not distributed with sage in source form. I think that we should either '- include gfortran in source form in sage

Re: [sage-devel] Re: spanish translation of the tutorial

2010-10-25 Thread Pablo De Napoli
...@uam.es wrote: On 24 oct, 17:48, Pablo De Napoli pden...@gmail.com wrote: Hi I've seen the video contributing to Sage where W. Stein mentioned the translation of the tutorial to Spanish as a possible contribution to sage. Indeed, some parts of the tutorial have been already translated

[sage-devel] problem generating the documentation (spanish translation)

2010-10-25 Thread Pablo De Napoli
Hi, I've a problem with generating the documentation (Spanish translation of the tutorial) I've converted the attachment of ticket #7222 to utf using iconv iconv -f latin1 -t utf8 tour_help.rst tour_help-utf8.rst and after that mv tour_help.rst tour_help-utf8.rst (This seems to be needed,

[sage-devel] spanish translation of the tutorial

2010-10-24 Thread Pablo De Napoli
Hi I've seen the video contributing to Sage where W. Stein mentioned the translation of the tutorial to Spanish as a possible contribution to sage. Indeed, some parts of the tutorial have been already translated into Spanish by Luis V. (12 months ago) However, the translations are disseminated

Re: [sage-devel] spanish translation of the tutorial

2010-10-24 Thread Pablo De Napoli
have you tried running sage -docbuild es/tutorial html ? Yes, but I've got the message 'es/tutorial' is not a recognized document. Type 'sage -docbuild -D' for a list of documents, or 'sage -docbuild --help' for more help. it seems like this directory es/tutorial needs to be added to some

Re: [sage-devel] spanish translation of the tutorial

2010-10-24 Thread Pablo De Napoli
I've succeded in solving this problem: the new language (es) needs to be added to the global variable LANGUAGES in doc/common/builder.py many thanks Pablo On Sun, Oct 24, 2010 at 3:30 PM, Pablo De Napoli pden...@gmail.com wrote: have you tried running sage -docbuild es/tutorial html ? Yes

Re: [sage-devel] Can we speed up the build of Sage?

2010-07-08 Thread Pablo De Napoli
In my experience the files that needs more resources when building Sage are the ones in the sage interfase for linbox (i.e. src/interfaces/sage/linbox-sage.C) It would be really nice if something can be done to speed up the compilation of this file and make it use less memory (so that sage can be

Re: [sage-devel] Should we block the use of CC and CXX except for developers?

2010-06-14 Thread Pablo De Napoli
I really think that spliting users into developers and non developers is very much against the spirit of open source Any barrier of entrance to development is against that. Moreover, I think that the idea of that all the environment has to be controlled when building sage and therefore all the

[sage-devel] KDE 4.4 to include an application that offers a GUI for Sage

2009-12-22 Thread Pablo De Napoli
KDE Software Compilation 4.4-beta2 includes a software called Cantor that has offers a GUI for Sage See: http://kde.org/announcements/announce-4.4-beta2.php Description Cantor is an application that lets you use your favorite mathematical applications from within a nice KDE-integrated

Re: [sage-devel] Re: problems with Bessel functions

2009-12-09 Thread Pablo De Napoli
Many thanks to everybody for your help. some questions/remarks: 1) ¿Does every function needs to have two versions: a symbolic one and a numerical one? 2) the current implementation treats f(x)=sin(x) as a symbolic expression sage: f(x)=sin(x) sage: f x |-- sin(x) sage: type(f) type

[sage-devel] problems with Bessel functions

2009-12-08 Thread Pablo De Napoli
Hi I'm trying to do some computations with Bessel functions using Sage. Unfortunately, they don't seem to behave like other functions. For example: to get the plot of the sine function over the interval (0,100) plot(sin(x),(x,0,100)) works. However, plot(bessel_J(0,x),(x,0,100)) does not.

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Pablo De Napoli
It would be really nice if we can include the new weapper for the lcalc library. http://trac.sagemath.org/sage_trac/ticket/5396 [marked ad with patch, neeeds review] Pablo On Sun, Nov 22, 2009 at 2:53 AM, Mike Hansen mhan...@gmail.com wrote: Hello all, Sage 4.3.alpha0 is out!   Sage 4.3 now

[sage-devel] problems building sage 4.2

2009-11-07 Thread Pablo De Napoli
Building sage-4.2 on my Ubuntu machine failed (64 bits amd, Karmic Koala) when building gnutls host system uname -a: Linux ubuntu 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

[sage-devel] Re: FYI: Sage in a License Debate

2009-07-14 Thread Pablo De Napoli
I have left the following comment on the blog... However, the GPL means that people cannot realistically use SAGE in a commercial tool, either as a platform/runtime, or as an embedded component. What it is the justification for this claim? Why wouldn't the GPL allow one to use SAGE as a

[sage-devel] idea: presenting a talk on Sage at PyCon Argentina 2009

2009-06-08 Thread Pablo De Napoli
Hi, I'm thinking about presenting a talk on Sage on the next Python Argentina 2009 conference which will be held in Buenos Aires on next September. and is organized by Pyar (the Python user group of Argentina, http://python.org.ar/pyar/) (If you can read Spanish, you can find the details about

[sage-devel]

2009-05-28 Thread Pablo De Napoli
Hi, I want to ask about the status of wrapping lcalc library (ticket #5396) I would be interested in helping with that, but there is no patch yet. Pablo --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Re: Final 3.4.2 sources released

2009-05-05 Thread Pablo De Napoli
On relative slow hardware it looks like a good idea to make installation of ATLAS and e.g. FLINT less time consuming. Well, for ATLAS we don't even run the test suite, so what you see at the moment is as close to optimum as it gets. You can reuse a previously build ATLAS (assuming we

[sage-devel] Re: Sage 3.0.5 now available in Debian sid

2009-02-10 Thread Pablo De Napoli
Therse are really excelent news!, that will make Sage much more easy to install on Linux systems. Many thanks!! Pablo On Sun, Feb 1, 2009 at 10:23 PM, Tim Abbott tabb...@mit.edu wrote: Hello all, As of today, Sage 3.0.5 is available in Debian sid, so you can now run apt-get install

[sage-devel] Re: Sage 3.2.3.alpha0 released

2008-12-27 Thread Pablo De Napoli
I see that the file skpg-install for flint needs to be modified in final releases to avoid runing the test suite. I think it would be better to have for example an environment variable like SAGE_RUN_FLINT_TESTSUITE (and run the test suite or not depending on the value of that variable) that

[sage-devel] Re: Sage 3.2.3.alpha0 released

2008-12-27 Thread Pablo De Napoli
SAGE_CHECK=yes does that for every spkg, adding 50+ env variables for all the spkgs seems like a bad idea and won't automatically force the test suite when we want it to be tested. I agree. 50+ env-variables is not a good idea. SAGE_CHECK is ok Cheers, Pablo

[sage-devel] Re: Python 3.0 preparation?

2008-12-04 Thread Pablo De Napoli
We will likely upgrade to Python 2,6 first. It will be a while until all the Python components we include work with Python 3.0 and I doubt people around want to do all the work. There also has to be a clear benefit of switching to Python 3.0 - we don't do it just because we can :) Indeed,

[sage-devel] Re: video from sage days 11

2008-11-10 Thread Pablo De Napoli
I've tried to watch at the videos on Linux using vlc, xine and mplayer but I failed. Here are the error messages when running vlc craig_citro.mov on Ubuntu 8.04 (Hardy): VLC media player 0.8.6e Janus [0304] mp4 demuxer error: MP4 plugin discarded (no moov box) [0283] main

[sage-devel] Re: video from sage days 11

2008-11-09 Thread Pablo De Napoli
Hi, I've tried to watch at the videos on Linux using vlc, xine and mplayer but I failed. It would be nice if you could upload the videos in ogg-thedora format which is an open format (I think that we, the open source comunity need to strongly support the use of open formats, and ogg-thedora

[sage-devel] Re: The Sage .spkg extension

2008-10-28 Thread Pablo De Napoli
I think that it would be important to change the extension to .tar.bz2 so that the sage packages get recognized by standard systems tools. (For instance, try to open a spkg with a filemanager like midnight commander...) May be we can change foo.spkg to foo.spkg.tar.bz2 This way the package

[sage-devel] hermite polynomials in Sage vs. Pari/Gp 2.4.x

2008-10-28 Thread Pablo De Napoli
One good reason for using the 2.4.x version of pari (and not the 2.3.x stable branch) [although this might be bad for gp2c) is that the 2.4.x has some functions that are not present in the stable branch. For instance, it has a function polhermite that computes the Hermite polynomials that

[sage-devel] vote: including gp2c into sage?

2008-10-27 Thread Pablo De Napoli
I've submited a patch for integrating gp2c into sage gp2c is a program that converts a gp script into a C program. description of my patch This patch implements two functions for the Gp object: gp2c_compile_file and gp2c The first one compiles a file using gp2c-run and load its into the

[sage-devel] a question on L-series for dirichlet characters....

2008-10-27 Thread Pablo De Napoli
Hi, I'm reading the notes of William's talk Three Lectures about Explicit Methods in Number Theory Using Sage, that are indeed very interesting. It comments that Sage includes functionallity to compute the zeros of L-series of elliptic curves, by doing sage: E = EllipticCurve(’389a1’) sage:

[sage-devel] errata in: a question on L-series for dirichlet characters....

2008-10-27 Thread Pablo De Napoli
Also one could like to do similar computations for instance with Dedekind zeta function of a number fileld, something like... sage: K.sqrt2 = QuadraticField(2) sage: Z.DedekindZeta() sage: Z.zeros(10) it would be sage: K.sqrt2 = QuadraticField(2) sage: Z=K.DedekindZeta() sage:

[sage-devel] OT: Anouncement: MACIS 2008 (Third International Conference on Mathematical Aspects of Computer and Information Sciences)

2008-09-30 Thread Pablo De Napoli
I know this is off topic, but I think that this conference that it is been organized here in Buenos Aires (by a collegue at my university) might be of interest to some Sage developers. bests regards Pablo MACIS 2008 - Third International

[sage-devel] Re: status of Sage for Debian?

2008-09-21 Thread Pablo De Napoli
Also there seems to be two blocker bugs... package zodb for python 2.25 ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472392 (mantainer refuses until zodb3.8 is uploaded...) linbox http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480092 (this one is fixed by version 1.1.6~rc0-2, mail by

[sage-devel] status of Sage for Debian?

2008-09-20 Thread Pablo De Napoli
Hi, I just want to ask about the status of the effort to get sagemath into Debian I think this should be a goal of highest priority for us, since it is important in order to get sage widely used. Pablo --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Re: linear algebra functions

2008-07-19 Thread Pablo De Napoli
* getting rid of functions which implicitly assume left/right and making those functions explicitly say what they are returning, since, for example, a vast majority of linear algebra people would assume kernel() is the right kernel, while apparently a sizable contingent of number

[sage-devel] Re: symbolic logic statement equivalence

2008-07-14 Thread Pablo De Napoli
Hi Chris and others, Certainly there are betters ways to do that. For this and similar problems in propositional logic, I would suggest to wrap a SAT solver. (see the article on wikipedia) http://en.wikipedia.org/wiki/SAT_solver##Algorithms_for_solving_SAT and the ticket #418 Wrap minisat

[sage-devel] Re: [debian-sage] Debian packaging status update

2008-06-04 Thread Pablo De Napoli
The first bunch of SAGE dependencies entered the Debian NEW queue (the queue of packages waiting for review from the Debian ftpmasters before they are uploaded to Debian unstable) tonight; by tomorrow I expect that that the remaining SAGE dependencies will enter the Debian NEW queue.

[sage-devel] Re: quantitative finance in sage

2008-06-02 Thread Pablo De Napoli
There is a free library for quantitaive finance called quantlib http://quantlib.org/ The library is writen in C++ but comes with python bindings. The licence is modified BSD (http://quantlib.org/license.shtml) (wich is GPL-compatible) Perhaps you might want to integrate it into sage The more

[sage-devel] Re: New Sage website

2008-05-31 Thread Pablo De Napoli
I should say that one thing that I really like from the current site is the explanation of what is Sage in the front page, from General and Advanced Pure and Applied Mathematics to .. Download SAGE for Windows, Mac OS X, and Linux I would suggest to keep this perhaps in a section about sage

[sage-devel] gp2c integration into Sage

2008-01-15 Thread Pablo De Napoli
Hi, I've posted into ticket #258 a patch for integrating gp2c into Sage. Obviously this may still have bugs, so it needs to be reviewed by someone that understands the details of how gp comunicates with Sage. Some remarks on the class Gp in interfaces/gp.py? Shouldn't this class have a

[sage-devel] Re: problems building sage documentation

2008-01-07 Thread Pablo De Napoli
I've managed to solve the problem: The package texlive-cyrillic (in Debian/Ubuntu) is needed to build the Sage documentation. Pablo El Tuesday 01 January 2008 21:25:35 Pablo De Napoli escribió: When building Sage documentation (make in devel/doc), I've got a strange message (I quote below

[sage-devel] gp2c package for sage

2008-01-07 Thread Pablo De Napoli
Hi, I've working in ticket #258 (integrating gp2c into sage) I've created a gp2c package (that requieres a minor modification in the pari spkg so that pari.cfg file gets installed properly, as described in the ticket) Even though it remains to do the integration with sage, you might want to

[sage-devel] problems building sage documentation

2008-01-01 Thread Pablo De Napoli
When building Sage documentation (make in devel/doc), I've got a strange message (I quote below the output) output TEXINPUTS=/media/hda2/pablo.new_home/sage/sage-2.9/devel/doc-main/commontex: python /media/hda2/pablo.new_home/sage/sage-2.9/devel/doc-main/tools/mkhowto --html --about

[sage-devel] Re: SAGE-2.8.15.rc1 released!

2007-12-03 Thread Pablo De Napoli
please consider fixing bug #1282 make flint.spkg depend on python http://sagetrac.org/sage_trac/ticket/1282 which is maked for 2.8.15 milestone Pablo On Dec 3, 2007 9:16 PM, Jaap Spies [EMAIL PROTECTED] wrote: mabshoff wrote:

[sage-devel] Re: sage -upgrade and file corruption

2007-10-21 Thread Pablo De Napoli
I'm currently working on ticket #329 My idea is adding to each .spkg file a .spkg.md5 file with the md5checksum This should prevent file corruption. I've already reimplemented the md5sum standard utility (from the coreutils package) in python (using the md5 module), so that we don't need to add

[sage-devel] Re: sage -upgrade and file corruption

2007-10-21 Thread Pablo De Napoli
PROTECTED] wrote: On 10/21/07, Pablo De Napoli [EMAIL PROTECTED] wrote: I'm currently working on ticket #329 My idea is adding to each .spkg file a .spkg.md5 file with the md5checksum This should prevent file corruption. Are you literally adding to each .spkg file. If so, make sure

[sage-devel] problem accessing sage tracker

2007-10-08 Thread Pablo De Napoli
Hello, I'm receving an error message 502 - Bad gateway The proxy server received an invalid response from an upstream server. when trying to access to http://sagetrac.org/sage_trac/ (through an http proxy) Pablo --~--~-~--~~~---~--~~ To post to this group,

[sage-devel] Re: sage-2.8.4.1 -- minor bugfix release

2007-09-11 Thread Pablo De Napoli
On 9/11/07, William Stein [EMAIL PROTECTED] wrote: On 9/9/07, Dan Christensen [EMAIL PROTECTED] wrote: But sage -t reports lots of errors, and spent an hour or two in sage -t devel/doc-2.8.4.1/ref/sage.misc.trace.tex before I killed it. If these errors are surprising, let me know

[sage-devel] Re: integer fast-paths for simple arithmetic functions

2007-09-10 Thread Pablo De Napoli
Thank you for your comments on my patch It is a legitimate concern, I agree (and could affect many number-theoretical or similar functions); and the principle of solution that you are proposing could be a good one. (I like the idea of writing some code in cython that calls pari directly, I don't

[sage-devel] a patch for making binomial more inteligent, and some reflections on the type of symbolic variables

2007-09-09 Thread Pablo De Napoli
Hi, I've submitted a patch http://sagetrac.org/sage_trac/ticket/628 for making binomial work as one would expect for symbolic expressions, in cases like this: sage: n=var('n') sage: binomial(n+1,n-1) n*(n + 1)/2 by defining binomial(x,m)=binomial(x,x-m) whenever x-m is an integer. This

[sage-devel] Re: Python bindings for Ginac

2007-09-09 Thread Pablo De Napoli
Simpy is indeed an interesting package and could be useful in a future for rewriting the calculus package (replacing maxima) However. rather than incorporating it into Sage as a package, I feel that we will need to take some of it code and re-write it to fit well into Sage. This is because,

[sage-devel] Python bindings for Ginac

2007-09-08 Thread Pablo De Napoli
The idea of incorporating Ginac into Sage was discussed some time ago in this list. Now I see that in its page there is a link to some python bindings for Ginac http://pyginac.sourceforge.net/ This could be useful for us, however they use boost rather than cython/pyrex Pablo

[sage-devel] Re: Python bindings for Ginac

2007-09-08 Thread Pablo De Napoli
One more comment: I see that this project is not actively maintained, in fact in its e-mail list the last e-mail is from 2005... On 9/8/07, Pablo De Napoli [EMAIL PROTECTED] wrote: The idea of incorporating Ginac into Sage was discussed some time ago in this list. Now I see that in its page

[sage-devel] problems building linbox in sage-2.8

2007-08-15 Thread Pablo De Napoli
Hi, upgrading to sage-2,8 failed on my Gentoo system with the following messages: (when building linbox-20070812) checking for correct ltmain.sh version... no configure: error: *** [Gentoo] sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 =

[sage-devel] Re: Sage IDE

2007-08-10 Thread Pablo De Napoli
If you want to create an IDE for sage, probably the best thing to do would be start from some python IDE, perhaps some IDE that supports plug-ins, I don't know if there is any. Pablo On 8/10/07, William Stein [EMAIL PROTECTED] wrote: On 8/9/07, Ted Kosan [EMAIL PROTECTED] wrote: For the

[sage-devel] Re: computing the number of partitions of an integer

2007-07-31 Thread Pablo De Napoli
Certainly no, not everything from a public institution is in the public domain. This should be analyzed case by case. In case of doubt it would be better to ask the author. Pablo On 7/31/07, Bill Hart [EMAIL PROTECTED] wrote: Yes, I've ended up using Hida and Bailey's quad-double package.

[sage-devel] Re: computing the number of partitions of an integer

2007-07-31 Thread Pablo De Napoli
In this case, the license does not says that it is in the public domain (but that it is a copyrighted work!), but you can use it as AS IS. I think that the only condition that is imposed to us is to include the declaimer. Pablo On 7/31/07, Pablo De Napoli [EMAIL PROTECTED] wrote: Certainly

[sage-devel] Re: computing the number of partitions of an integer

2007-07-29 Thread Pablo De Napoli
great work, Jonathan! I've tested, and I've found the following problems: 1) part 1 hangs 2) compiling with -Wall gives this warning part.cc:865: warning: unused variable 'temp2' 3) part without arguments returns 42 Pablo On 7/29/07, Jonathan Bober [EMAIL PROTECTED] wrote: Attached is

[sage-devel] posible licence issue raised by GPL-v3

2007-07-29 Thread Pablo De Napoli
William (and others): There is a licence issue about Sage raised by GPL-v3, that may be you need to consider (I'm not a lawyer so that what I'm saying could be wrong). Currently according to the COPYING file, Sage is released under GPL version 2. The problem is that some packages included in

[sage-devel] Re: computing the number of partitions of an integer (fixes in latest pari)

2007-07-27 Thread Pablo De Napoli
This problem seems to be fixed in pari-2.4.2 (not yet realead!, code in CVS) ?numbpart((5*10535+4)) time = 16 ms. %2 =

[sage-devel] Re: computing the number of partitions of an integer

2007-07-27 Thread Pablo De Napoli
I've tested it but seems to be buggy:: it works up to 156 ./part 156 p(156)= 73232243759 but for 157 gives a floating point exception error (and a gdb tracing says it is in the line 176 of the source code r2 = r0 % r1; in function g I've compiled it using gcc part.c -g -lmpfr -lm

[sage-devel] Re: computing the number of partitions of an integer

2007-07-27 Thread Pablo De Napoli
Your version did work for me! Pablo On 7/27/07, William Stein [EMAIL PROTECTED] wrote: On 7/27/07, Pablo De Napoli [EMAIL PROTECTED] wrote: I've tested it but seems to be buggy:: it works up to 156 ./part 156 p(156)= 73232243759 but for 157 gives a floating point exception

[sage-devel] Re: build test help? - problems with clisp (2)

2007-07-24 Thread Pablo De Napoli
be UNIX_LINUX, UNIX_HURD or UNIX_FREEBSD) +#endif + # Determine the offset of a component 'ident' in a struct of the type 'type': # See 0 as pointer to 'type', put a struct 'type' there and determine the # address of its component 'ident' and return it as number: On 7/24/07, Pablo De Napoli

[sage-devel] problems related to fortran in sage-2.7

2007-07-20 Thread Pablo De Napoli
In fact, trying to upgrade from sage-2.6 on a Linux x86 host failed, with the following error messages (when building f2c,related to this) cd spkg ./install all 21 | tee -a ../install.log make[1]: se ingresa al directorio `/hdc1/pablo.hdc1/sage/sage/spkg' sage-spkg installed/f2c-1 21 f2c-1

[sage-devel] how-to compille sage for a generic x86 machine?

2007-06-17 Thread Pablo De Napoli
Hi, I would like to generate (my own) binary distribution of sage for an x86-machine However, when compiling I've noticed that some packages use the optimizations for my own machine (for example mpfr uses -march=athlon, etc) How may I build a generic x86 binary-distribution? thanks, Pablo

[sage-devel] divmod, quo_rem: inconsistency of sage methods with standard sage methods

2007-05-26 Thread Pablo De Napoli
Hi, I see that sage has a method for computing the quotient and reminder of the integer division called quo_rem (in integer.pyx) However, there exist a standard operator in python call divmod: in sage divmod does not work as one would expect. sage: ZZ(2).quo_rem(ZZ(3)) (0, 2) sage:

[sage-devel] Re: commercial software download sizes

2007-05-24 Thread Pablo De Napoli
Another difference (in favor of Sage) is that Sage is that Sage is distributed as sourcecode, whereas the others are binary-only distributions. Usually, the binary programs sizes are much smaller that in source form. On 5/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Heh. To be fair, you

[sage-devel] A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread Pablo De Napoli
): attempt to optimise Integer constructor -- Rishikesh (2007-02-25): changed quo_rem so that the rem is positive -- David Harvey, Martin Albrecht, Robert Bradshaw (2007-03-01): optimized Integer constructor and pool +-- Pablo De Napoli (2007-04-01): multiplicative_order should return

[sage-devel] Re: A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread Pablo De Napoli
sorry for the inconvenience, I've sent it again since it was not mentionated in the sage-2.5 milestone. (And so.. I didn't know if you had received it or perphaps it was lost with the spam..) Pablo On 4/13/07, William Stein [EMAIL PROTECTED] wrote: On 4/13/07, Pablo De Napoli [EMAIL PROTECTED

[sage-devel] Re: question about gaussian integers (and number fields)

2007-03-31 Thread Pablo De Napoli
to see what he's done so far. - Robert On Mar 31, 2007, at 7:10 AM, Pablo De Napoli wrote: Hi, I want to ask you some questions concerning the arithmetic of number fields in Sage. Does Sage currently support factoring in Gaussian integers (i.e. in the ring Z[I] of complex numbers

[sage-devel] Re: question about gaussian integers (and number fields)

2007-03-31 Thread Pablo De Napoli
, Pablo De Napoli wrote: Does Sage currently support factoring in Gaussian integers (i.e. in the ring Z[I] of complex numbers with integral real/imaginary parts)? I thing this would be a nice feature to have. In pari/gp for example this works: ? factor(5*I) %1 = [2 + I 1

[sage-devel] Re: sage-2.4-rc3

2007-03-25 Thread Pablo De Napoli
I've build sage-2.4-rc3 on my machine: (Gentoo/Linux 2.6.20.4 x86 AMD Duron) Al test were also passed. Also I've installes the optional packages gap_packages and database_gap without problems best regards Pablo On 3/25/07, William Stein [EMAIL PROTECTED] wrote: Thanks for all your

[sage-devel] an inconsistency in Picewise doc string

2007-03-25 Thread Pablo De Napoli
I've found an inconsistency in Picewise doc string: Currently Picewise? shows the following docstring Docstring: list_of_pairs is a list of pairs (fcn,I), where fcn is a SAGE function (such as a polynomial over RR, or functions using the lambda notation), and

[sage-devel] Re: sage-2.4-rc3

2007-03-25 Thread Pablo De Napoli
I've installed the gap packages _after_ doing the tests. Pablo On 3/25/07, Hamptonio [EMAIL PROTECTED] wrote: I installed 2.4-rc3 on a powerpc g4 powerbook. I had 4 tests fail, but it looked like that was because I didn't install the gap packages. The four failures were: sage -t