npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
DensityAveScanND.hh File Reference

Fill multivariate arrays with multivariate density values by averaging inside the corresponding bins. More...

#include <vector>
#include <cassert>
#include <stdexcept>
#include <memory>
#include <climits>
#include "npstat/nm/rectangleQuadrature.hh"
#include "npstat/stat/AbsDistributionND.hh"

Go to the source code of this file.

Classes

class  npstat::DensityAveScanND< Axis >
 
class  npstat::DensityDiscretizationErrorND
 

Namespaces

 npstat
 

Functions

template<class Axis >
DensityAveScanND< Axis > npstat::makeDensityAveScanND (const AbsDistributionND &fcn, const std::vector< Axis > &axes, const unsigned nIntegPoints, double normfactor=1.0)
 

Detailed Description

Fill multivariate arrays with multivariate density values by averaging inside the corresponding bins.

This class can be used with "functorFill" method of ArrayND (e.g., with histogram bin contents).

Author: I. Volobouev

June 2015