Skip to content

Generalize index to allow for, e.g., multidimensional slicing - #110

Merged
prehner merged 1 commit into
masterfrom
slicing
Apr 28, 2026
Merged

prehner merged 1 commit into
masterfrom
slicing

Conversation

@prehner

@prehner prehner commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor
t = si.linspace(0*si.KELVIN, 100*si.KELVIN, 11)
t[2:3] = si.array([5*si.KELVIN]*2)
t
array([  0.,  10.,   5.,   5.,  40.,  50.,  60.,  70.,  80.,  90., 100.]) K

@prehner
prehner merged commit e815de0 into master Apr 28, 2026
21 checks passed
@prehner
prehner deleted the slicing branch April 28, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant