| 57 | |
| 58 | template<> |
| 59 | AFAPI af_cdouble mean(const array& in) { |
| 60 | double real, imag; |
| 61 | AF_THROW(af_mean_all(&real, &imag, in.get())); |
| 62 | return {real, imag}; |
| 63 | } |
| 64 | |
| 65 | template<> |
| 66 | AFAPI af_cfloat mean(const array& in, const array& weights) { |
nothing calls this directly
no test coverage detected