BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kcr2p - convert complex from rectangular coordinates to polar coordinates

LIBRARY CALL

kcomplex kcr2p(
   kcomplex r)

INPUT

OUTPUT

none

RETURN VALUE

The polar coordinate complex value

DESCRIPTION

kdcr2p() convert a 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.