BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kcp2r - convert complex from polar coordinates to rectangular coordinates

LIBRARY CALL

kcomplex kcp2r(
   kcomplex p)

INPUT

OUTPUT

none

RETURN VALUE

The rectangular coordinate complex value

DESCRIPTION

kdcr2p() convert a complex from polar coordinates to rectangular coordinates. Stored as the (real,imaginary) pair in a kcomplex data type. The polar coordinate input is also encoded in a kcomplex datatype, but the interpretation is a (radius,angle) pair.

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.