|
faunus
|
A policy for collecting samples. More...
#include <scatter.h>
Classes | |
| struct | sampled_value |
Public Types | |
| typedef std::map< T, sampled_value > | TSampledValueMap |
Public Member Functions | |
| std::map< T, T > | getSampling () const |
| void | addSampling (T key_approx, T value, T weight=1.0) |
A policy for collecting samples.
To be used together with StructureFactor class templates.
| T | float or double |
|
inline |
| key_approx | is subject of rounding for better binning |
| value | |
| weight |
1.8.13