Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  Daithi  >  REAL

REAL

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.



© 2018 Harris Geospatial Solutions, Inc. |  Privacy Policy
My Account    |    Store    |    Contact Us