CDF
Calculates the cumulative Weibull distribution
Controller: CodeCogs
Contents
Interface
C++
CDF
doubleCDF( | double | x | |
double | a | ||
double | b | ) |
There is an error with your graph parameters for CDF with options x=0:4 a=1:4:4 b=1
Error Message:Function CDF failed. Ensure that: Invalid C++
Example 1
#include <iostream> #include <codecogs/statistics/distributions/continuous/weibull/cdf.h> using namespace Stats::Dists::Continuous::Weibull; int main() { std::cout << "CDF(105,20,100) = " << CDF( 105, 20, 100 ) << std::endl; return 0; }
Output:CDF(105,20,100) = 0.929581
References
- M.Abramowitz and I.A.Stegun, Handbook of Mathematical Functions, 1964 chapt.26.1; http://www.weibull.com
Parameters
x the value at which to evaluate the distribution a shape parameter b scale parameter
Returns
- cumulative Weibull distribution
Authors
- Anatoly Prognimack (Mar 31, 2005)
Developed and Tested with: Borland C++ 3.1 for DOS and Microsoft Visual C++ 5.0, 6.0
Updated by Will Bateman (April 2005)
Source Code
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.