|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....|
|Home MathPack OpenArrays Procedures and Functions BoolToNumArray|
|See also: DichotomizeArray|
The function BoolToNumArray converts the boolean array Src into a dichotomous numeric array Dst. Each cell of the Dst array will either be filled by the value FalseValue or by TrueValue, depending on the state of the corresponding cell of the Src array.
The size of the array Dst will be automatically adjusted to fit the size of the array Src.
The function returns the following error codes:
0 ... everything is OK, Dst contains the numeric values