File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
lib/node_modules/@stdlib/stats/base/dists/normal/cdf/src Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1919#include "stdlib/stats/base/dists/normal/cdf.h"
2020#include "stdlib/math/base/napi/ternary.h"
2121
22- // cppcheck-suppress shadowFunction
2322STDLIB_MATH_BASE_NAPI_MODULE_DDD_D ( stdlib_base_dists_normal_cdf )
Original file line number Diff line number Diff line change 2222#include "stdlib/math/base/special/sqrt.h"
2323
2424/**
25- * Evaluates the cumulative distribution function (CDF) for a Normal distribution
26- * with mean `mu` and standard deviation `sigma` at a value `x`.
25+ * Evaluates the cumulative distribution function (CDF) for a Normal distribution with mean `mu` and standard deviation `sigma` at a value `x`.
2726*
28- * @param x input value
29- * @param mu mean
30- * @param sigma standard deviation
31- * @return evaluated cumulative distribution function
27+ * @param x input value
28+ * @param mu mean
29+ * @param sigma standard deviation
30+ * @return evaluated cumulative distribution function
3231*
3332* @example
3433* double y = stdlib_base_dists_normal_cdf( 2.0, 0.0, 1.0 );
3534* // returns ~0.977
3635*/
3736double stdlib_base_dists_normal_cdf ( const double x , const double mu , const double sigma ) {
38-
3937 double denom ;
4038 double xc ;
4139
You can’t perform that action at this time.
0 commit comments