Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

1.3.12 vsip_dvgetlength_p - Get the Length of a Vector View

vsip_length vsip_vgetlength_f(const vsip_vview_f* v); 
vsip_length vsip_vgetlength_bl(const vsip_vview_bl* v); 
vsip_length vsip_vgetlength_vi(const vsip_vview_vi* v); 
vsip_length vsip_vgetlength_mi(const vsip_vview_mi* v); 
vsip_length vsip_cvgetlength_f(const vsip_cvview_f* v);
Description

This function returns the length of the vector view v.

Parameters
Return Value
Example

vsip_vview_f *vector_view; 
vsip_length length; 
 
// Assuming vector_view has been properly initialized 
length = vsip_vgetlength_f(vector_view);