Re: [sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-22 Thread Julien Puydt
Hi, Le 21/01/2015 17:49, Nils Bruin a écrit : On Wednesday, January 21, 2015 at 2:39:52 AM UTC-8, Snark wrote: Ah, ha! That helps. But, let's take the following code (extracted from src/sage/interfaces/maxima_lib.py) : from sage.libs.ecl import * ecl_eval((require 'maxima))

Re: [sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-21 Thread Nils Bruin
On Wednesday, January 21, 2015 at 2:39:52 AM UTC-8, Snark wrote: Ah, ha! That helps. But, let's take the following code (extracted from src/sage/interfaces/maxima_lib.py) : from sage.libs.ecl import * ecl_eval((require 'maxima)) ecl_eval((in-package :maxima))

Re: [sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-21 Thread Julien Puydt
Hi, Le 19/01/2015 17:38, Nils Bruin a écrit : On Monday, January 19, 2015 at 8:22:15 AM UTC-8, Dima Pasechnik wrote: On 2015-01-19, Julien Puydt julien...@laposte.net javascript: wrote: Hi, I wanted to play with maxima-in-ecl to understand how it works, but failed: from reading sage's

[sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-20 Thread rjf
I suggest that if you want to understand maxima, you start by using maxima, not sage. If you use (say) wxmaxima, you can type in an expression, say z: x+y; and then if you want to see what the value of z is, in lisp, you can type :lisp $z note that all variables begin with a $ by

Re: [sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-20 Thread Julien Puydt
Hi, Le 20/01/2015 16:54, rjf a écrit : I suggest that if you want to understand maxima, you start by using maxima, not sage. What I want to understand, is how sage uses maxima through ECL. How those work separately is interesting, but isn't the point. The link is what I'm focusing on.

[sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-19 Thread Robert Dodier
On 2015-01-19, Nils Bruin nbr...@sfu.ca wrote: (require `maxima) [...] (in-package :maxima) MAXIMA #$2+2$ 4 MAXIMA '#$x+5$ (MEVAL* '((MPLUS) $X 5)) MAXIMA (meval '((mplus) 2 2)) 4 One more thing that might be relevant in this context. You can call the DISPLA (note the lack of a

[sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-19 Thread Nils Bruin
On Monday, January 19, 2015 at 8:22:15 AM UTC-8, Dima Pasechnik wrote: On 2015-01-19, Julien Puydt julien...@laposte.net javascript: wrote: Hi, I wanted to play with maxima-in-ecl to understand how it works, but failed: from reading sage's sources I thought I was supposed to use a

[sage-devel] Re: How does the ECL+Maxima combination work ?

2015-01-19 Thread Dima Pasechnik
On 2015-01-19, Julien Puydt julien.pu...@laposte.net wrote: Hi, I wanted to play with maxima-in-ecl to understand how it works, but failed: from reading sage's sources I thought I was supposed to use a MEVAL function, but it failed. Here is what I did: jpuydt@cauchy:~/sage-6.4.1$ ./sage