[sage-devel] Re: Preparsing madness...

2011-03-04 Thread Simon King
On 4 Mrz., 08:35, Jason Grout wrote: > But you could do this: > > sage: alpha=var("α") > sage: alpha > α Sure one could. But the point is that var is supposed to insert the variable into the global name space, under the given name. What about the following idea: 1. var(s) only accept strings an

[sage-devel] Re: Preparsing madness...

2011-03-04 Thread Simon King
PS: On 4 Mrz., 09:06, Simon King wrote: > What about the following idea: >  1. var(s) only accept strings and lists of strings, and for backwards > compatibility one could also make it accept objects whose string > representation does not contain commas or whitespace. So, > var(QQ['t'].gen()) is

Re: [sage-devel] Re: Preparsing madness...

2011-03-04 Thread Robert Bradshaw
2011/3/4 Simon King : > PS: > > On 4 Mrz., 09:06, Simon King wrote: >> What about the following idea: >>  1. var(s) only accept strings and lists of strings, and for backwards >> compatibility one could also make it accept objects whose string >> representation does not contain commas or whitespac

[sage-devel] Re: Preparsing madness...

2011-03-04 Thread Simon King
Hi Robert, On 4 Mrz., 09:30, Robert Bradshaw wrote: > So one would have to do > >     alpha=var("α", validate_name=False) > > to avoid an error? Yes, that was the idea. > Also, I'd still like to avoid > >     var("[]", ...) > > working at all. We could accept all valid Python3 identifiers, and

Re: [sage-devel] Re: Problems with TestSuite

2011-03-04 Thread Nicolas M. Thiery
Hi Joris! Ouch, I missed this e-mail last july. I hope that a late answer is better than none ... On Thu, Jul 29, 2010 at 05:56:22AM -0700, jvkersch wrote: > Let me answer you both in one post, since I think your solutions might > be related. I agree with Simon that this is the offending

Re: [sage-devel] Re: About GSoC

2011-03-04 Thread Hector
On Fri, Mar 4, 2011 at 5:34 AM, David Kirkby wrote: > On 3 March 2011 19:26, Harald Schilly wrote: > > On Thu, Mar 3, 2011 at 20:16, Dr. David Kirkby > wrote: > >> IIRC we have not been successful in recent times. Do we get any feedback > >> why? > > > > No, one vague guess is that there is a li

Re: Re: [sage-devel] Re: About GSoC

2011-03-04 Thread Martin Albrecht
> Hello Dr. David Kirkby, > It may be a trivial question but couldn't get what is IIRC. Is it IRC? > Googleing didn't return much relevant results. It means "If I recall correctly", see the golden source of slang definitions: http://www.urbandictionary.com/define.php?term=IIRC :) Cheers, Ma

Re: Re: [sage-devel] Re: About GSoC

2011-03-04 Thread Hector
On Fri, Mar 4, 2011 at 2:50 PM, Martin Albrecht < martinralbre...@googlemail.com> wrote: > > Hello Dr. David Kirkby, > > It may be a trivial question but couldn't get what is IIRC. Is it IRC? > > Googleing didn't return much relevant results. > > It means "If I recall correctly", see the golden so

Re: Re: [sage-devel] Re: About GSoC

2011-03-04 Thread Martin Albrecht
On Friday 04 March 2011, David Kirkby wrote: > On 3 March 2011 19:26, Harald Schilly wrote: > > On Thu, Mar 3, 2011 at 20:16, Dr. David Kirkby wrote: > >> IIRC we have not been successful in recent times. Do we get any feedback > >> why? > > > > No, one vague guess is that there is a limit for

[sage-devel] Re: Help needed with TestSuite

2011-03-04 Thread Nicolas M. Thiery
Hi Andrey, John! I somehow never received this discussion of yours on sage-devel, and stumbled on it while browsing trac. Time to answer! > Sometime in May 2010, John said on sage-devel: > On 16 May 2010 17:52, Andrey Novoseltsev wrote: > > If I add a new file into Sage without TestSuite

[sage-devel] giac interface

2011-03-04 Thread Han Frederic
Hello, I'm new to sage, I have tried to adapt the maple.py interface to obtain a giac interface for sage. The current version is there: http://www.math.jussieu.fr/~han/xcas/giac.py one needs a recent giac program. (this week, giac --sage should gives a working session) . Bernard parisse update

Re: Re: [sage-devel] Re: About GSoC

2011-03-04 Thread David Kirkby
On 4 March 2011 09:28, Martin Albrecht wrote: > On Friday 04 March 2011, David Kirkby wrote: >> Perhaps a very different approach is needed. One thing I feel Sage >> lacks is engineering applications. How about basing the applications >> upon building engineering applications on the top of maths

Re: Re: [sage-devel] Re: About GSoC

2011-03-04 Thread Harald Schilly
Thank's for your suggestions, but about that: On Fri, Mar 4, 2011 at 15:05, David Kirkby wrote: > I don't know of any way to add a finite element front end onto Sage, I think we should not try to copy femhub. E.g. it's not a coincidence that their packages end in *.spkg http://femhub.org/codes.

