{ } Raw JSON

bundles / scipy 1.18.0 / scipy / _external / array_api_extra / _lib / _utils / _helpers / mean

function

scipy._external.array_api_extra._lib._utils._helpers:mean

source: /scipy/_external/array_api_extra/_lib/_utils/_helpers.py:125

Signature

def mean(x: Array, /, axis: int | tuple[int, ...] | None = None, keepdims: bool = False, xp: ModuleType | None = None) → Array

Summary

Complex mean, https://github.com/data-apis/array-api/issues/846.

Aliases

  • scipy.differentiate.xpx._delegation._funcs._helpers.mean