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

6.13 vsip_dvget_p - Get an Element from a Vector View

vsip_scalar_f  vsip_vget_f(const vsip_vview_f* v, vsip_index j); 
vsip_cscalar_f vsip_cvget_f(const vsip_cvview_f* v, vsip_index j);
Description

This function retrieves the element at the specified index j from the vector view v.

Parameters
Return Value
Example

vsip_vview_f *vector_view; 
vsip_index index = 3; 
vsip_scalar_f value; 
 
// Assuming vector_view has been properly initialized 
value = vsip_vget_f(vector_view, index);