MCPcopy Create free account
hub / github.com/arrayfire/forge / Histogram

Method Histogram

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

Source from the content-addressed store, hash-verified

16namespace forge
17{
18Histogram::Histogram(const unsigned pNBins, const dtype pDataType)
19{
20 fg_histogram temp = 0;
21 FG_THROW(fg_create_histogram(&temp, pNBins, (fg_dtype)pDataType));
22 std::swap(mValue, temp);
23}
24
25Histogram::Histogram(const Histogram& pOther)
26{

Callers

nothing calls this directly

Calls 3

fg_create_histogramFunction · 0.85
fg_retain_histogramFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected