The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



DuplicateDataAsArray


Unit:SDL_datatable
Class: TMatrix, TIntMatrix
Declaration: function DuplicateDataAsArray (var Dest: TDouble2DArray): integer; { class TMatrix }
function DuplicateDataAsArray (var Dest: TInt2DArray): integer; { class TIntMatrix }

The method DuplicateDataAsArray resizes the two-dimensional array Dest to match the matrix and copies the numeric data to the array.

The function returns the following error codes:

 0 ... everything is OK
-1 ... the destination array is undefined (NIL pointer)


Last Update: 2023-Mar-06