{ } Raw JSON

bundles / scipy 1.18.0 / scipy / _external / array_api_extra / _lib / _at / at / add

function

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

source: /scipy/_external/array_api_extra/_lib/_at.py:372

Signature

def add(self, y: Array | complex, /, copy: bool | None = None, xp: ModuleType | None = None) → Array

Summary

Apply x[idx] += y and return the updated array.

Aliases

  • scipy.differentiate.xpx.at.add