[sage-devel] problem compiling sage (from at least 2.8.15 to 2.9.1.1)

2007-12-28 Thread Francois
. Here is the last message: sage: Building and installing modified SAGE library files. Installing c_lib gcc -o src/convert.os -c -O2 -g -fPIC -I/home/francois/Work/Gentoo/ sage-2.9.1.1/local/include -I/home/francois/Work/Gentoo/sage-2.9.1.1/local/include/python2.5 -I/ home/francois/Work/Gentoo/sage

[sage-devel] Re: problem compiling sage (from at least 2.8.15 to 2.9.1.1)

2007-12-28 Thread Francois
le my lattice QCD code correctly anyway I will remove it and try again. I am busy for the next few hours so I will do that a bit latter. Thanks for looking, Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Re: Most Sage spkg's are out of date!

2007-12-30 Thread Francois
ich is a bit too Gentoo-centric to be of any real benefit to anyone else. More discipline in the packaging is probably what is most needed at the moment. And you can package stuff as badly in ebuilds than you can in spkgs so that wouldn't really e

[sage-devel] Re: Most Sage spkg's are out of date!

2007-12-30 Thread Francois
On Dec 31, 1:11 pm, "Ted Kosan" <[EMAIL PROTECTED]> wrote: > Ondrej wrote: > > Nice thing about this is that there is no database, nothing. Just > > plain files, that > > can be fixed by hand. > > > How would portage improve this? > > Portage is just editable text files too. I do not have any e

[sage-devel] Re: Best wishes

2007-12-31 Thread Francois
me in New Zealand. But I extend my best wishes to people in other time zone not yet in 2008! Cheers, Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

[sage-devel] Do we really build pySQLite within sage-2.9.1.1?

2008-01-01 Thread Francois
I was looking at the deps file and stumble across this: $(INST)/$(PYSQLITE): $(INST)/$(PYTHON) $(INST)/$(SQLITE) $(SAGE_SPKG) $(SQLITE) 2>&1 Given that there is a pysqlite spkg I assume that must be a mistake. Francois --~--~-~--~~~---~--~~ To

[sage-devel] Re: Do we really build pySQLite within sage-2.9.1.1?

2008-01-01 Thread Francois
ith the current deps file sqlite is built twice, or is there a safety against that? Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, vis

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-07 Thread Francois
On Jan 8, 7:00 pm, "Ted Kosan" <[EMAIL PROTECTED]> wrote: > William wrote: > > It would be good for you to take a look at what Wiris does if you are > > interested in the Sage notebook. > > Here is a direct link to the demo applet. Just click the link, wait a > bit for the applet to load, and t

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-07 Thread Francois
On Jan 8, 8:22 pm, "Fernando Perez" <[EMAIL PROTECTED]> wrote: > On Jan 8, 2008 12:13 AM, Francois <[EMAIL PROTECTED]> wrote: > > FWIW, it worked for me under Ubuntu Gutsy with firefox... > Strange it definitely just stay blank for me. I am using the plugin fr

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-08 Thread Francois
On Jan 8, 8:50 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Jan 7, 2008 11:42 PM, Francois <[EMAIL PROTECTED]> wrote: > > > > > On Jan 8, 8:22 pm, "Fernando Perez" <[EMAIL PROTECTED]> wrote: > > > On Jan 8, 2008 12:13 AM, F

[sage-devel] Anyone knows about any regression in gmp-4.2.2?

2008-01-08 Thread Francois
Hi, In my efforts to get sage in Gentoo I came on something that looks like a problem in gmp 4.2.2. On Gentoo gmp 4.2.2 is marked stable and is part of the system (needed by gcc). On the ground that the only patch relevant to me was the new fast gcd code and that it was a performance patch and no

[sage-devel] Re: Anyone knows about any regression in gmp-4.2.2?

2008-01-08 Thread Francois
On Jan 8, 11:55 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 8, 10:00 am, Francois <[EMAIL PROTECTED]> wrote: > > > Hi, > > Hi Francois, > > > > > In my efforts to get sage in Gentoo I came on something that looks > > like

[sage-devel] Re: Anyone knows about any regression in gmp-4.2.2?

2008-01-08 Thread Francois
On Jan 9, 8:14 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 8, 7:40 pm, Francois <[EMAIL PROTECTED]> wrote: > > > > I don't think the behavior of Maxima is affected by lisp. What version > of Maxima do you run on your system? There is at l