[sage-devel] iPhone app

2011-03-04 Thread David Kirkby
Has anyone tried Sage on an iPhone? How well does it work? Would an iPhone app be useful? I gather Wolfram Research were selling an app for Wolfram|Aplha at $49.99, then dropped the price to $19.99, then $1.99. Apparently they have offered to refund the purchase price to anyone who paid the higher

Re: Re: [sage-devel] Re: About GSoC

2011-03-04 Thread David Kirkby
On 4 March 2011 14:24, Harald Schilly wrote: > Thank's for your suggestions, but about that: > > On Fri, Mar 4, 2011 at 15:05, David Kirkby wrote: >> I don't know of any way to add a finite element front end onto Sage, > > I think we should not try to copy femhub. E.g. it's not a coincidence > th

[sage-devel] Re: About GSoC

2011-03-04 Thread Felix Lawrence
On Mar 5, 1:05 am, David Kirkby wrote: > * I don't know of any way to add a finite element front end onto Sage, > but if there was, that would open up a huge range of possibilies. > There are some finite element software based on Python - see for > examplehttp://pfem.sourceforge.net/That might be

Re: Re: [sage-devel] Re: About GSoC

2011-03-04 Thread Mike Hansen
On Fri, Mar 4, 2011 at 3:05 PM, David Kirkby wrote: > * Add GPIB support for Linux only - probably the only platform where > this is doable with totally free software. FreeBSD would be possible > if the port was complete. Solaris and OS X would probably need to use > a commerical driver for the GP

[sage-devel] Adding support for non-gnu compilers

2011-03-04 Thread David Kirkby
Although Sage builds fully and passes all doctest on 32-bit Solaris with gcc, there are a couple of issues I'm aware of where gcc is not working as well as I'd like. * R will not build 64-bit on OpenSolaris with gcc * The optional OpenMPI will not build with gcc on Solaris, but will with the Sun

[sage-devel] Re: Adding support for non-gnu compilers

2011-03-04 Thread kcrisman
On Mar 4, 11:39 am, David Kirkby wrote: > Although Sage builds fully and passes all doctest on 32-bit Solaris > with gcc, there are a couple of issues I'm aware of where gcc is not > working as well as I'd like. > > * R will not build 64-bit on OpenSolaris with gcc I can't find this ticket, tho

Re: [sage-devel] Re: Preparsing madness...

2011-03-04 Thread Robert Bradshaw
On Fri, Mar 4, 2011 at 12:45 AM, Simon King wrote: > Hi Robert, > > On 4 Mrz., 09:30, Robert Bradshaw > wrote: >> So one would have to do >> >>     alpha=var("α", validate_name=False) >> >> to avoid an error? > > Yes, that was the idea. > >> Also, I'd still like to avoid >> >>     var("[]", ...)

[sage-devel] Inverse of permutation group elements

2011-03-04 Thread Rob Beezer
Any thoughts on the following inconsistency? As near as I can tell, the inverse() method is being supplied by some code meant for combinatorics (words?). Should permutation elements be given their own inverse method? sage: S = SymmetricGroup(4) sage: s = S("(1,2,3)") sage: type(s) sage: s^-1

[sage-devel] Re: Geogebra (again)

2011-03-04 Thread mmarco
I have sent a proof of concept to the ticket. Still needs a lot of work, but i think it might be a valid starting point. -- 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 optio

Re: [sage-devel] Inverse of permutation group elements

2011-03-04 Thread Tom Boothby
Yes, and I think that Permutations should support exponentiation, too: sage: P = Permutation([1,2,3,4,5]) sage: P^2 Traceback (most recent call last): ... TypeError: unsupported operand type(s) for ** or pow(): 'Permutation_class' and 'int' On Fri, Mar 4, 2011 at 10:47 AM, Rob Beezer wrote: > An

[sage-devel] Re: Inverse of permutation group elements

2011-03-04 Thread kcrisman
On Mar 4, 3:13 pm, Tom Boothby wrote: > Yes, and I think that Permutations should support exponentiation, too: > > sage: P = Permutation([1,2,3,4,5]) > sage: P^2 > Traceback (most recent call last): > ... > TypeError: unsupported operand type(s) for ** or pow(): > 'Permutation_class' and 'int'

Re: [sage-devel] Adding support for non-gnu compilers

2011-03-04 Thread Francois Bissey
> Although Sage builds fully and passes all doctest on 32-bit Solaris > with gcc, there are a couple of issues I'm aware of where gcc is not > working as well as I'd like. > > * R will not build 64-bit on OpenSolaris with gcc > * The optional OpenMPI will not build with gcc on Solaris, but will >

[sage-devel] Re: Preparsing madness...

