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

4.3.6 vsip_rcvadd_p - Element-wise Real-Complex Addition

void vsip_rcvadd_f(const vsip_vview_f* a, const vsip_cvview_f* b, const vsip_cvview_f* r);
Description

This function performs element-wise addition of the real vector view a and the complex vector view b and stores the result in the complex vector view r.

Parameters
Example

vsip_vview_f *real_vector; 
vsip_cvview_f *complex_vector; 
vsip_cvview_f *result_vector; 
 
// Assuming real_vector, complex_vector, and result_vector have been properly initialized 
vsip_rcvadd_f(real_vector, complex_vector, result_vector);