Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

4.3.14 vsip_rscvadd_p - Element-wise Real-Scalar-Complex Addition

void vsip_rscvadd_f(vsip_scalar_f alpha, const vsip_cvview_f* b, const vsip_cvview_f* r);
Description

This function performs element-wise addition 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_rscvadd_f(scalar, complex_vector, result_vector);