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

4.9.2 vsip_dmcopy_p - Copy Matrix Views

void vsip_mcopy_f_f(const vsip_mview_f* A, const vsip_mview_f* B); 
void vsip_cmcopy_f_f(const vsip_cmview_f* A, const vsip_cmview_f* B);
Description

These functions copy the contents of one matrix view to another, with optional type conversion. The functions handle both real and complex matrices of various precision levels:

Parameters
Example

vsip_mview_f *src_matrix_f; 
vsip_mview_f *dst_matrix_f; 
 
// Copy float matrix to float matrix 
vsip_mcopy_f_f(src_matrix_f, dst_matrix_f);
Notes