2011-03-04 Thread Simon King
Hi Robert, On 4 Mrz., 19:39, Robert Bradshaw wrote: > > How to test whether something is a valid identifier in Python3? I > > don't know. > > Fortunately, Python is open source :) I can't imagine it would be that > hard to figure out. I know where to find the Sage sources (although I tend to for

[sage-devel] Re: Adding support for non-gnu compilers

2011-03-04 Thread Volker Braun
On Friday, March 4, 2011 4:39:09 PM UTC, Dr. David Kirkby wrote: > > * R will not build 64-bit on OpenSolaris with gcc > * The optional OpenMPI will not build with gcc on Solaris, but will > with the Sun compiler. > Why not just manually override CC/CXX/FC with the Oracle compiler in the trouble

Re: [sage-devel] Re: Preparsing madness...

2011-03-04 Thread Robert Bradshaw
On Fri, Mar 4, 2011 at 12:33 PM, Simon King wrote: > Hi Robert, > > On 4 Mrz., 19:39, Robert Bradshaw > wrote: >> > How to test whether something is a valid identifier in Python3? I >> > don't know. >> >> Fortunately, Python is open source :) I can't imagine it would be that >> hard to figure out

Re: [sage-devel] Re: About GSoC

2011-03-04 Thread Dr. David Kirkby
On 03/ 4/11 02:40 PM, Mike Hansen wrote: On Fri, Mar 4, 2011 at 3:05 PM, David Kirkby wrote: * Add GPIB support for Linux only - probably the only platform where this is doable with totally free software. FreeBSD would be possible if the port was complete. Solaris and OS X would probably need t

Re: [sage-devel] Re: Adding support for non-gnu compilers

2011-03-04 Thread Dr. David Kirkby
On 03/ 4/11 04:52 PM, kcrisman wrote: On Mar 4, 11:39 am, David Kirkby wrote: Although Sage builds fully and passes all doctest on 32-bit Solaris with gcc, there are a couple of issues I'm aware of where gcc is not working as well as I'd like. * R will not build 64-bit on OpenSolaris with gc

[sage-devel] Re: About GSoC

2011-03-04 Thread dahl.joac...@gmail.com
Another possibility could be to improve numerical computations in SAGE. What makes MATLAB very popular with engineers is not the large amount of toolboxes - it's MATLAB's excellent capabilities for numerical computations. Very often MATLAB users don't have the toolboxes available (which are expensi

[sage-devel] Linear algebra reviews

2011-03-04 Thread Rob Beezer
I've been working the past three months or so to add significant amounts of Sage to my introductory linear algebra textbook. This has suggested many enhancements and fixes to the linear algebra code, mostly to make it easier and more convenient to use for students, but I've also caught some bugs a

[sage-devel] Re: iPhone app

2011-03-04 Thread Jason Grout
On 3/4/11 8:27 AM, David Kirkby wrote: Has anyone tried Sage on an iPhone? How well does it work? Would an iPhone app be useful? I've had lots of students that have used Sage on their iPhones. It seems possible, but not exactly the pinnacle of user-friendliness, to use Sage that way. Jas

Re: [sage-devel] Re: Geogebra (again)

2011-03-04 Thread Jacob Hicks
I started working on a project exactly like this about a year ago. I got Geogebra to run from a local copy of the jar files after some advice from William. Extract the sagenb spkg. Under the data directory, make a geogebra directory and place all the .jar files from http://www.geogebra.org/webst

[sage-devel] Re: iPhone app

2011-03-04 Thread Dima Pasechnik
On Mar 5, 9:42 am, Jason Grout wrote: > On 3/4/11 8:27 AM, David Kirkby wrote: > > > Has anyone tried Sage on an iPhone? How well does it work? Would an > > iPhone app be useful? > > I've had lots of students that have used Sage on their iPhones.  It > seems possible, but not exactly the pinnacl

[sage-devel] Re: Inverse of permutation group elements

2011-03-04 Thread Dima Pasechnik
On Mar 5, 4:13 am, Tom Boothby wrote: > Yes, and I think that Permutations should support exponentiation, too: > > sage: P = Permutation([1,2,3,4,5]) > sage: P^2 > Traceback (most recent call last): > ... > TypeError: unsupported operand type(s) for ** or pow(): > 'Permutation_class' and 'int' >

[sage-devel] Re: Inverse of permutation group elements

2011-03-04 Thread Dima Pasechnik
On Mar 5, 2:47 am, Rob Beezer wrote: > Any thoughts on the following inconsistency?  As near as I can tell, > the  inverse()  method is being supplied by some code meant for > combinatorics (words?).  Should permutation elements be given their > own inverse method? > > sage: S = SymmetricGroup(4

Re: [sage-devel] Re: iPhone app

2011-03-04 Thread David Kirkby
On 5 March 2011 06:27, Dima Pasechnik wrote: > > > On Mar 5, 9:42 am, Jason Grout wrote: >> On 3/4/11 8:27 AM, David Kirkby wrote: >> >> > Has anyone tried Sage on an iPhone? How well does it work? Would an >> > iPhone app be useful? >> >> I've had lots of students that have used Sage on their iP