This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / _external / array_api_extra / _lib / _at / at / __getitem__

function

scipy._external.array_api_extra._lib._at:at.__getitem__

source: build-install/usr/lib/python3.14/site-packages/scipy/_external/array_api_extra/_lib/_at.py:211

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__