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

Function mean

src/api/cpp/mean.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace af {
23
24array mean(const array& in, const dim_t dim) {
25 af_array temp = 0;
26 AF_THROW(af_mean(&temp, in.get(), getFNSD(dim, in.dims())));
27 return array(temp);
28}
29
30array mean(const array& in, const array& weights, const dim_t dim) {
31 af_array temp = 0;

Callers

nothing calls this directly

Calls 8

getFNSDFunction · 0.85
af_meanFunction · 0.50
arrayClass · 0.50
af_mean_weightedFunction · 0.50
af_mean_allFunction · 0.50
af_mean_all_weightedFunction · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected