lis_matrix_duplicate - Man Page
duplicate the matrix
Synopsis
#include "lis.h"
LIS_INT lis_matrix_duplicate(MATRIX *Ain, LIS_MATRIX *Aout);
Description
Create matrix Aout which has the same information as Ain.
Input
- Ain
The source matrix
Output
- Aout
The destination matrix
Exit Status
The following exit values are returned:
- 0
The process is normally terminated
- unspecified
An error occurred
Note
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.
See Also
Info
6 Sep 2012 Man Page Lis Library Functions