Adelsbach/VSIPL
Core Light Programming Reference Guide
DD-00014-015
Core Light

10.9 vsip_vcmplx_p - Create a Complex Vector View from Real and Imaginary Parts

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

This function creates a complex vector view r from the real vector view a and the imaginary vector view b.

Parameters
Example

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