BiPolarUtil Bipolar2double Method ( Boolean )Encog Machine Learning Framework for .Net
Convert a boolean array 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
)

Parameters

b
Type:  System Boolean 
The binary array to convert.

Return Value

Type:  Double 

[Missing <returns> documentation for "M:Encog.MathUtil.Matrices.BiPolarUtil.Bipolar2double(System.Boolean[])"]

See Also