statistical

Satistical functions expected by the python array API Internally, all functions apply a reduction operation on a LinearSpaceElement.

Args:

x (LinearSpaceElement): LinearSpaceElement on which to apply the reduction.

Returns:

x (float | array-like): Output of the reduction.

Notes:
  1. The actual implementation of the reduction is in the LinearSpace of this element.

  2. These functions can return python Numbers or backend-specific array (when calling with keepdims=True for instance), but they will not return odl objects.