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