Return the length of an object
(any)
A JavaScript object.
any
:
An integer.
Return the name of the function arguments.
(function)
A "factory" for density functions
The function extends the function by the argument log
.
(function)
A function that performs the density calculation.
A "factory" for cumulative density functions (CDF)
The function extends the function by the arguments lower_tail
and log_p
.
(function)
A function that performs the CDF calculation.
A "factory" for quantile functions (CDF)
The function extends the function by the arguments lower_tail
and log_p
.
The first argument of the function must be the probability at which the quantile is seeked.
(function)
A function that performs the quantile calculation.
The digamma function
any
:
A number or an Array of numbers.
The trigamma function
any
:
A number or an Array of numbers.
Return the range of an object.
Array
:
A 2-element Array containing the minimum and the maximum.
range( 1 ) # [1,1]
range([ 1,2,3 ]) # [1,3]
range([ 1,2,[3,4] ]) # [1,4]
Check if all values are true.
(Array)
The input.
boolean
:
true or false; whether all vallues are true.
all([true, true, false]) # false
Check if any value is true.
(Array)
The input.
boolean
:
true or false; whether there is a true value.
any([true, true, false]) # true
Compute incomplete gamma functions
any
:
A triplet {GIN, GIM, GIP}, where
GIN(A, X) := \int_0^x { t^{a - 1}
exp(-t) } dt
GIM(A, X) := Gamma(A) - GIN(A, X) = \int_x^{\infty} { t^{a - 1}
exp(-t) } dt
GIP(A, X) := GIN(A, X) / Gamma(A)
The union of two sets
any
:
An array of elements.
The intersection of two sets
any
:
An array of elements.
The difference of two sets
any
:
An array of elements.
Equality of two sets
boolean
:
true or false.
Check if an element belongs to a set
(any)
An element, or an array of elements.
(Array)
A set; an array of elements.
any
:
An array of elements.
The symmetric difference of two sets
any
:
An array of elements.
A map function for nested Arrays.
any
:
An Array (or a nested Array).
walk([ 1, [2,3], [4,5] ], x => x + 1) // returns [ 2, [ 3, 4 ], [ 5, 6 ] ]
Return the first element of an object
(any)
A JavaScript object.
any
:
The first element of an object.