Package org.apache.commons.math.distribution

Examples of org.apache.commons.math.distribution.WeibullDistribution.cumulativeProbability()


    double x = CommonFns.toNumber(args[0]).doubleValue();
    double alpha = CommonFns.toNumber(args[1]).doubleValue();
    double beta = CommonFns.toNumber(args[1]).doubleValue();
    DistributionFactory factory = DistributionFactory.newInstance();
    WeibullDistribution wb = factory.createWeibullDistribution(alpha, beta);
    return UtilFns.validateNumber(wb.cumulativeProbability(x));
  }
 
  /**
   * Returns the sum of deviation
   * @param total total
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.