npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::ProductSymmetricBetaNDCdf Class Reference

#include <ProductSymmetricBetaNDCdf.hh>

Inheritance diagram for npstat::ProductSymmetricBetaNDCdf:
npstat::AbsMultivariateFunctor

Public Member Functions

 ProductSymmetricBetaNDCdf (const double *location, const double *scale, const double *power, const int *direction, unsigned dim)
 
virtual double operator() (const double *point, unsigned dim) const
 
virtual unsigned minDim () const
 
- Public Member Functions inherited from npstat::AbsMultivariateFunctor
virtual unsigned maxDim () const
 

Detailed Description

Multivariate cumulative distribution for product symmetric beta density. Can be used as the weight functor with the npstat::mergeTwoHistos function.

Constructor & Destructor Documentation

◆ ProductSymmetricBetaNDCdf()

npstat::ProductSymmetricBetaNDCdf::ProductSymmetricBetaNDCdf ( const double *  location,
const double *  scale,
const double *  power,
const int *  direction,
unsigned  dim 
)

The constructor takes array arguments. Each array element is used for one of the dimensions. "dim" gives the size of all arrays as well as the function dimensionality.

location – mean of SymmetricBeta1D in each dimension

scale – scale parameter of SymmetricBeta1D in each dimension

power – power parameter of SymmetricBeta1D in each dimension

direction – a flag which tells us what to do with the cumulative distribution of SymmetricBeta1D. Meanings are as follows: >0 – use exceedance (1 - cdf, weight decreasing) 0 – do not use this dimension at all (factor of 1 will be used everywhere instead of cdf) <0 – use cdf (weight increasing)

Member Function Documentation

◆ minDim()

virtual unsigned npstat::ProductSymmetricBetaNDCdf::minDim ( ) const
inlinevirtual

Minimum expected dimensionality

Implements npstat::AbsMultivariateFunctor.

◆ operator()()

virtual double npstat::ProductSymmetricBetaNDCdf::operator() ( const double *  point,
unsigned  dim 
) const
virtual

Function value

Implements npstat::AbsMultivariateFunctor.


The documentation for this class was generated from the following file: