#ifndef PARSE_H #define PARSE_H #include #include typedef struct Array { double *data; size_t shape[2]; } Array; void file_read( char *filepath, Array *input, Array *out, char *in_keys[], size_t n_in_keys, char *out_keys[], size_t n_out_keys, bool read_output, char *file_format ); void file_write( char *filepath, Array input, Array out, char *in_keys[], size_t n_in_keys, char *out_keys[], size_t n_out_keys, bool write_input, char *file_format, int decimal_precision); char * file_format_infer(char *filename); #endif