d2bMath

# d2b.mean(array[, value[, weight]])

Returns the mean of the given array. If the array is empty, returns undefined. An optional value accessor function may be specified to access the value of each array element. Also, an optional weight accessor function may be specified to access the weight of each array element. Values evaluated as NaN are ignored.

# d2b.median(array[, value[, weight]])

Returns the median of the given array. If the array is empty, returns undefined. An optional value accessor function may be specified to access the value of each array element. Also, an optional weight accessor function may be specified to access the weight of each array element. Values evaluated as NaN are ignored.

# d2b.mode(array[, value[, weight]])

Returns the mode of the given array. If the array is empty, returns undefined. An optional value accessor function may be specified to access the value of each array element. Also, an optional weight accessor function may be specified to access the weight of each array element. Values evaluated as NaN are ignored.

# d2b.midpoint(array[, value])

Returns the midpoint of the given array. If the array is empty, returns undefined. An optional value accessor function may be specified to access the value of each array element. Values evaluated as NaN are ignored.

# d2b.range(array[, value])

Returns the range of the given array. If the array is empty, returns undefined. An optional value accessor function may be specified to access the value of each array element. Values evaluated as NaN are ignored.

# d2b.toRadians(deg)

Returns the radians conversion of the given degrees value.

# d2b.toDegrees(rad)

Returns the degrees conversion of the given radians value.

results matching ""

    No results matching ""