Ellipsis (computer programming): Difference between revisions

Content deleted Content added
m update rust inclusive range operator
m Multiple dimensions: lang="numpy"
Line 88:
In [[Python (programming language)|Python]], particularly in [[numpy]], an ellipsis is used for slicing an arbitrary number of dimensions for a high-dimensional array:<ref>http://docs.scipy.org/doc/numpy/reference/arrays.indexing.html</ref>
 
<source lang="Pythonnumpy">
>>> import numpy as np
>>> t = np.random.rand(2, 3, 4, 5)