[sage-devel] Re: Anyone knows about any regression in gmp-4.2.2?

2008-01-08 Thread Francois
On Jan 9, 8:58 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > > Ok, we would certainly welcome any kind of participation from the > Gentoo community. > Hopefully some support may be drummed there, I myself may be soon claimed by a non-academic real-life that could put me on hiatus. > >

[sage-devel] Re: Anyone knows about any regression in gmp-4.2.2?

2008-01-08 Thread Francois
On Jan 9, 10:00 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 8, 9:55 pm, Francois <[EMAIL PROTECTED]> wrote: > > > On Jan 9, 8:58 am, mabshoff <[EMAIL PROTECTED] > > > dortmund.de> wrote: > > > > Ok, we would certainly welc

[sage-devel] Re: Anyone knows about any regression in gmp-4.2.2?

2008-01-12 Thread Francois
On Jan 9, 7:40 am, Francois <[EMAIL PROTECTED]> wrote: > On Jan 8, 11:55 pm, mabshoff <[EMAIL PROTECTED] > > dortmund.de> wrote: > > On Jan 8, 10:00 am, Francois <[EMAIL PROTECTED]> wrote: > The > default > lisp for maxima here is the "Steel Bank

[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-20 Thread Francois
On Jan 21, 12:36 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 21, 12:15 am, Francois <[EMAIL PROTECTED]> wrote: > > > Hi, > > > this is to point people interested in testing things on Gentoo towards > > the ebuild I just posted i

[sage-devel] sage 2.10 experimental ebuild for Gentoo

2008-01-20 Thread Francois
, the maxima version of course as well as one test in calculus.py, one in combinat.py (if my memory serves me right) and an other one that escape me. Cheers, Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe

[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-20 Thread Francois
unless there are exceptions attached. I am not sure of the reasoning behind this. Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, vis

[sage-devel] Re: SAGE in RPM form

2008-01-20 Thread Francois
Congratulations! Was my last message to you of any use? Cheers, Francois On Jan 20, 5:46 am, gri6507 <[EMAIL PROTECTED]> wrote: > As I've posted here before, I have been working on packaging up SAGE > into an RPM form. Well, I am happy to say that I finally have > some

[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-21 Thread Francois
On Jan 21, 8:51 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 21, 8:48 am, Francois <[EMAIL PROTECTED]> wrote: > > > On Jan 21, 12:36 pm, mabshoff <[EMAIL PROTECTED]> wrote: > > > > LICENSE="GPL-2" > > > > shou

[sage-devel] Re: rpm's, deb, and ebuilds,

2008-01-21 Thread Francois
ique" I am writing this on would not appreciate very much the copying over. Furthermore being able to do this, means that I can start touching python packages in sage without having to do everyone of them at once. Cheers, Francois --~--~-~--~~~---~--~~ To po

[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-21 Thread Francois
Hi Micheal, On Jan 22, 10:40 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Jan 21, 1:02 am, Francois <[EMAIL PROTECTED]> wrote: > > > On Jan 21, 12:36 pm, mabshoff <[EMAIL PROTECTED] > > > > > > > > > Hi Michael, > > >

[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-21 Thread Francois
ompiled by gfortran and the other by g95. Cheers, Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---

[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-22 Thread Francois
Hi Williams, On Jan 22, 8:52 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 11:36 PM, Francois <[EMAIL PROTECTED]> wrote: > > > > > > > On Jan 22, 8:04 pm, mabshoff <[EMAIL PROTECTED] > > dortmund.de> wrote: >

[sage-devel] gentoo ebuild updated to 2.10.1

2008-02-03 Thread Francois
Hi all, I updated the ebuild in http://bugs.gentoo.org/show_bug.cgi?id=201321 for sage-2.10.1. A few things to mention: -Cleaned and tidying up a little bit. -bumped dependencies to put them in line with sage. -Added a further notice to the maxima warning. -Added a notice on licenses as sage itse

[sage-devel] Re: Sage 2.10.1 released

2008-02-03 Thread Francois
Hi, On Feb 4, 12:25 pm, Nils Bruin <[EMAIL PROTECTED]> wrote: > I tried a "sage --upgrade" from a clean, relocated install of sage > 2.10. The install seems to succeed, but running sage leads to: > > -- > | SAGE Version 2.10.1, R

[sage-devel] Re: gentoo ebuild updated to 2.10.1

2008-02-03 Thread Francois
On Feb 4, 12:25 pm, Francois <[EMAIL PROTECTED]> wrote: > It doesn't use the new mechanism for using system atlas. > After thinking long and hard about it, I initially decided to > use it only to back off once I understood the mechanism. > So here is what I think is wr

[sage-devel] Re: Sage 2.10.1 released

2008-02-03 Thread Francois
On Feb 4, 5:45 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Feb 4, 12:35 am, Francois <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Hi Nils, > > > > > > I suspect that attaching a 13MB install.log is not the right method of >

[sage-devel] Re: gentoo ebuild updated to 2.10.1

2008-02-04 Thread Francois
On Feb 4, 5:44 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Feb 4, 2:55 am, Francois <[EMAIL PROTECTED]> wrote: > > > On Feb 4, 12:25 pm, Francois <[EMAIL PROTECTED]> wrote: > > Hi Francois, > > > > It doesn't use the new mechan

[sage-devel] Re: Sage 2.10.3.rc3 released

2008-03-09 Thread Francois
Since they are still in that rc I should mention a couple of typos that I spotted in two spkg. In linbox in the spkg-install file on line 41 we have an interesting reference to ${SAGE_LCOAL}. In sage-2.10.3.rc3 in the top setup.py at line 430 we have: define_macros = [('GSL_DISABLE_DEPRECAED','1')

[sage-devel] Re: Compile Error

2008-04-20 Thread Francois
On Apr 21, 11:53 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Sun, Apr 20, 2008 at 2:44 PM, <[EMAIL PROTECTED]> wrote: > > > Yep, same-ish here: not too old laptop, new Fedora, gcc4.3.0 et al. > > If there's anything else helpful let me know and I'll post it. > > Is it possible for you

[sage-devel] typo in linbox spkg-install

2008-04-26 Thread Francois
Just reviewing what options linbox is compiled with for sage, well I was really looking at whether optimizations are enabled. In theory they are, except on Sun: if [ $UNAME = "SunOS" ]; then OPT="--enable-optimization=false" echo "Building on SunOS" else OPT="--enable-optimization" fi Of

[sage-devel] Re: typo in linbox spkg-install

2008-04-26 Thread Francois
Furthermore, looking at the patches included I found that the commentator.C file is already patched, i.e. the file shipped in the spkg is not the upstream file but the file from the patch folder. Cheers, Francois --~--~-~--~~~---~--~~ To post to this group, send

[sage-devel] Re: typo in linbox spkg-install

2008-04-26 Thread Francois
Sorry You answered me while I was posting further comment. I don't have an account on the bug tracker. Francois On Apr 27, 4:36 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Apr 27, 6:32 am, Francois <[EMAIL PROTECTED]> wrote: > > Hi Francois, > > >

[sage-devel] sloppy mult and div in quaddouble?

2008-04-28 Thread Francois
In my long task of getting sage on Gentoo I inspect spkg. So today I was creating an ebuild for quaddouble and looked at the config options available and the one used by sage and I see this: --enable-ieee-add use addition that satisfies IEEE-style error bound inst

[sage-devel] Re: sloppy mult and div in quaddouble?

2008-04-28 Thread Francois
On Apr 29, 11:33 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Apr 28, 2:32 pm, Francois <[EMAIL PROTECTED]> wrote: > > > > > In my long task of getting sage on Gentoo I > > inspect spkg. So today I was creating an ebuild > > for q

[sage-devel] Re: sloppy mult and div in quaddouble?

2008-04-29 Thread Francois
On Apr 29, 12:16 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Apr 29, 1:54 am, Francois <[EMAIL PROTECTED]> wrote: > > > On Apr 29, 11:33 am, mabshoff <[EMAIL PROTECTED] > > Hi Francois, > > > Hi Michael, > > > The latest upstream

[sage-devel] Re: sloppy mult and div in quaddouble?

2008-04-29 Thread Francois
ot;William Stein" <[EMAIL PROTECTED]> wrote: > > > On Tue, Apr 29, 2008 at 1:46 AM, mabshoff > > > <[EMAIL PROTECTED]> wrote: > > > > On Apr 29, 10:33 am, Francois <[EMAIL PROTECTED]> wrote: > > > > > > > Hi Francois, >

[sage-devel] Re: Fwd: Fwd: [sage-devel] Re: sloppy mult and div in quaddouble?

2008-05-01 Thread Francois
On May 2, 12:51 am, "William Stein" <[EMAIL PROTECTED]> wrote: > Hi, > > These are some comments from Paul Zimmerman about QuadDouble. > > -- Forwarded message -- > From: Paul Zimmermann <[EMAIL PROTECTED]> > Date: Thu, May 1, 2008 at 3:41 AM > Subject: Re: Fwd: [sage-devel] Re: sl

[sage-devel] Re: Fwd: Fwd: [sage-devel] Re: sloppy mult and div in quaddouble?

2008-05-02 Thread Francois
I decided to go ahead and open a ticket for it with a patch for spkg- install. I noticed that the CXXFLAGS needed a bit of spring cleaning as well. The ticket is #3079. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubsc

[sage-devel] Re: Debian package build failure for gfan with 3.0.1alpha1

2008-05-02 Thread Francois
ems very, very odd. Any > chance you could try building a vanilla gfan? > > Let me think about this some more, maybe I can come up with something. > I got it! -IGMPRATIONAL should be -DGMPRATIONAL Do not know where that came from in your package. Francois --~--~-~--~~--

[sage-devel] Re: Questions about various spkgs

2008-05-07 Thread Francois
ice as I wouldn't have to get sage sage's linbox spkg just for linbox_wrap. Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options,

[sage-devel] Re: http://wiki.sagemath.org/ seems broken

2008-05-07 Thread Francois
member. My university is behind a firewall and show only one IP to the outside world so it may be that I am not the only person interested in sage there and we are visiting the wiki too close together. Francois --~--~-~--~~~---~--~~ To post to this group, send email to s

[sage-devel] Re: Questions about various spkgs

2008-05-08 Thread Francois
On May 8, 9:46 pm, Clement Pernet <[EMAIL PROTECTED]> wrote: > Francois a écrit : > > > On May 8, 12:25 pm, Timothy G Abbott <[EMAIL PROTECTED]> wrote: > > >> I'm working on getting several of the SAGE dependencies not already in > >> Debian m

[sage-devel] Re: Does the '.spkg' format just cause more problems than it solves?

2008-05-17 Thread Francois
n I was working with a mainly "monolithic" sage on Gentoo that's pretty much what I was doing. I even wrote a set of commands to automate it as much as possible. I don't know if cpio would handle tar.bz2 in which case it probably would be a better way. Francois --~--~

[sage-devel] Re: Problems building Sage 3.0.2 on Solaris 10 - NTL issue

2008-06-04 Thread Francois
/ > build/ntl-5.4.2.p3/src/src' > Error creating ntl shared library. > > real0m1.459s > user0m1.035s > sys 0m0.200s > sage: An error occurred while installing ntl-5.4.2.p3 > Please email sage-devel http://groups.google.com/group/sage-devel > explaining the pr

[sage-devel] Re: Problems building Sage 3.0.2 on Solaris 10 - NTL issue

2008-06-04 Thread Francois
On Jun 5, 1:10 am, mabshoff <[EMAIL PROTECTED]> wrote: > On Jun 4, 2:56 pm, Francois <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > Hi Francois, > > > It looks like gmp_aux.h is generated during "make setup3" which is > > comp

[sage-devel] Re: Problems building Sage 3.0.2 on Solaris 10 - NTL issue

2008-06-04 Thread Francois
> Spot on Michael. gcc config is given at the beginning of the compilation and says: --without-gnu-ld --with-ld=/usr/ccs/bin/ld OK back to square one to put together a better patch. It's at time like this that you start wishing everything was auto/lib-tooled. Cheers, Francois --~--~--

[sage-devel] Re: Another Solaris NTL problem

2008-06-05 Thread Francois
hopefully someone has some idea how > to fix!!! > I fess up, that's one of my bits. I presume it is a GNU-ism but I am not sure why it wouldn't work with gmake. Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegr

[sage-devel] Re: Another Solaris NTL problem

2008-06-05 Thread Francois
independent. Feel free to educate me! Francois --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group

[sage-devel] Re: Another Solaris NTL problem

2008-06-05 Thread Francois
On Jun 6, 2:03 am, mabshoff <[EMAIL PROTECTED]> wrote: > On Jun 5, 11:07 am, Francois <[EMAIL PROTECTED]> wrote: > > > I guess it happens because the makefile is full of direct calls > > to make rather than something like $MAKE. So even if you > > started with

[sage-devel] Re: Another Solaris NTL problem

2008-06-05 Thread Francois
vec_xdouble.o xdouble.o G_LLL_FP.o G_LLL_QP.o G_LLL_XD.o G_LLL_RR.o vec_ulong.o vec_vec_ulong.o -L/export/ home0/francois/sage-3.0.2/local/lib -lgmp Undefined first referenced symbol in file main/opt/csw/gcc4/lib/gcc

[sage-devel] Re: Another Solaris NTL problem

2008-06-05 Thread Francois
On Jun 6, 11:03 am, Francois <[EMAIL PROTECTED]> wrote: > I almost got it. It is make proof, I have a just a -fpic to clean. > I have one last error that I am not sure how to deal with: > g++ -I../include -I. -O2 -g -fPIC -fpic -o libntl.so FFT.o FacVec.o > GF

[sage-devel] Re: Another Solaris NTL problem

2008-06-06 Thread Francois
your home directory (on > > > > my Sun Ultra 60 called 'main-webserver') and it works ok, on both that > > > > Sun and also on my Blade 2000 (kestrel) - no great surprise there, as > > > > the two Suns are running very similar setups. > > > > G

[sage-devel] xmaxima is built if you have tcl/tk!

2008-06-23 Thread Francois
makefile.in in the interface folder. Since tcl/tk is not in sage I guess we don't want that extra stuff and the (small) build time associated with it. If no one protest I will open a ticket with a patch in the next few hours. Francois --~--~-~--~~~---~--~~ To post to

[sage-devel] Re: log(x) versus ln(x)

2009-09-07 Thread Francois Maltey
mirko wrote : > Would it be possible to support both ln(x) and log(x), tg(x) and tan > (x) and so on via a locale setting? > If one locale is selected log, tan and so on, will be used, if another > that ln, tg, etc. > The input and the output must be the same, even in tex output and help files

[sage-devel] Re: round(), floor() and ceil() on interval objects

2009-09-17 Thread Francois Maltey
William Stein wrote : > 2009/9/17 Jason Grout : > >> Currently, round(), floor(), and ceil() on interval objects return >> intervals. >> >> There is a patch up at #2899 that changes these functions to return >> integers (round-> "round the midpoint", floor -> largest integer below >> the bottom

[sage-devel] Re: round(), floor() and ceil() on interval objects

2009-09-18 Thread Francois Maltey
Hello, > sage: a = RIF(1.5,2.3) > > I see no way to easily get 1 2 or 3 from a. > I propose, but I'm perhaps missunderstanding. a.lower().floor() a.upper().ceil() a.center().round() François --~--~-~--~~~---~--~~ To post to this group, send an email to sage-d

[sage-devel] Re: the Sage notebook

2009-09-20 Thread Francois Maltey
Hi, I'm not sure that discuss about the interface design of sage notebook inside firefox is at the right place. But let me give my advise during the first uses of sage 2 weeks ago or forget this mail. Even if I also use sage.el in emacs, the web-interface is really a very great-great-great wo

[sage-devel] Where can I find the inner sage code ?

2009-09-23 Thread Francois Maltey
Hi, I'm testing sage, the expressions and I play with expr.expand(). After test = 3*x, I find test.expand? and get the help text, and test.expand?? and the main call about expand. Then emacs goes to expression.pyx at the lines defining the interface (outer) function expand. In this code I fi

[sage-devel] Re: Notebook feature request

2009-09-27 Thread Francois Maltey
Maurizio wrote : > At the beginning of the worksheet I could write in a cell something like: > > a,b = "any live data" > > So, three cells later I have: > > c = a + b; c > > And whenever I update a or b, the evaluation of that cell is repeated > and c gets updated accordingly... With students all

[sage-devel] Re: Sage 4.1.2.alpha4 released

2009-09-28 Thread Francois Maltey
I run upgrade from a sage-4.1.1 built at home on an ubuntu jaunty with a dual-core pentium by ./sage -upgrade http://sage.math.washington.edu/home/mvngu/release/upgrade/sage-4.1.2.alpha4 Then I get an error with an unknown function PC when I ran the updated sage. The ticket #6990 gives a new

[sage-devel] Call pyginac functions in sage.

2009-09-28 Thread Francois Maltey
Hello, If I am right, the symbolic manipulations of Sage come from the (py)ginac librairies. In ginac documentation I find very intersting functions for my use of expressions : is_a is_a is_a There are about 30 tests for possible types. The types I can test by Expression.any_tests_I_find_iw

[sage-devel] imaginary and plot - an other error after the patch 6905 in sage 4.1.2 alpha 4

2009-10-03 Thread Francois Maltey
Hello ! I test with success : var('m') plot (m^2,m,0,6) # for one plot plot ([m^3],m,0,6) # for one plot plot(sqrt(m^2+1),m,0,6) plot([sqrt(m^2+1)],m,0,6) plot(real (sqrt(m^2+1)),m,0,6) They are all right But this one fails : plot([real (sqrt(m^2+1))],m,0,6) Of corse I don't want to plot only

[sage-devel] Numerical discont for plot ?

2009-10-16 Thread Francois Maltey
e about one function call per pixel, and then the mathematic are more respected ! It's not pleasant to build a large list of points and then plot theses points (and not the polygonal line) because the speed isn't constant for any curves. Francois --~--~-~--~~

[sage-devel] Re: Decimals of Pi

2009-10-22 Thread Francois Maltey
Hello Nathann, > I know this is totally useless, but why shouldn't it work nevertheless > ? :-) > > sage: n(pi,digits=1000) Useless indeed... Maple often fails between 10^4 and 10^5 digits and axiom around 10^5. I don't know the reason : Ligther mathematics or bad code. It seems that numeri

[sage-devel] Re: 0^0

2009-10-22 Thread Francois Maltey
About 0^0 > Even for discrete things like elements of GF(5)? I haven't thought > about what 0^0 is for things where the continuous limit doesn't make sense. > In any ring, integer power x^n is défined by x^0 = 1, because an empty product is the unit element. The reason is the same for 0!=1.

[sage-devel] A plot may have several branchs

2009-10-26 Thread Francois Maltey
Hello, I test the plot command, decode the plot.py file and also follow the patch #6878. So I understand that a plot is one line between points. The exclude option seems to cut this lines at each break point after the computation. Of corse a continuous plot is a such line. But the plot result

[sage-devel] Re: A plot may have several branchs

2009-10-27 Thread Francois Maltey
kcrisman wrote > It would also be great to see how to integrate your ideas with > #6878, which probably should still stand alone as a ticket since one > might wish to exclude points for reasons other than asymptotes or > jumps. > > Why not try to make this patch within the current plot code... I s

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-12 Thread Francois Maltey
quot;rewriting" > tasks through a few conceptually defined methods like rewrite(), expand > () and combine()( or contract()?). > > Francois Maltey had a proposal for a possible interface to all this. > Maybe he can comment here, or we can discuss his proposal on sage- > de

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-14 Thread Francois Maltey
and numerous functions. The C-point is a play I'll done one day or an other because I make tipo every time I type expr.subs_expr(cos(x)==(exp(i*x)+exp(-i*x))/2), sin(x)==...) Francois. --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@g

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-14 Thread Francois Maltey
William wrote : > But isn't it just operator()??? > > sage: var('x,y'); a = x+y > (x, y) > sage: a.operator() > > Sage also need tests over theses operators : In an expression we test op = expr.operator if op == sin : ... # is right elif op == + : ... # doesn't work (or add or _plus...) The

[sage-devel] Re: Adding new functions for specific tasks related (logarithm, rational functions, ....)

2009-11-14 Thread Francois Maltey
Many thanks for the 2 previous help ! About operator.add and expr.variables()... The (real-?) last question is a=4*x b=4/3*x c=4.0*x d=4*I*x I can get the constant by a.operands(), a.operands()[-1], but how can I test (without error) if this term is an integer, a rational, a float or a compl

[sage-devel] Re: slightly confusing pynac simplification

2009-11-14 Thread Francois Maltey
Jason wrote : > The calculation below caused some concern for a few minutes with one of > my students the other day. We reasoned through it and saw that > everything was mathematically correct, but it seemed odd that Sage/pynac > would automatically pull a negative one out of (x-2t) and square

Re: [sage-devel] Re: Bug in determinant?

2009-11-25 Thread Francois Maltey
Sebastian Pancratz wrote : > The problem is here: > > > http://trac.sagemath.org/sage_trac/attachment/ticket/6441/trac_6441_b_df_charpoly_412rebase.patch > new lines 1084--1089 > > When I wrote the code for computing characteristic polynomials in a > division-free way in order for it to wo

[sage-devel] A curious result with len : an int is not an Integer.

2010-05-04 Thread Francois Maltey
Hello, I play with random in order to approximate Pi by Monte-Carlo method. sage: n=10^5 ; len(filter(lambda t:t, [random()^2+random^2() < 1 for k in [1..n]])) / len([1..n]) The test looks at the point (random(), random()) and tests if it's in the quarter circle. The result may be about pi

[sage-devel] 1==0 with "eval", sqrt and imag.

2010-07-22 Thread Francois Maltey
Hello, Maybe I'm wrong, but I don't understand the last 0. Test : var('m') ; y=sqrt(m^2-1) y(m=0) # =I, is right imag(y)# = feels right, arctan2(0,-1)=pi when m=0 imag(y(m=0)) # =1, is right (imag(y))(m=0) # is 0 and I don't understand why ! F

[sage-devel] Test the "binomial" function in an expression

2010-10-07 Thread Francois Maltey
Hello, I play with expressions, and transform sin(x) to (exp(i*x)-exp(-i*x))/2. So I use a lot of test as var ('x') y = cos(x) # or any other expression" op = y.operator # so op == cos if op == cos : ... # this test is fine, not the next one else : ... Now I want to test an expression

Re: [sage-devel] Re: Test the "binomial" function in an expression

2010-10-07 Thread Francois Maltey
dagss wrote : op = y.operator # so op == cos if op == cos : ... # this test is fine, not the next one Now I want to test an expression with the binomial function call. y = binomial (3*x, x)# is fine op = y.operator() # is also fine Why is there a () here, but not in the previou

Re: [sage-devel] Re: Test the "log" function in an expression for a rewrite function.

2010-10-11 Thread Francois Maltey
Hi Burcin and Karl-Dieter, // 1 // And what do you think about log ? Look at these test : exp(x).operator() == exp # is True, and all(?) trigonometric functions are fine log(x).operator() == ln # is True, yes the alias ln is better than the log name log(x).operator() == log # is False (this

Re: [sage-devel] Re: log(1) returns int, not Integer

2010-10-15 Thread Francois Maltey
there are no name about usual functions (sin, cos, log, exp) in this file So I don't understand how this filter (from int(0) to integer(0)) can be done. Are they just call just arround Pynac. But I feel it's ...local/lib/python2.6/site-packages/sage/functions/log.py Francois M. -

Re: [sage-devel] sqrt() returns wrong result for large inputs

2010-10-25 Thread Francois Maltey
Georg wrote : while calculating the integer part of square roots I realized that sqrt() returns wrong results for large inputs (although the sqrt() command itself accepts "bignum" values). example: int(sqrt(2^94533)) int isn't a "mathematical" Sage type, but Integer is a Sage type. And Integ

Re: [sage-devel] sqrt() returns wrong result for large inputs

2010-10-26 Thread Francois Maltey
David Roe wrote : I posted a patch there that should fix it; I have to work on other stuff, but if someone else wants to take over and write some doctests, make sure it works in lots of cases... David On Mon, Oct 25, 2010 at 17:14, Burcin Erocal > wrote: On Mon,

Re: [sage-devel] Re: Renaming the debugging function trace() to trace_execution()

2010-11-14 Thread Francois Maltey
Dear all, Students discover Sage for mathematical computations, and the functions are the most usual way to write mathematics. So I prefer a light interface with the matrix function "trace(...)". The determinant is a function and a method... but trace is only a method. And .methods() aren't ful

Re: [sage-devel] Sage installation error @ gnutls-2.2.1.p5

2011-10-18 Thread Francois Bissey
ild/gnutls-2.2.1.p5 and type 'make check' or > whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd '/home/yamak/sage-4.7.1/spkg/build/gnutls-2.2.1.p5'

[sage-devel] linux 3.0 and python breakage fun

2011-10-30 Thread Francois Bissey
2326 I'll introduce a fix for python-2.7 in #9958 at some point but the current python-2.6 will need fixing and python packages will have to be checked. Francois I see on macos prefix. I think it would be a good idea to get > > m4ri-20110715 and the new m4rie package at th

Re: [sage-devel] Re: 4.7.2.alpha0?

2011-10-30 Thread Francois Bissey
name, there is no associated mailing list. gentoo-science is the Gentoo specific mailing list on matters regarding packaging scientific packages on Gentoo. You could say I work at an intersection. Francois 91f4-12ece8a1f...@t7g2000vbv.googlegroups.com> MIME-Version: 1.0 Content-Transfer-Encod

Re: [sage-devel] Re: List condensation

2011-10-30 Thread Francois Bissey
t for clarification I work on porting sage on the Gentoo linux distro. sage-on-gentoo is our adopted name, there is no associated mailing list. gentoo-science is the Gentoo specific mailing list on matters regarding packaging scientific packages on Gentoo. You could say I work at an intersection. F

Re: [sage-devel] Re: test driving maxima-5.25.0

2011-10-30 Thread Francois Bissey
On Fri, 05 Aug 2011 05:49:41 kcrisman wrote: > Thanks for the detailed analysis, Francois! The 'official' > announcement hadn't been made on their list or the main Maxima page > yet, just that it had been tagged, so I didn't mention it yet - but > they have ever

Re: [sage-devel] twisted.web2 is gone from twisted 11.0? can we still upgrade

2011-10-30 Thread Francois Bissey
ogether by something more robust? > twisted.web2-8.1.0 works fine alongside twisted-11 here in sage-on-gentoo. However, getting rid of it would be most welcome. Francois This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, a

Re: [sage-devel] Re: SAGE_ATLAS_LIB question

2011-10-30 Thread Francois Bissey
On Fri, 12 Aug 2011 06:05:22 Volker Braun wrote: > Looks like intel uses a completely different naming scheme instead > of liblapack.so / libcblas.so / libf77blas.so. Francois' suggestion of > renaming the intel MKL libraries to something standard is a good one, though > it migh

Re: [sage-devel] Re: linux 3.0 and python breakage fun

2011-10-30 Thread Francois Bissey
> On Oct 30, 10:12 am, Francois Bissey > > wrote: > > There is also the fact that a number of packages check: > > sys.platform == 'linux2' > > One quick data point: on FC 15 they are shipping linux 3.* kernels > with a fake 2.* version number exactly fo

Re: [sage-devel] Re: linux 3.0 and python breakage fun

2011-10-30 Thread Francois Bissey
> On 30 Okt., 21:13, Nils Bruin wrote: > > On Oct 30, 10:12 am, Francois Bissey > > > > wrote: > > > There is also the fact that a number of packages check: > > > sys.platform == 'linux2' > > > > One quick data point: on FC 15 th

[sage-devel] python-2.7 status

2011-10-30 Thread Francois Bissey
(0.6..., 0.0, 0.3...) Got: (0.6667, 7.50150692314e-18, 0.) ** File "/usr/share/sage/devel/sage-main/sage/matrix/matrix_double_dense.pyx", line 2468: sage: B.is_hermitian(algor

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Francois Bissey
ed about 10.7 but the prefix bootstrap there). Because of a lack of man power we don't do other prefix targets. Windows would be nice. Technically I have the parts for trying AIX6.1. Sage-on-prefix as started by Burcin is lagging behind a little bit because it is very hard to restrict y

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Francois Bissey
> Em 8 de novembro de 2011 04:20, Paulo César Pereira de Andrade > > escreveu: > > 2011/11/7 Francois Bissey : > >> Hi Paulo, > >> > >> You are using python-2.7 right? In #9958 I have a list of patches > >> as long as my arm to deal wi

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Francois Bissey
I have pushed and chased all of the changes necessary for having sage building with python-2.7 out of the box in the last few months for example. Getting sage itself to move to python-2.7 is a little further away but Gentoo and Mandriva have already moved on. Recently Paulo chased an issue he had with

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Francois Bissey
> On 11/08/11 15:41, Francois Bissey wrote: > > And by the way thanks for using sage-on-gentoo, we get tired but a pat > > on the back helps a lot. > > Sure! You guys do a great job. I use Sage on three Gentoo machines and > you've saved me countless hours ove

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Francois Bissey
> 2011/11/8 Francois Bissey : > > [...] > > > I don't get any of that. I suspect there may be an issue with gmp/mpir. > > But I have really no clue about the glibc problem, you are using > > mpmath-0.17 I expect. > > Yes, mpmath-0.17. > >

  1   2   3   4   5   6   7   >