DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


InvertBoolMatrix

Declaration: InvertBoolMatrix (var Mat: TBool2DArray): integer;
Inverts the boolean matrix Mat (i.e. the logic state of each cell will be toggled). The function returns the following error codes:
 0 .... everything OK
-1 ... the array Mat has zero size