Documentation For Encog 2.x

BiPolarUtil.Bipolar2double Method

Convert binary to bipolar, true is 1 and false is -1.

Overload List

Convert binary to bipolar, true is 1 and false is -1.

public static double Bipolar2double(bool)

Convert a boolean array to bipolar, true is 1 and false is -1.

public static double[] Bipolar2double(bool[])

Convert a 2D boolean array to bipolar, true is 1 and false is -1.

public static double[,] Bipolar2double(bool[,])

See Also

BiPolarUtil Class | Encog.Matrix Namespace