{ } Raw JSON

bundles / scipy 1.17.1 / scipy / _lib / array_api_extra / _lib / _funcs / _apply_where

function

scipy._lib.array_api_extra._lib._funcs:_apply_where

source: /scipy/_lib/array_api_extra/_lib/_funcs.py :146

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 )  →  Array

Summary

Helper of apply_where. On Dask, this runs on a single chunk.

Aliases

  • scipy.differentiate.xpx._delegation._funcs._apply_where