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

Function mean

src/api/c/mean.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39template<typename Ti, typename To>
40static To mean(const af_array &in) {
41 using Tw = typename baseOutType<To>::type;
42 return mean<Ti, Tw, To>(getArray<Ti>(in));
43}
44
45template<typename T>
46static T mean(const af_array &in, const af_array &weights) {

Callers 5

TESTFunction · 0.50
meanDimTestFunction · 0.50
TESTFunction · 0.50
naive_bayes_trainFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected