@stdlib/ndarray-base-sub2ind (npm): Convert subscripts to a linear index.
Keywords: stdlib|stdtypes|types|base|ndarray|shape|strides|offset|multidimensional|array|utilities|utility|utils|util|sub2ind|subscript|linear|index|idx|strided|javascript|node|node-js|nodejs