[sage-support] Re: plot 3d complex function

2010-09-04 Thread sps
On 3 Set, 23:40, Marshall Hampton hampto...@gmail.com wrote: Here's a slightly different workaround that doesn't require any lambda expressions: var('z,z0,x,y') f=abs(1/(z-z0)).subs({z:x+I*y,z0:1/2+i}) ff = fast_callable(f,vars=[x,y],domain=CDF) plot3d(ff,(x,-2,2),(y,-2,2)) -Marshall

Re: [sage-support] Re: plot 3d complex function

2010-09-04 Thread Minh Nguyen
Hi, On Sat, Sep 4, 2010 at 7:01 PM, sps debernasave...@libero.it wrote: But what is fast_callable function ? Where can I find adaguate documentation? See this page in the reference manual

[sage-support] Re: plot 3d complex function

2010-09-03 Thread kcrisman
Yes, complex_plot is similar to a Mathematica function of the same type. To plot such a function the way you are indicating, we need to have the fast_float/fast_callable functions which do (very fast, as the name indicates) evaluation of functions to be plotted to work with complex input. This

Re: [sage-support] Re: plot 3d complex function

2010-09-03 Thread Eckhard Kosin
Am Freitag, den 03.09.2010, 07:58 -0700 schrieb kcrisman: Yes, complex_plot is similar to a Mathematica function of the same type. To plot such a function the way you are indicating, we need to have the fast_float/fast_callable functions which do (very fast, as the name indicates)

[sage-support] Re: plot 3d complex function

2010-09-03 Thread kcrisman
On Sep 3, 11:56 am, Eckhard Kosin e...@mathematik-service-kosin.de wrote: Am Freitag, den 03.09.2010, 07:58 -0700 schrieb kcrisman: Yes, complex_plot is similar to a Mathematica function of the same type. To plot such a function the way you are indicating, we need to have the

[sage-support] Re: plot 3d complex function

2010-09-03 Thread Marshall Hampton
Here's a slightly different workaround that doesn't require any lambda expressions: var('z,z0,x,y') f=abs(1/(z-z0)).subs({z:x+I*y,z0:1/2+i}) ff = fast_callable(f,vars=[x,y],domain=CDF) plot3d(ff,(x,-2,2),(y,-2,2)) -Marshall -- To post to this group, send email to sage-support@googlegroups.com