lis_matrix_duplicate - duplicate the matrix
#include "lis.h"
LIS_INT lis_matrix_duplicate(MATRIX *Ain,
LIS_MATRIX *Aout);
Create matrix Aout which has the same information as Ain.
- Aout
- The destination matrix
The following exit values are returned:
- 0
- The process is normally terminated
- unspecified
- An error occurred
The function lis_matrix_duplicate does not copy the elements of the
matrix, but allocates only the memory. To copy the values as well, the
function lis_matrix_copy must be called after this function.
lis(3)
http://www.ssisc.org/lis/