[sage-devel] Re: embedded ECL maxima pay-off

2010-02-08 Thread rjf
Two items: for i:1 thru 100 do integrate(cos(x),x); in Maxima took 0.0100 seconds on my intel 3GHz system. so the time in maxima for the computation is down around 0.1 ms. I thought maybe the time is taken for parsing. for i:1 thru 100 do parse_string("integrate(cos(x),x)"); takes about 0.0200 s

Re: [sage-devel] Can one run all doctests from the GUI ?

2010-02-08 Thread David Kirkby
On 8 February 2010 18:15, Robert Bradshaw wrote: >> I'm not sure what to make of all this. I'm basically confused! > > > The above makes perfect sense to me. Python was able to find the OpenSSL > include files (did you add /usr/sfw/include to the build scripts somewhere?) > but not the library fi

[sage-devel] Re: embedded ECL maxima pay-off

2010-02-08 Thread Nils Bruin
On Feb 8, 10:22 pm, William Stein wrote: > Yes it does. Sorry for slandering the expect interface. I noticed that the expect interface has a facility for reusing variables and that the maxima expect interface doesn't use it. But you show that deletion does happen, so no memorial benefit should be

Re: [sage-devel] embedded ECL maxima pay-off

2010-02-08 Thread William Stein
On Mon, Feb 8, 2010 at 10:13 PM, Nils Bruin wrote: > Finally we got to the cool stuff of running maxima in an embedded > lisp: direct expression tree translation between SR and maxima. See: > http://trac.sagemath.org/sage_trac/ticket/7377 > Timing improvements are disappointingly little: The trans

[sage-devel] Incomplete tar file...

2010-02-08 Thread Florent Hivert
Hi, There seems to be a problem with the 64 bits openSuSE 11.1 archive offered for metalink download. I downloaded from the metalink page http://www.sagemath.org/mirror/metalinks.html the file linux/64bit sage-4.3.2-linux-64bit-opensuse_11.1_x86_64-x86_64-Linux.tar.gz The downlo

[sage-devel] embedded ECL maxima pay-off

2010-02-08 Thread Nils Bruin
Finally we got to the cool stuff of running maxima in an embedded lisp: direct expression tree translation between SR and maxima. See: http://trac.sagemath.org/sage_trac/ticket/7377 Timing improvements are disappointingly little: The translation of the expressions simply isn't all that big of a bot

[sage-devel] Re: show and view

2010-02-08 Thread Andrey Novoseltsev
Positive review, thank you! Andrey On Feb 8, 9:52 pm, William Stein wrote: > On Mon, Feb 8, 2010 at 8:21 PM, Andrey Novoseltsev wrote: > > Hello, > > > As of now show and view seem to do the same thing, yet show used to > > produce displayed equations and I liked it mainly for bigger size of >

[sage-devel] Re: MPIR and GMP

2010-02-08 Thread Georg S. Weber
> > Software Foundation.  If the Program does not specify a version number of > > this License, you may choose any version ever published by the Free Software > > Foundation." > > I stand corrected. > > Dave Me too. William, thanks for the clarification, having read this part of "Section 9" of th

Re: [sage-devel] show and view

2010-02-08 Thread William Stein
On Mon, Feb 8, 2010 at 8:21 PM, Andrey Novoseltsev wrote: > Hello, > > As of now show and view seem to do the same thing, yet show used to > produce displayed equations and I liked it mainly for bigger size of > fractions, but also for centering the output. Is there still a > possibility to get th

[sage-devel] show and view

2010-02-08 Thread Andrey Novoseltsev
Hello, As of now show and view seem to do the same thing, yet show used to produce displayed equations and I liked it mainly for bigger size of fractions, but also for centering the output. Is there still a possibility to get the old-style behaviour? There was some discussion that show does not wo

[sage-devel] Re: Mozilla ends Firefox support for Mac OS Tiger in 2011

2010-02-08 Thread Minh Nguyen
On Sat, Feb 6, 2010 at 12:44 PM, Minh Nguyen wrote: > Hi folks, > > A recent news item And a follow-up: http://arstechnica.com/apple/news/2010/02/mozilla-finally-dropping-104-support-with-next-ff-release.ars -- Regards Minh Van Nguyen -- To post to this group, send an email to sage-devel@goo

[sage-devel] Re: maxima replacing floats with rationals

