REAL Name
REAL
Purpose
This function returns the real component of a complex number.
Category
Mathematics
Calling Sequence
Result = REAL( Z )
Inputs
Z: A scalar or array of type complex.
Outputs
Result: The real component(s) of Z.
Procedure
This function runs the IDL function FLOAT. I just like the
more obvious call name. Example
Define a complex number.
z = 1. + 2 * im()
Extract the real component of z.
result = real( z )
Modification History
Written by: Daithi A. Stone, 2000-06-09.