problems with abs() and cabs()



On Thu, Jan 07, 2010 at 10:01:35AM -0500, Stavros Macrakis wrote:
> The approach using "cabs" is probably not ideal.
> 
> The purpose of cabs is to produce a *symbolic expression* for the complex
> absolute value.

In what sense exactly is it different from myabs(z) :=
sqrt(realpart(z)^2 + imagpart(z)^2)? The documentation is unclear. By
experimentation I see that all 3 functions return same symbolic
answers if given a symbolic expression.

-- 
Stanislav