Sha256: 6fc50690ecbddb7cfcf5f5c88017459b13f71f046cb54e5260cf8c80eda4692d
Contents?: true
Size: 343 Bytes
Versions: 2
Compression:
Stored size: 343 Bytes
Contents
#ifndef H_ARITH_UTILS #define H_ARITH_UTILS int mod_inv(int n, int mod); int mod_product(int n1, int n2, int mod); int mod_power(int n, int power, int mod); int mod_eval_polynomial(int degree, int coeffs[], int mod, int x); long eval_polynomial(int degree, int coeffs[], int x); int coprime(int n1, int n2); int totient(int n); #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
congruence_solver-0.3.1 | ext/congruence_solver/arith_utils.h |
congruence_solver-0.3.0 | ext/congruence_solver/arith_utils.h |