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