Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/tools/sdk-tools/tabledesign/tabledesign.h
7861 views
1
#ifndef TABLEDESIGN_H
2
#define TABLEDESIGN_H
3
4
#include <stdio.h>
5
6
#ifdef __GNUC__
7
#define UNUSED __attribute__((unused))
8
#else
9
#define UNUSED
10
#endif
11
12
// estimate.c
13
int durbin(double *thing, int n, double *thing2, double *thing3, double *outSomething);
14
void afromk(double *in, double *out, int n);
15
int kfroma(double *in, double *out, int n);
16
void rfroma(double *dataRow, int n, double *thing3);
17
double model_dist(double *first, double *second, int n);
18
void acmat(short *in, int n, int m, double **mat);
19
void acvect(short *in, int n, int m, double *vec);
20
int lud(double **a, int n, int *indx, int *d);
21
void lubksb(double **a, int n, int *indx, double *b);
22
23
// codebook.c
24
void split(double **table, double *delta, int order, int npredictors, double scale);
25
void refine(double **table, int order, int npredictors, double **data, int dataSize, int refineIters, double unused);
26
27
// print.c
28
int print_entry(FILE *out, double *row, int order);
29
30
#endif
31
32