[Maxima] problems with abs() and cabs()

Stavros Macrakis macrakis at alum.mit.edu
Thu Jan 7 09:10:20 CST 2010


Stanislav,

Until the cabs/abs problem is resolved, there is a workaround for your
problem, namely to define a function which first calculates the complex
numerical value, and only then calls abs, something like this:

Instead of

       plot3d( abs(f(x,y)), ...)

use

       fff(x,y) := block([temp], temp: float(f(x,y)), cabs(temp) )

       plot3d( '(fff(x,y)), ...)

Let us know if this helps.

            -s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20100107/3909fabb/attachment.htm 


More information about the Maxima mailing list