Home
Script Language
Matrices
Dynamic Arrays
Boolean
InvertBoolMatrix
See also:
FillBoolMatrix
,
ListCellPositionsBool
Index
Statistical Background
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