C# Class Coon.Compass.Procyon.alglib.alglib.ntheory

Show file Open project: dbaileychess/Compass

Public Methods

Method Description
findprimitiverootandinverse ( int n, int &proot, int &invproot ) : void

Private Methods

Method Description
isprime ( int n ) : bool
modexp ( int a, int b, int n ) : int
modmul ( int a, int b, int n ) : int

Method Details

findprimitiverootandinverse() public static method

public static findprimitiverootandinverse ( int n, int &proot, int &invproot ) : void
n int
proot int
invproot int
return void