My Project
|
Go to the source code of this file.
Functions | |
void | vectorMatrixMult (unsigned long *vec, unsigned long **mat, unsigned **nonzeroIndices, unsigned *nonzeroCounts, unsigned long *result, unsigned n, unsigned long p) |
unsigned long * | computeMinimalPolynomial (unsigned long **matrix, unsigned n, unsigned long p) |
void | rem (unsigned long *a, unsigned long *q, unsigned long p, int °a, int degq) |
void | quo (unsigned long *a, unsigned long *q, unsigned long p, int °a, int degq) |
void | mult (unsigned long *result, unsigned long *a, unsigned long *b, unsigned long p, int dega, int degb) |
int | gcd (unsigned long *g, unsigned long *a, unsigned long *b, unsigned long p, int dega, int degb) |
int | lcm (unsigned long *l, unsigned long *a, unsigned long *b, unsigned long p, int dega, int degb) |
unsigned long | modularInverse (long long x, long long p) |
unsigned long * computeMinimalPolynomial | ( | unsigned long ** | matrix, |
unsigned | n, | ||
unsigned long | p | ||
) |
Definition at line 428 of file minpoly.cc.
int gcd | ( | unsigned long * | g, |
unsigned long * | a, | ||
unsigned long * | b, | ||
unsigned long | p, | ||
int | dega, | ||
int | degb | ||
) |
Definition at line 666 of file minpoly.cc.
int lcm | ( | unsigned long * | l, |
unsigned long * | a, | ||
unsigned long * | b, | ||
unsigned long | p, | ||
int | dega, | ||
int | degb | ||
) |
Definition at line 709 of file minpoly.cc.
unsigned long modularInverse | ( | long long | x, |
long long | p | ||
) |
Definition at line 744 of file minpoly.cc.
void mult | ( | unsigned long * | result, |
unsigned long * | a, | ||
unsigned long * | b, | ||
unsigned long | p, | ||
int | dega, | ||
int | degb | ||
) |
Definition at line 647 of file minpoly.cc.
void quo | ( | unsigned long * | a, |
unsigned long * | q, | ||
unsigned long | p, | ||
int & | dega, | ||
int | degq | ||
) |
Definition at line 597 of file minpoly.cc.
void rem | ( | unsigned long * | a, |
unsigned long * | q, | ||
unsigned long | p, | ||
int & | dega, | ||
int | degq | ||
) |
Definition at line 572 of file minpoly.cc.
void vectorMatrixMult | ( | unsigned long * | vec, |
unsigned long ** | mat, | ||
unsigned ** | nonzeroIndices, | ||
unsigned * | nonzeroCounts, | ||
unsigned long * | result, | ||
unsigned | n, | ||
unsigned long | p | ||
) |
Definition at line 393 of file minpoly.cc.