kccomp - construct a complex number from two real numbers.
LIBRARY CALL
kcomplex kccomp(
double a,
double b)
INPUT
a - the real component of the complex number
b - the imaginary component of the complex
number
OUTPUT
none
RETURN VALUE
A complex number composed of the two
inputs where the first input is the real
component and the second input is the
imaginary component.
DESCRIPTION
kccomp() constructs a complex number from
two real numbers. The first argument
becomes the real component and the second
argument becomes the imaginary component
of the resulting complex number.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
This function returns an aggregate. If
your compiler cannot deal with this, you
are in trouble.
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.