MatrixSqrt

Declaration: MatrixSqrt (var Data: TDouble2DArray): integer;
Calculates the square roots of the matrix Data elementwise. Matrix cells which contain negative values are left unprocessed.

The function returns the following error codes:

 0 .... everything OK
-1 ... Data contained at least one negative value