BiPolarUtil Bipolar2double Method (Boolean)Encog Machine Learning Framework for .Net
Convert binary to bipolar, true is 1 and false is -1.

Namespace: Encog.MathUtil.Matrices
Assembly: encog-core-cs (in encog-core-cs.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax

public static double Bipolar2double(
	bool b
)

Return Value

Type: Double
The bipolar value.
See Also