-
-
Notifications
You must be signed in to change notification settings - Fork 804
/
Copy pathrepl.txt
50 lines (38 loc) · 1.24 KB
/
repl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{{alias}}( x, s[, regularized[, upper]] )
Computes the regularized incomplete gamma function.
The `regularized` and `upper` parameters specify whether to evaluate the
non-regularized and/or upper incomplete gamma functions, respectively.
If provided `x < 0` or `s <= 0`, the function returns `NaN`.
If provided `NaN` as any argument, the function returns `NaN`.
Parameters
----------
x: number
First function parameter.
s: number
Second function parameter.
regularized: boolean (optional)
Boolean indicating whether the function should evaluate the regularized
or non-regularized incomplete gamma function. Default: `true`.
upper: boolean (optional)
Boolean indicating whether the function should return the upper tail of
the incomplete gamma function. Default: `false`.
Returns
-------
y: number
Function value.
Examples
--------
> var y = {{alias}}( 6.0, 2.0 )
~0.9826
> y = {{alias}}( 1.0, 2.0, true, true )
~0.7358
> y = {{alias}}( 7.0, 5.0 )
~0.8270
> y = {{alias}}( 7.0, 5.0, false )
~19.8482
> y = {{alias}}( NaN, 2.0 )
NaN
> y = {{alias}}( 6.0, NaN )
NaN
See Also
--------