30 public static function ERF($lower, $upper = null)
35 if (is_numeric($lower)) {
36 if ($upper === null) {
37 return self::erfValue($lower);
39 if (is_numeric($upper)) {
40 return self::erfValue($upper) - self::erfValue($lower);
63 return self::ERF($limit);
71 if (abs($value) > 2.2) {
74 $sum = $term = $value;
75 $xsqr = ($value * $value);
79 $sum -= $term / (2 * $j + 1);
82 $sum += $term / (2 * $j + 1);
89 return self::$twoSqrtPi * $sum;
static ERF($lower, $upper=null)
ERF.
static ERFPRECISE($limit)
ERFPRECISE.
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.