[GRASS-user] Complex numbers in GRASS

Glynn Clements glynn at gclements.plus.com
Fri Apr 16 11:02:26 EDT 2010


Margherita Di Leo wrote:

> I understand it may sound kind of strange problem.
> I need to know how GRASS manages complex numbers in a map.
> I.e. i produced a map with r.mapcalc using a formula and in some cell I
> could have complex.
> In GRASS i have not. I tried the same formula in MATLAB and I have, but
> MATLAB manages complex as i can select the real part of a complex with
> real_part=real(number).
> Is there in GRASS anything similar?

r.mapcalc doesn't understand complex numbers, only real numbers and
integers.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list