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

Function median

src/api/cpp/median.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37#undef INSTANTIATE_MEDIAN
38
39array median(const array& in, const dim_t dim) {
40 af_array temp = 0;
41 AF_THROW(af_median(&temp, in.get(), getFNSD(dim, in.dims())));
42 return array(temp);
43}
44
45} // namespace af

Callers

nothing calls this directly

Calls 5

getFNSDFunction · 0.85
af_medianFunction · 0.50
arrayClass · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected