@stdlib/ndarray-base-clamp-index (npm): Restrict an index to the interval [0,max].
Keywords: stdlib|stdtypes|types|base|ndarray|index|idx|ind|subscript|clamp|multidimensional|array|utilities|utility|utils|util|javascript|node|node-js|nodejs