Adelsbach/VSIPL
Core Light Double Precision Programming Reference Guide
DD-00014-015
Core Light +DP

10.8 vsip_vimag_p - Extract Imaginary Part of a Complex Vector View

void vsip_vimag_f(const vsip_cvview_f* a, const vsip_vview_f* r); 
void vsip_vimag_d(const vsip_cvview_d* a, const vsip_vview_d* r);
Description

This function extracts the imaginary part of the complex vector view a and stores the result in the real vector view r.

Parameters
Example

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