Method | Description | |
---|---|---|
BinaryToGray ( long num ) : long |
The binary to gray.
|
|
GreyCodeToIndexOfOnes ( long greyCode ) : IEnumerable |
The grey code to index of ones.
|
|
NextChangeOnGrey ( long binary, bool &zero2One ) : int |
The next change.
|
public static BinaryToGray ( long num ) : long | ||
num | long | /// The num. /// |
return | long |
public static GreyCodeToIndexOfOnes ( long greyCode ) : IEnumerable |
||
greyCode | long | /// The grey code. /// |
return | IEnumerable |
public static NextChangeOnGrey ( long binary, bool &zero2One ) : int | ||
binary | long | /// The binary. /// |
zero2One | bool | /// The zero 2 One. /// |
return | int |