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

#include <DiscreteBernsteinPoly1D.hh>

Public Member Functions

 DiscreteBeta1D (double effectiveDegree, unsigned gridLength)
 
unsigned gridLength () const
 
double degree () const
 
double poly (double effectivePolyNumber, unsigned gridIndex) const
 
double derivative (double effectivePolyNumber, unsigned gridIndex) const
 

Detailed Description

Extrapolation of Bernstein polynomials to non-integer degrees. Works significantly slower than the integer version.

Member Function Documentation

◆ derivative()

double npstat::DiscreteBeta1D::derivative ( double  effectivePolyNumber,
unsigned  gridIndex 
) const

Return the average derivative for the given cell

◆ gridLength()

unsigned npstat::DiscreteBeta1D::gridLength ( ) const
inline

A simple inspector of object properties

◆ poly()

double npstat::DiscreteBeta1D::poly ( double  effectivePolyNumber,
unsigned  gridIndex 
) const

Return the value of the function for the given cell


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