IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
alglib.ntheory Class Reference

Static Public Member Functions

static void findprimitiverootandinverse (int n, ref int proot, ref int invproot)
 

Static Private Member Functions

static bool isprime (int n)
 
static int modmul (int a, int b, int n)
 
static int modexp (int a, int b, int n)
 

Member Function Documentation

static void alglib.ntheory.findprimitiverootandinverse ( int  n,
ref int  proot,
ref int  invproot 
)
inlinestatic
static bool alglib.ntheory.isprime ( int  n)
inlinestaticprivate
static int alglib.ntheory.modmul ( int  a,
int  b,
int  n 
)
inlinestaticprivate

References alglib.ap.assert().

Referenced by alglib.ntheory.modexp().

static int alglib.ntheory.modexp ( int  a,
int  b,
int  n 
)
inlinestaticprivate

The documentation for this class was generated from the following file: