Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
array 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
getFNSD
Function · 0.85
af_median
Function · 0.50
array
Class · 0.50
get
Method · 0.45
dims
Method · 0.45
Tested by
no test coverage detected