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

Function histogram

src/api/cpp/histogram.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace af {
17
18array histogram(const array& in, const unsigned nbins, const double minval,
19 const double maxval) {
20 af_array out = 0;
21 AF_THROW(af_histogram(&out, in.get(), nbins, minval, maxval));
22 return array(out);
23}
24
25array histogram(const array& in, const unsigned nbins) {
26 af_array out = 0;

Callers

nothing calls this directly

Calls 4

numdimsMethod · 0.80
af_histogramFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected