ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 28 Jan 2012 23:13:06 -0600Defining symbolic functions in Sage and importing from Maximahttp://ask.sagemath.org/question/8651/defining-symbolic-functions-in-sage-and-importing-from-maxima/Still following [this thread](http://ask.sagemath.org/question/1077/symbolic-expectations-and-double-integrals), I would like to know how to
1. import in Sage a function defined in Maxima?
In my context, I'm interested in Maxima's pdf_normal so I started to
maxima("load(distrib)");
but how do I proceed from there?<br/>
2. What is the equivalent of Maxima's := symbolic function definition?Sat, 21 Jan 2012 03:44:26 -0600http://ask.sagemath.org/question/8651/defining-symbolic-functions-in-sage-and-importing-from-maxima/Comment by Green diod for <p>Still following <a href="http://ask.sagemath.org/question/1077/symbolic-expectations-and-double-integrals">this thread</a>, I would like to know how to</p>
<ol>
<li><p>import in Sage a function defined in Maxima?
In my context, I'm interested in Maxima's pdf_normal so I started to</p>
<p>maxima("load(distrib)");</p></li>
</ol>
<p>but how do I proceed from there?<br/>
2. What is the equivalent of Maxima's := symbolic function definition?</p>
http://ask.sagemath.org/question/8651/defining-symbolic-functions-in-sage-and-importing-from-maxima/?comment=20392#post-id-20392Any hint on how to make any external function definition (such as the ones in Maxima) available inside Sage?Sat, 28 Jan 2012 23:13:06 -0600http://ask.sagemath.org/question/8651/defining-symbolic-functions-in-sage-and-importing-from-maxima/?comment=20392#post-id-20392Answer by Green diod for <p>Still following <a href="http://ask.sagemath.org/question/1077/symbolic-expectations-and-double-integrals">this thread</a>, I would like to know how to</p>
<ol>
<li><p>import in Sage a function defined in Maxima?
In my context, I'm interested in Maxima's pdf_normal so I started to</p>
<p>maxima("load(distrib)");</p></li>
</ol>
<p>but how do I proceed from there?<br/>
2. What is the equivalent of Maxima's := symbolic function definition?</p>
http://ask.sagemath.org/question/8651/defining-symbolic-functions-in-sage-and-importing-from-maxima/?answer=13162#post-id-13162For the second point, it seems
fun(x)=a*x+b
is enough.
Are there other ways to define a symbolic function?
Sat, 21 Jan 2012 10:49:57 -0600http://ask.sagemath.org/question/8651/defining-symbolic-functions-in-sage-and-importing-from-maxima/?answer=13162#post-id-13162