Sha256: 861806f4bf53518cd2f30bf391bcf961855764023a89b7a99db0a315c06534ed

Contents?: true

Size: 320 Bytes

Versions: 6

Compression:

Stored size: 320 Bytes

Contents

static VALUE
<%=c_iter%>(char *ptr, size_t pos, VALUE fmt)
{
    return format_<%=tp%>(fmt, (dtype*)(ptr+pos));
}

/*
  Returns a string containing a human-readable representation of NArray.
  @overload inspect
  @return [String]
*/
VALUE
<%=c_func%>(VALUE ary)
{
    return na_ndloop_inspect(ary, <%=c_iter%>, Qnil);
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
numo-narray-0.9.0.3-x86-mingw32 ext/numo/narray/gen/tmpl/inspect.c
numo-narray-0.9.0.3-x64-mingw32 ext/numo/narray/gen/tmpl/inspect.c
numo-narray-0.9.0.3 ext/numo/narray/gen/tmpl/inspect.c
numo-narray-0.9.0.1-x64-mingw32 ext/numo/narray/gen/tmpl/inspect.c
numo-narray-0.9.0.1 ext/numo/narray/gen/tmpl/inspect.c
numo-narray-0.9.0.1-x86-mingw32 ext/numo/narray/gen/tmpl/inspect.c