2010-02-08 Thread rjf
Keepfloat is explicitly set to false in the solve program, and the comments in the source code say so. Also ratfac is set to false. The usefulness of keepfloat in some circumstances is undeniable, though whether the behavior of floats in this particular case is a bug or not might be worth discussi

[sage-devel] Re: maxima replacing floats with rationals

2010-02-08 Thread Robert Dodier
On Feb 8, 8:53 am, kcrisman wrote: > It sounds like in solve this is not likely to be changed, but it is > interesting to see it show up elsewhere.  Perhaps Robert D. has some > insight - I don't want to file a Maxima bug ticket if it isn't > considered a bug. It seems likely to me that the beha

Re: [sage-devel] Re: MPIR and GMP

2010-02-08 Thread Dr. David Kirkby
William Stein wrote: On Mon, Feb 8, 2010 at 2:24 PM, David Joyner wrote: On Mon, Feb 8, 2010 at 5:16 PM, Dr. David Kirkby wrote: Georg S. Weber wrote: "... either version 2 of the License, or (at your option) any later version ..." Someone reviewed something I wrote for Sage, which I'd mark

Re: [sage-devel] Cadabra interface

2010-02-08 Thread Ondrej Certik
On Mon, Feb 8, 2010 at 10:19 AM, Robert Bradshaw wrote: > On Feb 7, 2010, at 7:56 AM, Oscar Gerardo Lazo Arjona wrote: > >> I am studying quantum mechanics for the first time, and I would love to >> have some software dedicated to solving quantum mechanics problems to make >> my life easyer. >> >>

Re: [sage-devel] Re: MPIR and GMP

2010-02-08 Thread William Stein
On Mon, Feb 8, 2010 at 2:24 PM, David Joyner wrote: > On Mon, Feb 8, 2010 at 5:16 PM, Dr. David Kirkby > wrote: >> Georg S. Weber wrote: >>> >>> "... either version 2 of the License, or (at your option) any later >>> version ..." >> >> Someone reviewed something I wrote for Sage, which I'd marked

Re: [sage-devel] Re: MPIR and GMP

2010-02-08 Thread David Joyner
On Mon, Feb 8, 2010 at 5:16 PM, Dr. David Kirkby wrote: > Georg S. Weber wrote: >> >> "... either version 2 of the License, or (at your option) any later >> version ..." > > Someone reviewed something I wrote for Sage, which I'd marked as GPL 2. They > wanted added "or (at your option) any later v

[sage-devel] automatically generating a release note template

2010-02-08 Thread Minh Nguyen
Hi folks, I have pushed further changes to the rnotes repository [1]. Here is a summary of the changes so far: * The script is now called rnotes.py * The script now maintains a list of contributors up to and including Sage 4.3.2. After each release, this list should be updated to reflect new con

Re: [sage-devel] Re: MPIR and GMP

2010-02-08 Thread Dr. David Kirkby
Georg S. Weber wrote: "... either version 2 of the License, or (at your option) any later version ..." Someone reviewed something I wrote for Sage, which I'd marked as GPL 2. They wanted added "or (at your option) any later version". Personally I can't see the point of this. It is stated in

[sage-devel] Re: Labelled lattices

2010-02-08 Thread Simon King
On 8 Feb., 19:22, Simon King wrote: > To put it differently, what I'd like to compute with in Sage is the > category of Labelled Lattices (Labelled Posets would be fine as well), > whose objects are labelled isomorphism classes of lattices ... Sorry, the objects aren't isomorphism classes. But I'

[sage-devel] Re: Canonical binary names

2010-02-08 Thread Georg S. Weber
> Example OS X names are: > > sage-4.3.2-OSX-32bit-10.5-i386-Darwin.dmg > sage-4.3.2-OSX-32bit-10.5-PowerMacintosh-Darwin.dmg > sage-4.3.2-OSX-64bit-10.6-i386-Darwin.dmg > > The script I wrote *ONLY* has anything to do with this part of the > name: "sage-4.3.2-OSX-32bit-10.5". > The Sage "sage-bdis

Re: [sage-devel] Re: Canonical binary names

2010-02-08 Thread William Stein
On Mon, Feb 8, 2010 at 11:19 AM, kcrisman wrote: >> > After procrastinating 3 years, I finally wrote a script to create >> > bdist's with fairly canonical names on different platforms.  It's >> >> >  http://boxen.math.washington.edu/home/wstein/bin/botdist >> > > Nice! > >> Hooray! >> >> Please ad

[sage-devel] Re: Canonical binary names

