array-api icon indicating copy to clipboard operation
array-api copied to clipboard

RFC: add support for complex input to `mean`

Open lucascolley opened this issue 4 months ago • 2 comments

x-ref https://github.com/data-apis/array-api-extra/pull/10/files#r1776010210

While implementing a simple cov in array-api-extra (https://github.com/data-apis/array-api-extra/pull/10) I found that xp.mean does not support complex input. @kgryte suggested opening an issue over here as the arithmetic mean is well-defined for complex numbers.

lucascolley avatar Sep 25 '24 21:09 lucascolley