Method | Description | |
---|---|---|
Bipolar2double ( bool b ) : double |
Convert binary to bipolar, true is 1 and false is -1.
|
|
Bipolar2double ( bool b ) : double[] |
Convert a boolean array to bipolar, true is 1 and false is -1.
|
|
Bipolar2double ( bool b ) : double[][] |
Convert a 2D boolean array to bipolar, true is 1 and false is -1.
|
|
Double2bipolar ( double d ) : bool |
Convert biploar to boolean, true is 1 and false is -1.
|
|
Double2bipolar ( double d ) : bool[] |
Convert a bipolar array to a boolean array, true is 1 and false is -1.
|
|
Double2bipolar ( double d ) : bool[][] |
Convert a 2D bipolar array to a boolean array, true is 1 and false is -1.
|
|
NormalizeBinary ( double d ) : double |
Normalize a binary number. Greater than 0 becomes 1, zero and below are false.
|
|
ToBiPolar ( double d ) : double |
Convert a number to bipolar.
|
|
ToBinary ( double d ) : double |
Convert a single number from bipolar to binary.
|
|
ToNormalizedBinary ( double d ) : double |
Normalize a number and convert to binary.
|
public static Bipolar2double ( bool b ) : double | ||
b | bool | The binary value. |
return | double |
public static Bipolar2double ( bool b ) : double[] | ||
b | bool | The binary array to convert. |
return | double[] |
public static Bipolar2double ( bool b ) : double[][] | ||
b | bool | The 2D array to convert. |
return | double[][] |
public static Double2bipolar ( double d ) : bool | ||
d | double | A bipolar value. |
return | bool |
public static Double2bipolar ( double d ) : bool[] | ||
d | double | A bipolar array. |
return | bool[] |
public static Double2bipolar ( double d ) : bool[][] | ||
d | double | A 2D bipolar array. |
return | bool[][] |
public static NormalizeBinary ( double d ) : double | ||
d | double | A binary number in a double. |
return | double |
public static ToBiPolar ( double d ) : double | ||
d | double | A binary number. |
return | double |
public static ToBinary ( double d ) : double | ||
d | double | a bipolar number. |
return | double |
public static ToNormalizedBinary ( double d ) : double | ||
d | double | A bipolar number. |
return | double |