AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ histo()

template<class C >
aff::func::util::Extracthisto<C>::Tmap aff::func::histo ( const C &  c)

Function template to count elements of the same value

Parameters
Cany container class like aff::Array<double> (this value is deduced by the compiler)
cany container of numerical values
Returns
a map the associates every value with the number of elements that have this value
See also
aff::func::util::collect, aff::func::util::Extracthisto

Definition at line 91 of file histo.h.

Referenced by main().

92  {
93  return(aff::func::util::collect<C, aff::func::util::Extracthisto>(c));
94  } // histo()
Here is the caller graph for this function: