MCPcopy Create free account
hub / github.com/numpy/numpy / _nth_slice

Function _nth_slice

numpy/polynomial/polyutils.py:375–378  ·  view source on GitHub ↗
(i, ndim)

Source from the content-addressed store, hash-verified

373
374
375def _nth_slice(i, ndim):
376 sl = [np.newaxis] * ndim
377 sl[i] = slice(None)
378 return tuple(sl)
379
380
381def _vander_nd(vander_fs, points, degrees):

Callers 1

_vander_ndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected