C# Class ImsInformed.Statistics.Combinatorics

Afficher le fichier Open project: PNNL-Comp-Mass-Spec/IMS-Informed-Library

Méthodes publiques

Méthode 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.

Method Details

BinaryToGray() public static méthode

The binary to gray.
public static BinaryToGray ( long num ) : long
num long /// The num. ///
Résultat long

GreyCodeToIndexOfOnes() public static méthode

The grey code to index of ones.
public static GreyCodeToIndexOfOnes ( long greyCode ) : IEnumerable
greyCode long /// The grey code. ///
Résultat IEnumerable

NextChangeOnGrey() public static méthode

The next change.
public static NextChangeOnGrey ( long binary, bool &zero2One ) : int
binary long /// The binary. ///
zero2One bool /// The zero 2 One. ///
Résultat int