Sha256: fcdbfdfdd1bafe6995f089fdc8e0bebe5145e4b7986e6043119c691df039423e
Contents?: true
Size: 456 Bytes
Versions: 3
Compression:
Stored size: 456 Bytes
Contents
/* @overload <%=name%> @return [DFloat] result <%= description %> */ static VALUE <%=c_func(0)%>(VALUE self) { <%=struct%> *s; gsl_matrix *m; size_t shape[2]; VALUE result; TypedData_Get_Struct(self, <%=struct%>, &<%=data_type_var%>, s); shape[0] = s->size1; shape[1] = s->size2; result = rb_narray_new(cDF, 2, shape); ALLOCA_GSL_MATRIX_FROM_NARRAY_W(result,m); <%=func_name%>(m,s); return result; }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
numo-gsl-0.1.2 | ext/numo/gsl/spmatrix/tmpl/spmatrix_sp2d.c |
numo-gsl-0.1.1 | ext/numo/gsl/spmatrix/tmpl/spmatrix_sp2d.c |
numo-gsl-0.1.0 | ext/numo/gsl/spmatrix/tmpl/spmatrix_sp2d.c |