Re: [sage-devel] Assignment of matrix to a matrix slice fails in the 1x1 case

2011-02-27 Thread Stephen Hartke
On Sun, Feb 27, 2011 at 10:32 PM, D. S. McNeil wrote: > I think this has changed very recently. Your code seems to work in > 4.6.2.rc0, but not in 4.6.1. Doug, Thanks for the response! I am using Sage 4.6. This bug was reported in trac #9747

[sage-devel] Re: Gram-Schmidt

2011-02-27 Thread Rob Beezer
On Feb 24, 9:46 pm, Rob Beezer wrote: > when you feed it a linearly dependent set, so I'm wondering if it gets > used very much (or maybe all it ever sees is a linearly independent > set). Answering my own post - the entries of the matrix were being used to check if a basis is LLL-reduced and the

Re: [sage-devel] Assignment of matrix to a matrix slice fails in the 1x1 case

2011-02-27 Thread D. S. McNeil
On Mon, Feb 28, 2011 at 11:12 AM, Stephen Hartke wrote: > Assignment of a matrix to a matrix slice works as expected except for when > the slice is 1x1; in that case, Sage expects a scalar instead of a 1x1 > matrix. I think this has changed very recently. Your code seems to work in 4.6.2.rc0, bu

[sage-devel] Re: Assignment of matrix to a matrix slice fails in the 1x1 case

2011-02-27 Thread Stephen Hartke
The slice assignment does work as expected for numpy arrays: import numpy k=5 A=numpy.array([range(i,i+k) for i in range(k)]) for i in range(A.shape[1]): print i, try: A[0:i,0:i]=A[0:i,0:i] print except TypeError as e: print "This slice assignment failed:",e

[sage-devel] Assignment of matrix to a matrix slice fails in the 1x1 case

