ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 29 Jan 2012 06:13:06 +0100Defining symbolic functions in Sage and importing from Maximahttps://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 10:44:26 +0100https://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>
https://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?Sun, 29 Jan 2012 06:13:06 +0100https://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>
https://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 17:49:57 +0100https://ask.sagemath.org/question/8651/defining-symbolic-functions-in-sage-and-importing-from-maxima/?answer=13162#post-id-13162