Sha256: efccba370519ab42ebd23a95547a836a8ec3860c11e216038f3be34c24cb9a3b
Contents?: true
Size: 515 Bytes
Versions: 4
Compression:
Stored size: 515 Bytes
Contents
#ifndef NUMO_LIBLINEAR_CONVERTER_H #define NUMO_LIBLINEAR_CONVERTER_H 1 #include <string.h> #include <ruby.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); #endif /* NUMO_LIBLINEAR_CONVERTER_H */
Version data entries
4 entries across 4 versions & 1 rubygems