Path: blob/master/tools/sdk-tools/tabledesign/tabledesign.h
7861 views
#ifndef TABLEDESIGN_H1#define TABLEDESIGN_H23#include <stdio.h>45#ifdef __GNUC__6#define UNUSED __attribute__((unused))7#else8#define UNUSED9#endif1011// estimate.c12int durbin(double *thing, int n, double *thing2, double *thing3, double *outSomething);13void afromk(double *in, double *out, int n);14int kfroma(double *in, double *out, int n);15void rfroma(double *dataRow, int n, double *thing3);16double model_dist(double *first, double *second, int n);17void acmat(short *in, int n, int m, double **mat);18void acvect(short *in, int n, int m, double *vec);19int lud(double **a, int n, int *indx, int *d);20void lubksb(double **a, int n, int *indx, double *b);2122// codebook.c23void split(double **table, double *delta, int order, int npredictors, double scale);24void refine(double **table, int order, int npredictors, double **data, int dataSize, int refineIters, double unused);2526// print.c27int print_entry(FILE *out, double *row, int order);2829#endif303132