2010-02-08 Thread kcrisman
> > After procrastinating 3 years, I finally wrote a script to create > > bdist's with fairly canonical names on different platforms.  It's > > >  http://boxen.math.washington.edu/home/wstein/bin/botdist > Nice! > Hooray! > > Please add the following change/distinction: instead of "...- > PowerMa

[sage-devel] Re: MPIR and GMP

2010-02-08 Thread Georg S. Weber
On 8 Feb., 17:20, William Stein wrote: > Hi Sage-Devel (and MPIR-devel), > > Recently, there have been baseless and unsubstantiated accusations > (e.g., on the GMP websitehttp://gmplib.org/) that LGPL v3+ licensed > GMP code is being used illegally in MPIR (which we ship with Sage) > under an LGPL

[sage-devel] Re: Canonical binary names

2010-02-08 Thread Georg S. Weber
On 8 Feb., 03:33, William Stein wrote: > Hi, > > After procrastinating 3 years, I finally wrote a script to create > bdist's with fairly canonical names on different platforms.  It's > >  http://boxen.math.washington.edu/home/wstein/bin/botdist > > You just make sure it is in your PATH, and from

[sage-devel] Re: Labelled lattices

2010-02-08 Thread Simon King
Hi Rob! On Feb 8, 6:04 pm, Rob Beezer wrote: > There's a patch that involves both graph output and posets at > > http://trac.sagemath.org/sage_trac/ticket/7004 > > but I think any labeling might be more for presentation (rather than > isomorphisms). Yes, that's my impression as well. For my appl

Re: [sage-devel] Cadabra interface

2010-02-08 Thread Robert Bradshaw
On Feb 7, 2010, at 7:56 AM, Oscar Gerardo Lazo Arjona wrote: I am studying quantum mechanics for the first time, and I would love to have some software dedicated to solving quantum mechanics problems to make my life easyer. AFAIK Cadabra is the only free software dedicated to this: http://

Re: [sage-devel] Can one run all doctests from the GUI ?

2010-02-08 Thread Robert Bradshaw
On Feb 7, 2010, at 3:29 AM, Dr. David Kirkby wrote: Robert Bradshaw wrote: On Feb 6, 2010, at 2:09 PM, Dr. David Kirkby wrote: Robert Bradshaw wrote: On Feb 6, 2010, at 12:53 PM, Dr. David Kirkby wrote: Dr. David Kirkby wrote: Robert Bradshaw wrote: On Feb 6, 2010, at 3:58 AM, Dr. David Ki

[sage-devel] Re: Labelled lattices

2010-02-08 Thread Rob Beezer
There's a patch that involves both graph output and posets at http://trac.sagemath.org/sage_trac/ticket/7004 but I think any labeling might be more for presentation (rather than isomorphisms). But you might have a look all the same, since my impressions could be wrong (either way). I think Nicol

Re: [sage-devel] Re: bug in sqrt() for QQbar elements

2010-02-08 Thread John Cremona
Thanks for your efforts, Dmitrii -- I will create a ticket since this must be fixed. John On 8 February 2010 16:45, Dima Pasechnik wrote: > IHMO it's just the usual fp hell: data gets moved from registers into > memory and back, etc (but maybe I am wrong here, don't know) > > Anyway, there is a

[sage-devel] bu site işinize belki yarayabilir

2010-02-08 Thread Mahammet Bayraktar
-- www.istanbulfatih.com http://www.istanbulfatih.com/istanbul http://www.istanbulfatih.com/hadis -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at

[sage-devel] Pickle and Hash value...

2010-02-08 Thread Florent Hivert
Hi there, I'm doing some cleanup in the computation of the hash value for various parent in sage (see #8120 and followup). A technical question came up: suppose that some object is inserted is a hash table (eg: some cache) and that the whole table is pickled. Do we have to ensure that upon u

[sage-devel] Re: bug in sqrt() for QQbar elements

