BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kdcp2r - convert double complex from polar coordinates to rectangular coordinates

LIBRARY CALL

kdcomplex kdcp2r(
   kdcomplex p)

INPUT

OUTPUT

none

RETURN VALUE

The rectangular coordinate double complex value

DESCRIPTION

kdcr2p() convert a double complex from polar coordinates to rectangular coordinates. Stored as the (real,imaginary) pair. Where the polar coordinate input is the (radius,angle) pair. This pair is stored in the same structure used for dcomplex data, except that what was formerly the real part is now the magnitude, and what was the imaginary component will now be the phase in radians.

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.