UNPKG

@stdlib/strided-base-stride2offset

Version:

Determine the index offset which specifies the location of the first indexed value in a strided array.

6 lines (5 loc) 267 B
"use strict";var f=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}};var s=f(function(n,e){ function i(t,r){return r>0?0:(1-t)*r}e.exports=i });var u=s();module.exports=u; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map