ResizeMatrix

Declaration: ResizeMatrix(var Mat: TDouble2DArray; SizeX, SizeY: integer);
Resizes the two-dimensional dynamic array Mat to the size SizeX x SizeY. Please note that dynamic arrays have 0-based indices.