lis_matrix_duplicate man page

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/

Info

6 Sep 2012 Man Page Lis Library Functions