43 #ifndef G4POLYNOMIALPDF_HH
44 #define G4POLYNOMIALPDF_HH
std::vector< G4double > fCoefficients
void SetCoefficients(const std::vector< G4double > &v)
void SetTolerance(G4double tolerance)
void SetNCoefficients(size_t n)
G4PolynomialPDF(size_t n=0, const double *coeffs=nullptr, G4double x1=0, G4double x2=1)
G4double GetX(G4double p, G4double x1, G4double x2, G4int ddxPower=0, G4double guess=1.e99, G4bool bisect=true)
G4double Bisect(G4double p, G4double x1, G4double x2)
G4double GetCoefficient(size_t i) const
const XML_Char int const XML_Char * value
void SetDomain(G4double x1, G4double x2)
G4bool HasNegativeMinimum(G4double x1, G4double x2)
size_t GetNCoefficients() const
G4double EvalInverseCDF(G4double p)
G4double Evaluate(G4double x, G4int ddxPower=0)
void SetCoefficient(size_t i, G4double value, bool doSimplify)