2011-02-27 Thread Stephen Hartke
Assignment of a matrix to a matrix slice works as expected except for when the slice is 1x1; in that case, Sage expects a scalar instead of a 1x1 matrix. The following code demonstrates the problem: k=5 A=matrix(RDF,k,k,range(k^2)) for i in range(A.ncols()): print i, try: A[0:i,0:

[sage-devel] Re: Maxima library mode nearing completion

2011-02-27 Thread Nils Bruin
On Feb 27, 1:30 pm, rjf wrote: > That's great.  I was concerned that stdio was getting lost in the > shuffle. Actually, presently we have a (setf *standard-output* (make-broadcast-stream)) i.e., effectively a global redirect to /dev/null, because maxima has quite a bit of output that is impossibl

[sage-devel] Re: Maxima library mode nearing completion

2011-02-27 Thread rjf
On Feb 27, 1:17 pm, Mike Hansen wrote: > On Sun, Feb 27, 2011 at 10:07 PM, rjf wrote: > > One way around this is for the maxima/lisp function ASKSIGN > > to get back to Sage. > > This happens naturally since Maxima and Sage are in the same process. > It will sit and wait for an answer on standa

Re: [sage-devel] Re: Maxima library mode nearing completion

2011-02-27 Thread Mike Hansen
On Sun, Feb 27, 2011 at 10:07 PM, rjf wrote: > One way around this is for the maxima/lisp function ASKSIGN > to get back to Sage. This happens naturally since Maxima and Sage are in the same process. It will sit and wait for an answer on standard input. > Another is to > give an error and quit.

[sage-devel] Re: Maxima library mode nearing completion

2011-02-27 Thread rjf
I have only glanced at the material here, but having an interface that can pass structures other than strings seems like a big plus, generally. What happens to the questions and answers, though? for example, in a new maxima (no assumptions etc), integrate(x^n,x) PRINTS "Is n+1 zero or non-zero" a

Re: [sage-devel] Maxima library mode nearing completion

2011-02-27 Thread William Stein
On Sun, Feb 27, 2011 at 11:38 AM, Nils Bruin wrote: > In an unexpected flurry of activity, thanks to JP, the maxima library > interface has developed surprisingly well. There is a whole stack of Bravo!!! > patches and dependencies on http://trac.sagemath.org/sage_trac/ticket/7377 > which enables

[sage-devel] Maxima library mode nearing completion

2011-02-27 Thread Nils Bruin
In an unexpected flurry of activity, thanks to JP, the maxima library interface has developed surprisingly well. There is a whole stack of patches and dependencies on http://trac.sagemath.org/sage_trac/ticket/7377 which enables the use of maxima as a library for calculus purposes. Built on 4.6.2.al

Re: [sage-devel] Re: Support contracts for commercial customers.

2011-02-27 Thread Dr. David Kirkby
On 02/27/11 03:37 PM, rjf wrote: There seem to be two separate questions here. Yes, and they should be kept separate, on different threads really. 1. Should there be commercial support for Sage, whatever that might be. Anyone can announce he/(she_ is available for consulting work on the Sage

[sage-devel] Re: Support contracts for commercial customers.

2011-02-27 Thread rjf
There seem to be two separate questions here. 1. Should there be commercial support for Sage, whatever that might be. Anyone can announce he/(she_ is available for consulting work on the Sage collection of programs. He may be paid to enhance Sage for a client. The work he does may or may not be r

[sage-devel] Making Google Analytics Public

2011-02-27 Thread Timothy Clemans
I propose analytics for sagemath.org be publicly viewable by anyone without signing in. Unfortunately Google Analytics requires the webmaster to authorize individual users. However an open source clone of Analytics, Piwik http://piwik.org/ allows anonymous access, see an example at http://stats.ems

Re: [sage-devel] Re: How to target Mathematica on Google - I'll pay !!!

2011-02-27 Thread Dr. David Kirkby
On 02/27/11 04:25 AM, Robert Bradshaw wrote: http://jameswharris.wordpress.com/2010/08/01/mathematica-versus-sage/ Interestingly, his only significant complaint about Sage is that it isn't easy to use as a Windows user. Which is a totally valid complaint given the state of using Sage on Windo

Re: [sage-devel] Re: Support contracts for commercial customers.

2011-02-27 Thread Dr. David Kirkby
On 02/27/11 08:00 AM, William Stein wrote: On Sat, Feb 26, 2011 at 9:34 PM, daly wrote: Are you advertising to a particular niche market? For instance, Mathcad is very engineering oriented and has a lot of special purpose packages such as a way to get GPIB data off your spiffy HP equipment. Lab

[sage-devel] Re: How to target Mathematica on Google - I'll pay !!!

2011-02-27 Thread Emil Widmann
> Interestingly, his only significant complaint about Sage is that it > isn't easy to use as a Windows user. Which is a totally valid > complaint given the state of using Sage on Windows right now, but that > was the main obstruction. > > - Robert Concerning an easy windows version: I recently di

Re: [sage-devel] Re: Support contracts for commercial customers.

2011-02-27 Thread Dr. David Kirkby
On 02/27/11 06:32 AM, Rob Beezer wrote: On Feb 26, 5:08 pm, "Dr. David Kirkby" wrote: Things like number theory are interesting academically, but don't have a huge interest to industrial users. I guess RSA public-key cryptography is not very important to banks, the military, diplomats wishing

Re: [sage-devel] Re: Support contracts for commercial customers.

2011-02-27 Thread Robert Bradshaw
On Sat, Feb 26, 2011 at 9:34 PM, daly wrote: > On Sat, 2011-02-26 at 20:09 -0800, Nils Bruin wrote: >> On Feb 25, 10:52 pm, William Stein wrote: >> > > 2) Pay for advertising Sage in maths journals, New Scientist, or if >> > > deemed appropriate, anywhere where the 4 M's are advertised. >> > >> >

Re: [sage-devel] Re: Support contracts for commercial customers.

2011-02-27 Thread William Stein
On Sat, Feb 26, 2011 at 9:34 PM, daly wrote: > Are you advertising to a particular niche market? For instance, > Mathcad is very engineering oriented and has a lot of special > purpose packages such as a way to get GPIB data off your spiffy > HP equipment. Lab guys love it and will pay for this ab