{ } Raw JSON

bundles / scipy 1.18.0 / scipy / _external / array_api_extra / testing / _clone_function

function

scipy._external.array_api_extra.testing:_clone_function

source: /scipy/_external/array_api_extra/testing.py:52

Signature

def _clone_function(f: Callable[..., Any]) → Callable[..., Any]

Summary

Returns a clone of an existing function.

Aliases

  • scipy.differentiate.xpx.testing._clone_function