| 28 | } |
| 29 | |
| 30 | splinter_obj_ptr splinter_datatable_load_init(const char *filename) |
| 31 | { |
| 32 | splinter_obj_ptr dataTable = nullptr; |
| 33 | |
| 34 | try |
| 35 | { |
| 36 | dataTable = (splinter_obj_ptr) new DataTable(filename); |
| 37 | dataTables.insert(dataTable); |
| 38 | } |
| 39 | catch(const Exception &e) |
| 40 | { |
| 41 | set_error_string(e.what()); |
| 42 | } |
| 43 | |
| 44 | return dataTable; |
| 45 | } |
| 46 | |
| 47 | void splinter_datatable_add_samples_row_major(splinter_obj_ptr datatable_ptr, double *x, int n_samples, int x_dim) |
| 48 | { |
nothing calls this directly
no test coverage detected