MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_cdouble mean

Function af_cdouble mean

src/api/cpp/mean.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58template<>
59AFAPI 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
65template<>
66AFAPI af_cfloat mean(const array& in, const array& weights) {

Callers

nothing calls this directly

Calls 3

af_mean_allFunction · 0.50
af_mean_all_weightedFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected