{ } Raw JSON

bundles / scipy latest / scipy / _lib / array_api_extra / _lib / _at / at / subtract

function

scipy._lib.array_api_extra._lib._at:at.subtract

source: /scipy/_lib/array_api_extra/_lib/_at.py :386

Signature

def   subtract ( 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.subtract