bundles / scipy 1.17.1 / scipy / _lib / array_api_extra / _lib / _funcs / _apply_where
function
scipy._lib.array_api_extra._lib._funcs:_apply_where
Signature
def _apply_where(cond: Array, f1: Callable[..., Array], f2: Callable[..., Array] | None, fill_value: Array | int | float | complex | bool | None, *args: Array, xp: ModuleType) → ArraySummary
Helper of apply_where. On Dask, this runs on a single chunk.
Aliases
scipy.differentiate.xpx._delegation._funcs._apply_where