Joseph Redmon
2014-12-08 aea3bceeb16e553ff75a2f28c7f44f04b81513d7
src/matrix.h
@@ -2,7 +2,7 @@
#define MATRIX_H
typedef struct matrix{
    int rows, cols;
    double **vals;
    float **vals;
} matrix;
matrix make_matrix(int rows, int cols);
@@ -11,7 +11,9 @@
matrix csv_to_matrix(char *filename);
matrix hold_out_matrix(matrix *m, int n);
float matrix_accuracy(matrix truth, matrix guess);
void matrix_add_matrix(matrix from, matrix to);
double *pop_column(matrix *m, int c);
float *pop_column(matrix *m, int c);
#endif