-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsemigroup.h
31 lines (26 loc) · 1.06 KB
/
semigroup.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*semigroup.c*/
/*SECTION 1: BASIC (SEMI)GROUP METHODS*/
GEN LRword(GEN M);
GEN semigroup_growth(GEN mats, long binsize, long Nbins, GEN start, long prec);
GEN semigroup_mats(GEN mats, long N);
GEN semigroup_mgens(GEN mats);
/*SECTION 2: SEMIGROUP ORBITS*/
GEN semigroup_missing(GEN mats, GEN B, GEN start, GEN congs, long entry, long load);
GEN semigroup_missing_parabolic(GEN mats, GEN B, GEN start, GEN congs, long entry, long load);
int semigroup_missinglist(GEN mats, GEN miss, GEN start, long entry);
GEN semigroup_orbit(GEN mats, long B, GEN start);
/*SECTION 3: PSI METHODS*/
GEN kron_all(unsigned long n);
long kron_seq_both(unsigned long n);
GEN psi_mats(long N);
int psi_rep(long x, long y, long n, long entry);
/*SECTION 4: CONTINUED FRACTIONS*/
GEN contfraceven(GEN q);
GEN contfractoQ(GEN v);
GEN contfractoword(GEN v);
GEN contfrac_tail_missing(GEN bounds, int load);
/*SECTION 5: LINEAR REGRESSION*/
GEN OLS(GEN X, GEN y, int retrsqr);
GEN OLS_nointercept(GEN x, GEN y, int retrsqr);
GEN OLS_single(GEN x, GEN y, int retrsqr);
GEN rsquared(GEN X, GEN y, GEN fit);