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

Public Member Functions

 DiscreteBernsteinPoly1D (unsigned degree, unsigned gridLength)
 
unsigned gridLength () const
 
unsigned degree () const
 
double poly (unsigned polyNumber, unsigned gridIndex) const
 
double derivative (unsigned polyNumber, unsigned gridIndex) const
 

Member Function Documentation

◆ derivative()

double npstat::DiscreteBernsteinPoly1D::derivative ( unsigned  polyNumber,
unsigned  gridIndex 
) const

Return the average derivative for the given cell

◆ gridLength()

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

A simple inspector of object properties

◆ poly()

double npstat::DiscreteBernsteinPoly1D::poly ( unsigned  polyNumber,
unsigned  gridIndex 
) const

Return the value of one of the polynomials for the given cell


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