Adelsbach/VSIPL
Core Light Double Precision Programming Reference Guide
DD-00014-015
Core Light +DP

10.4 vsip_rscvmul_p - Element-wise Scalar-Complex Multiplication

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);
Description

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.

Parameters
Example

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);