Re: [sage-devel] solve_right RDF weirdness

2011-09-08 Thread William Stein
On Thu, Sep 8, 2011 at 7:09 PM, Dima Pasechnik wrote: > > > On Thursday, 8 September 2011 23:55:00 UTC+8, William wrote: >> >> On Thu, Sep 8, 2011 at 8:28 AM, Rado wrote: >> > sage: L = [[2,4,16],[1/2,1,2],[1,1,1]] >> > sage: A = matrix(RDF, L) >> > sage: xvalues = [sqrt(2), 2, 4] >> > sage: L2 =

[sage-devel] Re: Finding the exact camera position in Jmol

2011-09-08 Thread Nils Bruin
On Sep 8, 6:02 pm, Sébastien Labbé wrote: > Hi, > > I have been asked this question since more than a year by some people > in Montpellier and also needed it myself to draw in tikz a 3d object > with a projection I would choose using Jmol. I have now understood how > to do it and wrote a post abou

Re: [sage-devel] solve_right RDF weirdness

2011-09-08 Thread Dima Pasechnik
On Thursday, 8 September 2011 23:55:00 UTC+8, William wrote: > > On Thu, Sep 8, 2011 at 8:28 AM, Rado wrote: > > sage: L = [[2,4,16],[1/2,1,2],[1,1,1]] > > sage: A = matrix(RDF, L) > > sage: xvalues = [sqrt(2), 2, 4] > > sage: L2 = [[i^2 for i in xvalues], [log(i, 2) for i in xvalues], [1 for >

[sage-devel] Finding the exact camera position in Jmol

2011-09-08 Thread Sébastien Labbé
Hi, I have been asked this question since more than a year by some people in Montpellier and also needed it myself to draw in tikz a 3d object with a projection I would choose using Jmol. I have now understood how to do it and wrote a post about it here : http://www.thales.math.uqam.ca/~labbes/bl

Re: [sage-devel] Re: solve_right RDF weirdness

2011-09-08 Thread William Stein
On Thu, Sep 8, 2011 at 9:07 AM, Jason Grout wrote: > On 9/8/11 11:00 AM, William Stein wrote: >> >> On Thu, Sep 8, 2011 at 8:49 AM, Jason Grout >>  wrote: >>> >>> On 9/8/11 10:30 AM, Dima Pasechnik wrote: we should also add that both A.solve_right and A.solve_left claim to solve Ax=

[sage-devel] Re: solve_right RDF weirdness

2011-09-08 Thread Jason Grout
On 9/8/11 11:00 AM, William Stein wrote: On Thu, Sep 8, 2011 at 8:49 AM, Jason Grout wrote: On 9/8/11 10:30 AM, Dima Pasechnik wrote: we should also add that both A.solve_right and A.solve_left claim to solve Ax=b... Yep. solve_left should be solve_right, IIRC. See http://trac.sagemath.o

Re: [sage-devel] Re: solve_right RDF weirdness

2011-09-08 Thread William Stein
On Thu, Sep 8, 2011 at 8:49 AM, Jason Grout wrote: > On 9/8/11 10:30 AM, Dima Pasechnik wrote: >> >> we should also add that both A.solve_right and A.solve_left claim to >> solve Ax=b... > > > Yep.  solve_left should be solve_right, IIRC.  See > http://trac.sagemath.org/sage_trac/ticket/7852.  I t

Re: [sage-devel] solve_right RDF weirdness

2011-09-08 Thread William Stein
On Thu, Sep 8, 2011 at 8:28 AM, Rado wrote: > sage: L = [[2,4,16],[1/2,1,2],[1,1,1]] > sage: A = matrix(RDF, L) > sage: xvalues = [sqrt(2), 2, 4] > sage: L2 = [[i^2 for i in xvalues], [log(i, 2) for i in xvalues], [1 for i > in xvalues]] > sage: A2 = matrix(RDF, L2) > sage: print (A - A2).norm() >

[sage-devel] Re: solve_right RDF weirdness

2011-09-08 Thread Jason Grout
On 9/8/11 10:30 AM, Dima Pasechnik wrote: we should also add that both A.solve_right and A.solve_left claim to solve Ax=b... Yep. solve_left should be solve_right, IIRC. See http://trac.sagemath.org/sage_trac/ticket/7852. I think this was an error from when I did the RDF switch to a numpy

[sage-devel] Re: solve_right RDF weirdness

2011-09-08 Thread Dima Pasechnik
we should also add that both A.solve_right and A.solve_left claim to solve Ax=b... -- 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 http://groups.

[sage-devel] solve_right RDF weirdness

2011-09-08 Thread Rado
sage: L = [[2,4,16],[1/2,1,2],[1,1,1]] sage: A = matrix(RDF, L) sage: xvalues = [sqrt(2), 2, 4] sage: L2 = [[i^2 for i in xvalues], [log(i, 2) for i in xvalues], [1 for i in xvalues]] sage: A2 = matrix(RDF, L2) sage: print (A - A2).norm() 1.11022302463e-16 sage: b = vector(RDF, [5, 20, 106]) sag

[sage-devel] Re: "edit" not functional for large worksheets

2011-09-08 Thread Stan Schymanski
Hi Rob, thanks for the tip. I didn't realise I could safely edit the html in the sage_notebook.sagenb-directory. Will try that. Cheers Stan On 23/08/11 18:38, Rob Beezer wrote: On Aug 23, 6:56 am, Stan Schymanski wrote: For me, this is the only useful way how to remove chunks from large work

[sage-devel] Re: Fast substitution symbolic matrices/vectors for numeric intensive task?

2011-09-08 Thread Maarten Derickx
Do you also already have some timings to compare to the other solutions (i.e. the two in your worksheet?) -- 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