lis_matrix_duplicate(3)

NAME
lis_matrix_duplicate - 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
lis(3)

http://www.ssisc.org/lis/