/// @param pdf DhbStatistics.ProbabilityDensityFunction /// @param n long /// @param w double public ScaledProbabilityDensityFunction( ProbabilityDensityFunction pdf, long n, double w) { _density = pdf; Count = n; _binWidth = w; }
/// @param f statistics.ProbabilityDensity /// @param hist curves.Histogram public ScaledProbabilityDensityFunction(ProbabilityDensityFunction f, IHistogram hist) : this(f, hist.Count, hist.BinWidth) { }
/// Create a new instance with given parameters. /// @param p statistics.ProbabilityDensityFunction /// @param x double public OffsetDistributionFunction(ProbabilityDensityFunction p, double x) { _probabilityDensity = p; _offset = x; }