void vsip_rscvmul_f(vsip_scalar_f alpha, const vsip_cvview_f* b, const vsip_cvview_f* r); void vsip_rscvmul_d(vsip_scalar_d alpha, const vsip_cvview_d* b, const vsip_cvview_d* r);
This function performs element-wise multiplication of the scalar alpha and the complex vector view b and stores the result in the complex vector view r.
vsip_scalar_p alpha: The scalar value to multiply by.
const vsip_cvview_p* b: Pointer to the source complex vector view.
const vsip_cvview_p* r: Pointer to the destination complex vector view.
vsip_scalar_f scalar = 2.0; vsip_cvview_f *complex_vector; vsip_cvview_f *result_vector; // Assuming complex_vector and result_vector have been properly initialized vsip_rscvmul_f(scalar, complex_vector, result_vector);