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

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

4.1.1 vsip_dvcopy_p_p - Copy Vector Views

void vsip_vcopy_f_f(const vsip_vview_f* a, const vsip_vview_f* r); 
void vsip_vcopy_i_i(const vsip_vview_i* a, const vsip_vview_i* r); 
void vsip_vcopy_i_f(const vsip_vview_i* a, const vsip_vview_f* r); 
void vsip_vcopy_f_i(const vsip_vview_f* a, const vsip_vview_i* r); 
void vsip_cvcopy_f_f(const vsip_cvview_f* a, const vsip_cvview_f* r); 
void vsip_vcopy_vi_vi(const vsip_vview_vi* a, const vsip_vview_vi* r); 
void vsip_vcopy_i_vi(const vsip_vview_i* a, const vsip_vview_vi* r); 
void vsip_vcopy_vi_i(const vsip_vview_vi* a, const vsip_vview_i* r); 
void vsip_vcopy_mi_mi(const vsip_vview_mi* a, const vsip_vview_mi* r); 
void vsip_vcopy_bl_bl(const vsip_vview_bl* a, const vsip_vview_bl* r); 
void vsip_vcopy_bl_f(const vsip_vview_bl* a, const vsip_vview_f* r); 
void vsip_vcopy_f_bl(const vsip_vview_f* a, const vsip_vview_bl* r);
Description

These functions copy the contents of one vector view to another. The source and destination vector views can be of different types (float or integer), and the functions handle the necessary type conversions.

Parameters
Functions
Example

vsip_vview_f *src_float_view; 
vsip_vview_f *dst_float_view; 
 
// Assuming all views have been properly initialized 
 
// Copy from float vector view to float vector view 
vsip_vcopy_f_f(src_float_view, dst_float_view);