MatrixCopyFromInt

Declaration: MatrixCopyFromInt(InMat: TInt2DArray; var TargetMat: TDouble2DArray): integer;
Copies the contents of the matrix InMat to the matrix TargetMat. The matrix TargetMat is automatically resized to match the size of the matrix InMat. The function returns the following error codes:
 0 ... everything is OK
-1 ... the source matrix has zero size