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);
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.
const vsip_dvview_p* a: Pointer to the source vector view.
const vsip_dvview_p* r: Pointer to the destination vector view.
vsip_vcopy_f_f: Copies from a float vector view to another float vector view.
vsip_vcopy_i_i: Copies from an integer vector view to another integer vector view.
vsip_vcopy_i_f: Copies from an integer vector view to a float vector view.
vsip_vcopy_f_i: Copies from a float vector view to an integer vector view.
vsip_cvcopy_f_f: Copies from a complex float vector view to another complex float vector view.
vsip_vcopy_vi_vi: Copies from a vector index vector view to another vector index vector view.
vsip_vcopy_vi_i: Copies from a vector index vector view to integer vector view.
vsip_vcopy_i_vi: Copies from a integer vector view to a vector index vector view.
vsip_vcopy_mi_mi: Copies from a matrix index vector view to another matrix index vector view.
vsip_vcopy_bl_bl: Copies from a boolean vector view to another boolean vector view.
vsip_vcopy_bl_f: Copies from a boolean vector view to a real vector view.
vsip_vcopy_f_bl: Copies from a real vector view to a boolean vector view.
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);