2010-02-08 Thread Dima Pasechnik
IHMO it's just the usual fp hell: data gets moved from registers into memory and back, etc (but maybe I am wrong here, don't know) Anyway, there is a way to avoid taking sqrt at all, just solve the equation f(x^2)=0, not f(x)=0. Dmitrii On Feb 8, 11:26 pm, YannLC wrote: > > It can do sqrt(-734/

[sage-devel] Re: maxima replacing floats with rationals

2010-02-08 Thread Nils Bruin
On Feb 8, 5:29 am, Burcin Erocal wrote: > If we use number fields for algebraic numbers, then the degree of the > extension over QQ grows to unreasonable values rather quickly. E.g., > if we add \sqrt{2}, \sqrt[3]{2}, sqrt[5]{2}, ... the degree will be > proportional to factorial(n). Though, I wou

Re: [sage-devel] Exercise generator / delay evaluation of numeric expressions

2010-02-08 Thread Nicolas M. Thiery
On Mon, Feb 08, 2010 at 02:51:31AM -0800, Jerome Lacoste wrote: > Our background: > *** > > We've been experimenting with an exercise generator for math students. > Target age: <=18 years old at start. > Our first version of the program uses a custom language and a ply (lex/ > yacc

[sage-devel] MPIR and GMP

2010-02-08 Thread William Stein
Hi Sage-Devel (and MPIR-devel), Recently, there have been baseless and unsubstantiated accusations (e.g., on the GMP website http://gmplib.org/) that LGPL v3+ licensed GMP code is being used illegally in MPIR (which we ship with Sage) under an LGPL v2+ license. A response is being formulated.

[sage-devel] Re: maxima replacing floats with rationals

2010-02-08 Thread kcrisman
> I noticed that "keepfloat: true" does not get always get honoured by > maxima. A symptom: > > sage: integrate(cos(1.17*x),x) > 0.854700854701*sin(1.17*x) > > (works as expected) > > sage: S=integrate(cos(1.17*x^2),x) > sage: S > -1/156*((5*I + 5)*sqrt(2)*sqrt(13)*erf((3/20*I - > 3/20)*sqrt(2)*sqr

Re: [sage-devel] More helpful error when multiplication operator is left out

2010-02-08 Thread Gustav Delius
Burcin, thanks for putting this into the tracker. I am not yet quite sure what goes onto the discussion forum and what goes into the tracker. I saw your comment that the shortcut notation has been deprecated for over a year already. Do you know when it is planned to actually remove it? Is there a

[sage-devel] Re: bug in sqrt() for QQbar elements

2010-02-08 Thread YannLC
> It can do sqrt(-734/3), but fails on > sqrt(-244.7? + 0.?e-39*I) > for some reason. > > Dmitrii It's worse than failing, it also changes the value: sage: x = polygen(QQbar) sage: f = 3*x^4 - 4*x^3 - 1046148*x^2 - 335575956*x - 30288853512 sage: rts = f.roots(multiplicities=False)

[sage-devel] Re: bug in sqrt() for QQbar elements

2010-02-08 Thread Dima Pasechnik
On Feb 8, 9:27 pm, John Cremona wrote: > In 3.4.2 I get this: > > sage: x = polygen(QQbar) > sage: f = 3*x^4 - 4*x^3 - 1046148*x^2 - 335575956*x - 30288853512 > sage: rts = f.roots(multiplicities=False) > sage: [r.sqrt() for r in rts] > ---

Re: [sage-devel] More helpful error when multiplication operator is left out

2010-02-08 Thread Burcin Erocal
Hi Gustav, On Sun, 7 Feb 2010 10:36:29 -0800 (PST) Gustav Delius wrote: > I wonder whether it would be possible to give a better error message > when a user leaves out the multiplication operator in something like > x(x+1). Perhaps somthing like: "Warning: you may have forgotten a > multiplicati

Re: [sage-devel] iconv license - a bit of a mixup

2010-02-08 Thread Mahammet Bayraktar
> > > This site may be useful to you about istanbul -- www.istanbulfatih.com http://www.istanbulfatih.com/istanbul http://www.istanbulfatih.com/hadis -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@

[sage-devel] Labelled lattices

2010-02-08 Thread Simon King
Hi! A quick search in the Sage reference manual did not reveal an answer, so, I hope I can ask here: If I am not mistaken, lattices are implemented in Sage (at least Posets are, although they are not much documented). GAP can compute the subgroup lattice of a finite group. Is there a method imple

[sage-devel] Re: cddlib

2010-02-08 Thread Volker Braun
Sorry for the confusion. Here is the executive summary: The offending patch is not relevant to building the cddlib spkg. You can skip or reverse it, makes no difference to building cddlib-094f.p2.spkg There is an updated cddlib-094f.p4.spkg in #8115 that fixes this and more bugs and makes cddlib

[sage-devel] Re: Exercise generator / delay evaluation of numeric expressions

2010-02-08 Thread bayraktar
On 8 Şubat, 12:51, Jerome Lacoste wrote: > Hi all, > > We're trying to find a way to get sage to generate latex > representation of numeric expressions without fully evaluating them. > > For example this would allow us to do something like render 1+5 in > latex as $1+5$ instead of 6. > Can someo

Re: [sage-devel] maxima replacing floats with rationals

2010-02-08 Thread John Cremona
On 8 February 2010 13:29, Burcin Erocal wrote: > Hi Nils, > > I'll leave the maxima floats question to the experts. > > On Mon, 8 Feb 2010 00:48:47 -0800 (PST) > Nils Bruin wrote: > >> Incidentally, >> sage: S.operands()[0].operands()[0].operands()[3].pyobject() >> 5*I + 5 >> sage: type(S.operand

Re: [sage-devel] maxima replacing floats with rationals

2010-02-08 Thread Burcin Erocal
Hi Nils, I'll leave the maxima floats question to the experts. On Mon, 8 Feb 2010 00:48:47 -0800 (PST) Nils Bruin wrote: > Incidentally, > sage: S.operands()[0].operands()[0].operands()[3].pyobject() > 5*I + 5 > sage: type(S.operands()[0].operands()[0].operands()[3].pyobject()) > 'sage.rings.n

[sage-devel] bug in sqrt() for QQbar elements

2010-02-08 Thread John Cremona
In 3.4.2 I get this: sage: x = polygen(QQbar) sage: f = 3*x^4 - 4*x^3 - 1046148*x^2 - 335575956*x - 30288853512 sage: rts = f.roots(multiplicities=False) sage: [r.sqrt() for r in rts] --- AttributeError

[sage-devel] Re: Exercise generator / delay evaluation of numeric expressions

2010-02-08 Thread Jason Grout
Jerome Lacoste wrote: Hi all, We're trying to find a way to get sage to generate latex representation of numeric expressions without fully evaluating them. For example this would allow us to do something like render 1+5 in latex as $1+5$ instead of 6. Can someone tell us if it's possible to ach

Re: [sage-devel] Exercise generator / delay evaluation of numeric expressions

2010-02-08 Thread Burcin Erocal
Hi Jerome, On Mon, 8 Feb 2010 02:51:31 -0800 (PST) Jerome Lacoste wrote: > Hi all, > > We're trying to find a way to get sage to generate latex > representation of numeric expressions without fully evaluating them. > > For example this would allow us to do something like render 1+5 in > latex

[sage-devel] Re: c++ question related to porting sage to Open Solaris

2010-02-08 Thread Jaap Spies
Dima Pasechnik wrote: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6395191 It's a bug, known for 4 years, and nobody is fixing it, it seems... See: http://bugs.python.org/issue1759169 for some further reading. Jaap -- To post to this group, send an email to sage-devel@googleg

[sage-devel] Exercise generator / delay evaluation of numeric expressions

2010-02-08 Thread Jerome Lacoste
Hi all, We're trying to find a way to get sage to generate latex representation of numeric expressions without fully evaluating them. For example this would allow us to do something like render 1+5 in latex as $1+5$ instead of 6. Can someone tell us if it's possible to achieve this goal ? Maybe b

Re: [sage-devel] Re: MPC: Complex arithmetic with correct rounding

2010-02-08 Thread John Cremona
+1 for including MPC (initially as an alternative if that is deemed a safer way to proceed). John On 8 February 2010 01:15, YannLC wrote: > > On Jan 7, 10:19 am, Alex Ghitza wrote: >> This is maybe an obvious point, but I'll make it anyway:MPCis "brought >> to you by the makers of MPFR".  They

[sage-devel] maxima replacing floats with rationals

2010-02-08 Thread Nils Bruin
I noticed that "keepfloat: true" does not get always get honoured by maxima. A symptom: sage: integrate(cos(1.17*x),x) 0.854700854701*sin(1.17*x) (works as expected) sage: S=integrate(cos(1.17*x^2),x) sage: S -1/156*((5*I + 5)*sqrt(2)*sqrt(13)*erf((3/20*I - 3/20)*sqrt(2)*sqrt(13)*x) + (5*I - 5)*

Re: [sage-devel] Patch messup - how do I recover ?

2010-02-08 Thread David Kirkby
On 7 February 2010 20:10, Peter Jeremy wrote: > On 2010-Feb-04 23:56:27 +, "Dr. David Kirkby" > wrote: >>There is another maths library which can be linked, rather than using >>-lm. That at least got around this for the previous case of this. > > For that matter, if anyone is aware of a suit