VMS Help
RTL Routines, MTH$, MTH$xCMPLX
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
The Complex Number Made from D- or G-Floating Point routines
return a complex number from two D- or G-floating input values.
Format
MTH$DCMPLX complx ,real-part ,imaginary-part
MTH$GCMPLX complx ,real-part ,imaginary-part
Each of the above formats accepts one of floating-point complex
types as input.
None.
complx
OpenVMS usage:complex_number
type: D_floating complex, G_floating complex
access: write only
mechanism: by reference
The floating-point complex value of a complex number. The complex
exponential functions that have D-floating complex and G-floating
complex input values write the address of this floating-point
complex value into complx. For MTH$DCMPLX, complx specifies a
D-floating complex number. For MTH$GCMPLX, complx specifies a
G-floating complex number. For MTH$CMPLX, complx is not used.
real-part
OpenVMS usage:floating_point
type: D_floating, G_floating
access: read only
mechanism: by reference
Real part of a complex number. The real-part argument is the
address of a floating-point number that contains this real part,
r, of (r,i). For MTH$DCMPLX, real-part specifies a D-floating
number. For MTH$GCMPLX, real-part specifies a G-floating number.
imaginary-part
OpenVMS usage:floating_point
type: D_floating, G_floating
access: read only
mechanism: by reference
Imaginary part of a complex number. The imaginary-part argument
is the address of a floating-point number that contains this
imaginary part, i, of (r,i). For MTH$DCMPLX, imaginary-part
specifies a D-floating number. For MTH$GCMPLX, imaginary-part
specifies a G-floating number.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.