bundles / scipy latest / scipy / _lib / array_api_extra / _lib / _at / at / __getitem__
function
scipy._lib.array_api_extra._lib._at:at.__getitem__
Signature
def __getitem__ ( self , idx : SetIndex , / ) → Self Summary
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__