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