void vsip_CMPLX_f(vsip_scalar_f a, vsip_scalar_f b, vsip_cscalar_f *r);
This function creates a complex scalar from the real part a and the imaginary part b and stores the result in the complex scalar pointed to by r.
vsip_scalar_f a: The real part of the complex scalar.
vsip_scalar_f b: The imaginary part of the complex scalar.
vsip_cscalar_f* r: Pointer to the complex scalar where the result will be stored.
vsip_scalar_f real_part = 1.0; vsip_scalar_f imag_part = 2.0; vsip_cscalar_f complex_value; vsip_CMPLX_f(real_part, imag_part, &complex_value);