C# Class MpcLib.Circuits.PermutationGate

Inheritance: Gate
Datei anzeigen Open project: mahdiz/mpclib Class Usage Examples

Public Methods

Method Description
Copy ( ) : Gate
PermutationGate ( int permutation ) : System
PermutationGate ( int count, int>.Func permutation ) : System
Permute ( int input ) : int
ToString ( ) : string
Unpermute ( int output ) : int

Method Details

Copy() public method

public Copy ( ) : Gate
return Gate

PermutationGate() public method

public PermutationGate ( int permutation ) : System
permutation int
return System

PermutationGate() public method

public PermutationGate ( int count, int>.Func permutation ) : System
count int
permutation int>.Func
return System

Permute() public method

public Permute ( int input ) : int
input int
return int

ToString() public method

public ToString ( ) : string
return string

Unpermute() public method

public Unpermute ( int output ) : int
output int
return int