bundles / scipy 1.18.0 / scipy / _external / array_api_extra / _lib / _at / at / __getitem__
function
scipy._external.array_api_extra._lib._at:at.__getitem__
Signature
def __getitem__(self, idx: SetIndex, /) → SelfSummary
Allow for the alternate syntax at(x)[start:stop:step].
Extended Summary
It looks prettier than at(x, slice(start, stop, step)) and feels more intuitive coming from the JAX documentation.
Aliases
scipy.differentiate.xpx.at.__getitem__