[sage-devel] Re: base_ring()

2009-09-02 Thread Jan Groenewald
Hi William On Wed, Sep 02, 2009 at 11:18:40PM -0700, William Stein wrote: >If you take any integer (or rational) alpha such that alpha is not a >perfect square, and try to compute sqrt(alpha), Sage promotes alpha to the >symbolic ring (SR) and takes the square root there. Thus the fi

[sage-devel] Re: base_ring()

2009-09-02 Thread William Stein
2009/9/2 Jan Groenewald > > Hi William > > On Wed, Sep 02, 2009 at 10:31:01PM -0700, William Stein wrote: > > Is this the intended behaviour? > > > > sage: z=1.+sqrt(-1); print z; z.base_ring() > > 1.00 + 1.00*I > > Symbolic Ring > > sage: z=1.+sqr

[sage-devel] polynomial substitution

2009-09-02 Thread William Stein
Hi Martin (and Sage-devel), I discovered that polynomial substitution is badly inconsistent between the symbolic ring and multivariate polynomials: sage: R. = QQ[] sage: f = x + 2*y sage: f.subs(x=y,y=x) 3*y sage: var('x,y') sage: f = x + 2*y sage: f.subs(x=y,y=x) 2*x + y See http://trac.sagemat

[sage-devel] Re: base_ring()

2009-09-02 Thread Jan Groenewald
Hi William On Wed, Sep 02, 2009 at 10:31:01PM -0700, William Stein wrote: > Is this the intended behaviour? > > sage: z=1.+sqrt(-1); print z; z.base_ring() > 1.00 + 1.00*I > Symbolic Ring > sage: z=1.+sqrt(-1.); print z; z.base_ring() > 1.000

[sage-devel] Re: base_ring()

2009-09-02 Thread William Stein
On Wed, Sep 2, 2009 at 9:56 PM, Jan Groenewald wrote: > > Hi > > Sage-support did not solicit an answer. > Both of these seem wrong: > > Is this the intended behaviour? > > sage: z=1.+sqrt(-1); print z; z.base_ring() > 1.00 + 1.00*I > Symbolic Ring > sage: z=1.+sqrt(-1.);

[sage-devel] base_ring()

2009-09-02 Thread Jan Groenewald
Hi Sage-support did not solicit an answer. Both of these seem wrong: Is this the intended behaviour? sage: z=1.+sqrt(-1); print z; z.base_ring() 1.00 + 1.00*I Symbolic Ring sage: z=1.+sqrt(-1.); print z; z.base_ring() 1.00 + 1.00*I Real Field with

[sage-devel] Re: [fricas-devel] Re: Aldor interface

2009-09-02 Thread Bill Page
Ralf, I just completed a full compile of FriCAS rev. 666 from source with ECL 9.8.4 including the Aldor interface. It finished with no problems and seems to run fine. So what is failing at the moment seems to be building the Aldor interface from a *cached lisp* distribution created with: ../fri

[sage-devel] Re: extension field iterator

2009-09-02 Thread Robert Bradshaw
On Wed, 2 Sep 2009, YannLC wrote: > > Hi all, > > I noticed that iterating over a finite field gives a different order > depending on the implementation: > > sage: list(sage.rings.finite_field_prime_modn.FiniteField_prime_modn > (7)) > [0, 1, 2, 3, 4, 5, 6] > sage: list(sage.rings.finite_field.Fi

[sage-devel] extension field iterator

2009-09-02 Thread YannLC
Hi all, I noticed that iterating over a finite field gives a different order depending on the implementation: sage: list(sage.rings.finite_field_prime_modn.FiniteField_prime_modn (7)) [0, 1, 2, 3, 4, 5, 6] sage: list(sage.rings.finite_field.FiniteField_givaro(7)) [0, 3, 2, 6, 4, 5, 1] sage: list

[sage-devel] Re: Dangerous mixing of different domains for symbolic variables

2009-09-02 Thread Golam Mortuza Hossain
Hi, On Wed, Sep 2, 2009 at 12:13 PM, kcrisman wrote: >> FWIW in order for conjugate & friends to recognize variables as >> complex, probably it is necessary to declare them as such >> (i.e. declare(foo, complex)). I think domain:complex won't have >> the same effect. Maybe Sage is already callin

[sage-devel] Re: Factorial syntax

2009-09-02 Thread Kwankyu
> I think that a CAS without a strong programming language is nothing > but a simple pocket calculator. Therefore, if a mathematical notation > interferes too much with the requirements of the underlying > programming language, then the mathematical notation should be > dropped. I vote +1 for th

[sage-devel] Re: upgrade of ECL and Maxima

2009-09-02 Thread kcrisman
> Sorry to be replying to my own post, but in case you need more > arguments supporting (a) above, note that upgrading the spkg's solves > the issues listed at tickets #780, #3718, #6165, #6420, and #6423. And it makes #3587 look much better. Great work getting the new Maxima in! - kcrisman --~

[sage-devel] Re: What units should process size & memory be returned in?

2009-09-02 Thread gsw
Yes, I do agree that "uintptr_t" is a better choice. It's also part of the ISO C99's "Stdint.h". Note that we only would need this latter header (or rather the type(def)s contained therein), and possibly the corresponding "printf formatting magic". ISO C99 is a standard for a decade now. Even if

[sage-devel] Re: Factorial syntax

2009-09-02 Thread Tom Boothby
On Tue, Sep 1, 2009 at 11:34 PM, Dr. David Kirkby wrote: > > In[7]:= 5!!! > > Out[7]= 1307674368000 > > In[8]:= (5!!)! > > Out[8]= 1307674368000 > > In[9]:= 5 > > Out[9]= 2027025 > > In[10]:= (5!!)!! > > Out[10]= 2027025 > Yuck. -1 to compatibility with this. All or nothing -- if you're goi

[sage-devel] Re: New graphics axes and gridlines

2009-09-02 Thread Jason Grout
Stan Schymanski wrote: > Hi Jason, > > Thanks for the great work! > > Just to add to the axis labels problem you mentioned, the following > does not display the y-axis label for me (in notebook): > > P = plot(1.5*x + 0.003,(x,0,0.075)) > P.axes_labels(['$\delta_c$ (m)', '$\delta_h$ (m)']) > P >

[sage-devel] Re: Dangerous mixing of different domains for symbolic variables

2009-09-02 Thread kcrisman
On Sep 2, 11:02 am, Robert Dodier wrote: > FYI the Maxima functions conjugate, realpart/imagpart, & cabs/carg > have been revised recently. Maybe you can try it with the most recent > version (5.19.2). For the purposes of debugging I think it's best if > you > use Maxima directly instead of goi

[sage-devel] Re: Factorial syntax

2009-09-02 Thread David Kirkby
2009/9/2 kcrisman : > > >> >> But clearly Mathemaitca shows there is some ambiguity about how >> multiple exclamation marks are used. > > Yes, unfortunately math is filled with such contextual ambiguity and/ > or conflicting conventions (for instance, is i an indexing integer or > a root of -1?).

[sage-devel] Fwd: Conference/workshop on "Industrial Applications and Prospects of Computer Algebra"

2009-09-02 Thread Martin Albrecht
Hi there, I just received this e-mail about a computer algebra conference in Germany in 2010. The bottomline: > So let me kindly ask if you/your company/organisation basically would be > interested to contribute to this event, in terms of talks, exhibitions, or > financial support. It sounds

[sage-devel] Re: List of doctest failures in current Mandriva sagemath

2009-09-02 Thread Martin Albrecht
> > doc/en/constructions/rings.rst +58 > >sage: R = singular.ring(97, '(a,b,c,d)', 'lp') > >sage: I = singular.ideal(['a+b+c+d', 'ab+ad+bc+cd', > > 'abc+abd+acd+bcd', 'abcd-1']) > >sage: R > > Expected: > >// characteristic : 97 > >// number of vars : 4 > >//blo

[sage-devel] Re: Dangerous mixing of different domains for symbolic variables

2009-09-02 Thread Robert Dodier
FYI the Maxima functions conjugate, realpart/imagpart, & cabs/carg have been revised recently. Maybe you can try it with the most recent version (5.19.2). For the purposes of debugging I think it's best if you use Maxima directly instead of going through Sage. On Sep 2, 5:49 am, Golam Mortuza Hos

[sage-devel] Re: New graphics axes and gridlines

2009-09-02 Thread Stan Schymanski
Hi Jason, Thanks for the great work! Just to add to the axis labels problem you mentioned, the following does not display the y-axis label for me (in notebook): P = plot(1.5*x + 0.003,(x,0,0.075)) P.axes_labels(['$\delta_c$ (m)', '$\delta_h$ (m)']) P Changing the xmax value a little bit makes

[sage-devel] Re: List of doctest failures in current Mandriva sagemath

2009-09-02 Thread William Stein
2009/9/1 Paulo César Pereira de Andrade < paulo.cesar.pereira.de.andr...@gmail.com> > > Hi, > > The package I am building uses newer versions of several components, > and while I believe most of these tests probably are correct, I may be > missing some patch, so, if you can confirm it is correct

[sage-devel] Re: Univ of Maryland and Sage

2009-09-02 Thread Minh Nguyen
On Thu, Sep 3, 2009 at 12:07 AM, William Stein wrote: > Hi Sage-Devel, > > Here's an encouraging email about Sage that went out to the Univ of Maryland > math department yesterday. Incidentally, we were recently notified via IRC in #sage-devel that the University of Tennessee at Knoxville would p

[sage-devel] Univ of Maryland and Sage

2009-09-02 Thread William Stein
Hi Sage-Devel, Here's an encouraging email about Sage that went out to the Univ of Maryland math department yesterday. William -- Forwarded message -- From: Mark Tilmes <> Date: Tue, Sep 1, 2009 at 2:45 PM Subject: New Mathematical software, Sage To: mathus...@math.umd.edu Math

[sage-devel] Re: CSS overflow:auto prevents printing

2009-09-02 Thread William Stein
2009/9/1 Jason Grout > > William Stein wrote: > > > > > > 2009/9/1 Jason Grout > > > > > > > > William Stein wrote: > > > > > > > > > On Tue, Sep 1, 2009 at 4:22 PM, Jason Grout > > mailto:jason-s...@creativetrax.com> > > >

[sage-devel] Re: Dangerous mixing of different domains for symbolic variables

2009-09-02 Thread kcrisman
I wonder what the OP in the previous thread has for an OS, as well as for you. That's because the code mentioned there in calculus/ calculus.py maxima = Maxima(init_code = ['display2d:false; domain: complex; keepfloat: true; load(topoly_solver)'], script_subdirectory=None) seem

[sage-devel] Re: Meeting Groupe Thématique Logiciel Libre, Ile de France

2009-09-02 Thread William Stein
2009/9/2 Nicolas M. Thiery > > On Wed, Sep 02, 2009 at 07:09:17PM +1000, Minh Nguyen wrote: > > > > Hi Nicolas, > > > > 2009/9/2 Nicolas M. Thiery : > > > > > > > > > Suggestions? Standard slides anyone for such a presentation? Project > > > ideas for such services? > > > > Perhaps the talks wik

[sage-devel] Re: Factorial syntax

2009-09-02 Thread kcrisman
> > But clearly Mathemaitca shows there is some ambiguity about how > multiple exclamation marks are used. Yes, unfortunately math is filled with such contextual ambiguity and/ or conflicting conventions (for instance, is i an indexing integer or a root of -1?). I'm usually all for multiple mod

[sage-devel] Re: How do I apply a patch or clean up a repository?

2009-09-02 Thread Stan Schymanski
Sorry, please disregard my previous message. I just found the following plastered all over my terminal window: WARNING: Make sure to create a ~/.hgrc file: -- [ui] username = William Stein --

[sage-devel] Re: How do I apply a patch or clean up a repository?

2009-09-02 Thread Stan Schymanski
I don't seem to have an .hgrc file. I only have an .hg file in /sage/devel/sage-myclone. Did I failed to install something crucial? Cheers, Stan Jason Grout wrote: > John Cremona wrote: > >> You may need to recompile from scratch. I would *never* apply a patch >> to the mai nbranch, for thi

[sage-devel] Re: whither the KAIST mirror?

2009-09-02 Thread Dan Drake
Okay, some of their hardware went south: > Date: Wed, 2 Sep 2009 20:39:24 +0900 > From: 신재호 > To: Dan Drake > Subject: Re: ftp.kaist.ac.kr mirror of sagemath.org not working > > Hi Dan, > > These are known problems, and we are working on them. > One of our disks has failed and we're currently

[sage-devel] Re: Meeting Groupe Thématique Logiciel Libre, Ile de France

2009-09-02 Thread Nicolas M. Thiery
On Wed, Sep 02, 2009 at 07:09:17PM +1000, Minh Nguyen wrote: > > Hi Nicolas, > > 2009/9/2 Nicolas M. Thiery : > > > > > Suggestions? Standard slides anyone for such a presentation? Project > > ideas for such services? > > Perhaps the talks wiki page can help: > > http://wiki.sagemath.org/Ta

[sage-devel] Re: New graphics axes and gridlines

2009-09-02 Thread kcrisman
> > Anyway, thanks again for all of your hard work on this!  Sage has come a > long ways because of it. +1. As thick as the web of the current plot code is, the actual functioning is very good in nearly all "normal" cases, as witness how picky we can afford to be with matplotlib; doing that from

[sage-devel] Re: Factorial syntax

2009-09-02 Thread David Kirkby
2009/9/2 Dan Drake : > On Tue, 01 Sep 2009 at 11:42PM -0700, Robert Bradshaw wrote: >> If we support the ! notation, we should either have x!! == (x!)! or, >> preferably, x!!..! be the multi factorial (not limiting ourselves to >> single and double). > > I study combinatorics, and I'm fine with *n

[sage-devel] Dangerous mixing of different domains for symbolic variables

2009-09-02 Thread Golam Mortuza Hossain
Hi, This is from sage-support On Sep 1, 11:35 pm, Mani chandra wrote: > sage: x = a + I*b sage: real(x.conjugate().simplify()) real_part(a) + imag_part(b) sage: real(x.conjugate()) real_part(a) - imag_part(b) - This seems to be happening because maxima(via simplify) treats va

[sage-devel] Re: whither the KAIST mirror?

2009-09-02 Thread Dan Drake
On Wed, 02 Sep 2009 at 01:04AM -0700, Harald Schilly wrote: > On Sep 2, 4:12 am, Dan Drake wrote: > > Does anybody know what happened to the KAIST mirror? > > I haven't heard anything from them and have no idea. The "mirror > manager" script checks all mirrors every 10 minutes and looks, if it >

[sage-devel] Re: Factorial syntax

2009-09-02 Thread Dan Drake
On Tue, 01 Sep 2009 at 11:42PM -0700, Robert Bradshaw wrote: > If we support the ! notation, we should either have x!! == (x!)! or, > preferably, x!!..! be the multi factorial (not limiting ourselves to > single and double). I study combinatorics, and I'm fine with *not* supporting ! notation. Wri

[sage-devel] Re: Meeting Groupe Thématique Logiciel Libre, Ile de France

2009-09-02 Thread Minh Nguyen
Hi Nicolas, 2009/9/2 Nicolas M. Thiery : > Suggestions? Standard slides anyone for such a presentation? Project > ideas for such services? Perhaps the talks wiki page can help: http://wiki.sagemath.org/Talks William Stein has delivered many such talks: http://www.wstein.org/talks/ But you

[sage-devel] Meeting Groupe Thématique Logiciel Libr e, Ile de France

2009-09-02 Thread Nicolas M. Thiery
Hi all, On Thursday 10th, the "Groupe Thématique Logiciel Libre Île-de-France" (a task force whose purpose is to foster the open source software ecosystem, in Paris and around) organizes a gathering of the actors of open source, developers and companies. Their goal is to let multi-partner

[sage-devel] Re: Factorial syntax

2009-09-02 Thread Simon King
Hi! On Sep 2, 7:40 am, Jason Grout wrote: > Wow, that seems totally ambiguous.  Is 5!!! equal to (5!!)! or (5!)!! or > ((5!)!)!  The notation is pretty bad in this case. [...] Yes, and this is why the very common notation "5!" is bad syntax that should be avoided in a CAS, IMHO. Of course, one

[sage-devel] Re: Building problems on Intel Mac

2009-09-02 Thread Simon King
Hi Minh, On Sep 2, 8:41 am, Minh Nguyen wrote: [...] > After some experimentation and reading, I got Sage 4.1.1 to build in > 64-bit mode under OS X 10.5.8. I used Michael Abshoff's custom-built > Fortran spkg as documented at > > http://wiki.sagemath.org/osx64 > > I have written up the steps. Y

[sage-devel] Re: whither the KAIST mirror?

2009-09-02 Thread Harald Schilly
On Sep 2, 4:12 am, Dan Drake wrote: > Does anybody know what happened to the KAIST mirror? I haven't heard anything from them and have no idea. The "mirror manager" script checks all mirrors every 10 minutes and looks, if it is online and the timestamp is correct. You can see its output here: ht

[sage-devel] Re: Error in installation

2009-09-02 Thread Minh Nguyen
Hi On Wed, Sep 2, 2009 at 5:33 PM, Balkrishna wrote: > > I get the following error message when i execute make in the sage > source folder : > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -m32 -O2 - > fomit-frame-pointer -mtune=pentium3 -march=pentium3 -c isfuns.cc - > fPIC -DPI

[sage-devel] Re: Building problems on Intel Mac

2009-09-02 Thread Minh Nguyen
On Mon, Aug 31, 2009 at 1:45 AM, William Stein wrote: > This is a known problem. You can get around it by commenting out the line > that imports cliquer in > >devel/sage/sage/graphs/all.py > > That's what I did for the OS X 64-bit binary that is posted. After some experimentation and read

[sage-devel] Error in installation

2009-09-02 Thread Balkrishna
I get the following error message when i execute make in the sage source folder : g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -m32 -O2 - fomit-frame-pointer -mtune=pentium3 -march=pentium3 -c isfuns.cc - fPIC -DPIC -o .libs/isfuns.o In file included from isfuns.cc:26: ../gmp.h:51