LAPACK 3.11.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ lapack_make_complex_float()

lapack_complex_float lapack_make_complex_float ( float  re,
float  im 
)

Definition at line 37 of file lapacke_make_complex_float.c.

37 {
39#if defined(LAPACK_COMPLEX_STRUCTURE)
40 z.real = re;
41 z.imag = im;
42#elif defined(LAPACK_COMPLEX_C99)
43 z = re + im * I;
44#elif defined(LAPACK_COMPLEX_CPP)
45 z = std::complex<float>(re,im);
46#else /* C99 is default */
47 z = re + im*I;
48#endif
49 return z;
50}
#define lapack_complex_float
Definition: lapack.h:46