BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kdcr2p - convert double complex from rectangular coordinates to polar coordinates

LIBRARY CALL

kdcomplex kdcr2p(
   kdcomplex r)

INPUT

OUTPUT

none

RETURN VALUE

The polar coordinate double complex value

DESCRIPTION

kdcr2p() convert a double complex from rectangular coordinates to polar coordinates. The radius is stored as the real, and the angle as the imaginary.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibm/src/convert.c

SEE ALSO

klibm(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.