vsip_vview_f* vsip_vimagview_f(const vsip_cvview_f* v); vsip_vview_d* vsip_vimagview_d(const vsip_cvview_d* v);
This function returns a view of the imaginary part of the complex vector view v.
const vsip_cvview_p* v: Pointer to the complex vector view.
On success, a pointer to the imaginary part view of the complex vector view is returned.
On error, NULL is returned.
vsip_cvview_f *complex_vector_view; vsip_vview_f *imaginary_part_view; // Assuming complex_vector_view has been properly initialized imaginary_part_view = vsip_vimagview_f(complex_vector_view); if (imaginary_part_view == NULL) { // Handle error }