Sha256: f791883430f5e69948668cb620b11ff16c97cd5c4d1c61ec6aa1e9cb6a3672ad
Contents?: true
Size: 608 Bytes
Versions: 8
Compression:
Stored size: 608 Bytes
Contents
#ifndef NUMO_LIBLINEAR_CONVERTER_H #define NUMO_LIBLINEAR_CONVERTER_H 1 #include <string.h> #include <ruby.h> #include <linear.h> #include <numo/narray.h> #include <numo/template.h> VALUE int_vec_to_nary(int* const arr, int const size); int* nary_to_int_vec(VALUE vec_val); VALUE dbl_vec_to_nary(double* const arr, int const size); double* nary_to_dbl_vec(VALUE vec_val); VALUE dbl_mat_to_nary(double** const mat, int const n_rows, int const n_cols); double** nary_to_dbl_mat(VALUE mat_val); struct feature_node* dbl_vec_to_node(double* const arr, int const size); #endif /* NUMO_LIBLINEAR_CONVERTER_H */
Version data entries
8 entries across 8 versions & 1 rubygems