public void ValidateInverseCumulativeDistribution(double mu, double sigma, double x, double f) { var n = new LogNormal(mu, sigma); AssertHelpers.AlmostEqual(x, n.InverseCumulativeDistribution(f), 8); AssertHelpers.AlmostEqual(x, LogNormal.InvCDF(mu, sigma, f), 8); }
internal static LineSeries CreateLineSeries( LogNormal logNormal, double lower, double upper, IList <OxyColor> defaultColors ) => CreateLineSeries( logNormal, lower, upper, defaultColors, d => logNormal.InverseCumulativeDistribution(d), InterpolationAlgorithms.CatmullRomSpline );