Converts an array to a dictionary.
An array.
A function that returns the key for each element.
A dictionary of the array's values with stringified indexes as keys.
Finds the average of an array or an object of number values.
An object or an array containing only number values.
Finds the average of an array of numbers.
An array of numbers.
Finds the average of an object of number values.
An object containing only number values.
Finds the difference of an array or an object of number values. For objects this sorts the keys before subtraction to ensure consistent result.
An object or an array containing only number values.
Finds the difference of an array of numbers. The first value populates the initial value, while any subsequent are subtracted.
An array of numbers.
Finds the difference of an object of number values. The first value populates the initial value, while any subsequent are subtracted. Sorts the keys before subtraction to determine ordering and ensure consistency.
An object containing only number values.
Validates whether or not an array or object of values is normalized.
The tolerable variablity in comparison to account for floating point math. Defaults to Number.EPSILON.
Validates whether or not an array of numbers is normalized.
An array of numbers.
The tolerable variablity in comparison to account for floating point math. Defaults to Number.EPSILON.
Validates whether or not an object of values is normalized.
An object containing only number values.
The tolerable variablity in comparison to account for floating point math. Defaults to Number.EPSILON.
Validates whether or not an array or object is scaled to a defined value (default 1).
An object or an array containing only number values.
Scale that the sum of the array should add up to (default 1).
The tolerable variablity in comparison to account for floating point math. Defaults to Number.EPSILON.
Validates whether or not an array of numbers is normalized to a scaled unit value (default 1).
An array of numbers.
Scale that the sum of the array should add up to (Default 1).
The tolerable variablity in comparison to account for floating point math. Defaults to Number.EPSILON.
Validates whether or not an object of values is normalized.
An object containing only number values.
Scale that the sum of the array should add up to (default 1).
The tolerable variablity in comparison to account for floating point math. Defaults to Number.EPSILON.
Finds the average of an array or an object of number values. Identical to average().
An object or an array containing only number values.
Merges objects, resolving values of identical keys by averaging.
The objects to average.
The merged averages of the keys of objects.
Merges objects, resolving values of identical keys by finding the difference.
The objects to subtract.
The merged difference of the objects.
USER FACING APIs
Merges objects and resolves values for identical keys using the provided function.
The function to resolve values for identical keys.
The objects to merge.
The merged object.
Merges objects, resolving values of identical keys by multiplying.
The objects to multiply.
The merged product of the objects.
Merges objects, resolving values of identical keys by multiplying.
The objects to multiply.
The merged product of the objects.
Merges objects, resolving values of identical keys by finding the standard deviation.
The objects to find the standard deviations of.
The merged averages of the keys of objects.
Merges objects, resolving values of identical keys by summing.
The objects to sum.
The merged sums of the objects.
Normalizes an object or an array of values to 1.
An object or an array of numbers.
Normalizes an array of values to 1.
An array of numbers.
Normalizes an object of values to 1.
Finds the product of an array or an object of number values.
An object or an array containing only number values.
Finds the product of an array of numbers.
An array of numbers.
Finds the product of an object of number values.
An object containing only number values.
Finds the quotient of an array or an object of number values. The first value populates the initial value, while any subsequent are used to calculate the quotient. For objects this sorts the keys before division to ensure consistent result.
An object or an array containing only number values.
Finds the quotient of an array of numbers.
An array of numbers.
Finds the quotient of an object of number values. The first value populates the initial value, while any subsequent are used to calculate the quotient. Sorts the keys before division to ensure consistent result.
An object containing only number values.
Normalizes an object or an array of values to the defined scaling value (default 1).
An object or an array of numbers.
Scale that the sum of the array or object should add up to. Defaults to 1.
Normalizes an array of values to the defined scaling value (default 1)
An array of numbers.
Scale that the sum of the array should add up to.
Normalizes an object containing only numerical values to the defined scaling value (default 1)
An object containing only number values.
Scale that the sum of the values of the object should add up to.
Finds the standard deviation of an array or an object of number values. Identical to standardDeviation().
An object or an array containing only number values.
Finds the standard deviation of an array or an object of number values.
An object or an array containing only number values.
Finds the standard deviation of an array of numbers.
An array of numbers.
Finds the standard deviation of an object of number values.
An object containing only number values.
Finds the sum of an array or an object of number values.
An object or an array containing only number values.
Finds the sum of an array of numbers.
An array of numbers.
Finds the sum of an object of number values.
An array of numbers.
Generated using TypeDoc
Declarations