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

4.3.9 vsip_crvsub_p - Element-wise Complex-Real Subtraction

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

This function performs element-wise subtraction of the complex vector view a and the real 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_rcvsub_f(complex_vector, real_vector, result_vector);