XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ cmplx_sub()

void cmplx_sub ( double  r,
double  i,
doublecomplex *  z 
)

Building complex number

Purpose
Builds complex number composed of specified real and imaginary parts. cmplx_sub is the subroutine version of cmplx.
Parameters
[in]rReal part r.
[in]iImaginary part i.
[out]zComplex number r + i(i).