Метод | Описание | |
---|---|---|
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. |
Результат | double |
public static Bipolar2double ( bool b ) : double[] | ||
b | bool | The binary array to convert. |
Результат | double[] |
public static Bipolar2double ( bool b ) : double[][] | ||
b | bool | The 2D array to convert. |
Результат | double[][] |
public static Double2bipolar ( double d ) : bool | ||
d | double | A bipolar value. |
Результат | bool |
public static Double2bipolar ( double d ) : bool[] | ||
d | double | A bipolar array. |
Результат | bool[] |
public static Double2bipolar ( double d ) : bool[][] | ||
d | double | A 2D bipolar array. |
Результат | bool[][] |
public static NormalizeBinary ( double d ) : double | ||
d | double | A binary number in a double. |
Результат | double |
public static ToBiPolar ( double d ) : double | ||
d | double | A binary number. |
Результат | double |
public static ToBinary ( double d ) : double | ||
d | double | a bipolar number. |
Результат | double |
public static ToNormalizedBinary ( double d ) : double | ||
d | double | A bipolar number. |
Результат | double |