Sha256: 43d66fc77a7d069299dd94f3c002b9a82da133882d69b1e2655d7186be9ffd32

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

/*
  @overload <%=name%>(<%=args[1][1]%>)
  @param  [Integer]   <%=args[1][1]%>
  @return [Float]     result

  <%= description %>
*/
static VALUE
<%=c_func(1)%>(VALUE self, VALUE v1)
{
    <%=struct%> *w;

    TypedData_Get_Struct(self, <%=struct%>, &<%=data_type_var%>, w);

    return DBL2NUM(<%=func_name%>(w, NUM2SIZET(v1)));
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
numo-gsl-0.1.2 ext/numo/gsl/gen/tmpl/c_double_f_sizet.c
numo-gsl-0.1.1 ext/numo/gsl/gen/tmpl/c_double_f_sizet.c
numo-gsl-0.1.0 ext/numo/gsl/gen/tmpl/c_double_f_sizet.c