Package-level declarations
Types
A class to save data to an expanding array.
A class to save pairs of observations to an array of double arrays, each with size 2.
An interface to define a method to get simulated time as a double
An interface to define the identity of an object in terms of a name, a number, and an optional label.
Permits implementers to indicate that they can create a new instance. The created instance should be a duplicate of the object instance in all relevant fields to achieve the same functionality.
This class encapsulates a list that is ordered Unfortunately, if the element is changed after being added to the list such that the comparison changes, then the ordering of the list will not be maintained. Ideally, only immutable objects are placed in the list.
Functions
Adds the two arrays element by element. Arrays must have same length and must not be null.
Takes an array of length, n, and computes k batch means where each batch mean is the average of batchSize (b) elements such that b = Math.FloorDiv(n, k). If the number of batches, k, does not divide evenly into n, then n - (k*b) observations are not processed at the end of the array.
Returns a BoxPlotSummary that summarizes the array of values
Converts the 2-D array to a 1-D array by processing the source src array row-wise and concatenating the rows. For example if the data is organized as follows:
Copies all but element index of array fromA into array toB If fromA has 1 element, toB will be empty
Computes the difference, (di = xi+k - xi) for i = 0 until x.size - k This is the discrete difference operator. For example, if k = 1, then d0 = x1 - x0, d1 = x2 - x1, ..., dx.size - 2 = xx.size -1 - xx.size -2 and returns the new array of differences.
Copies the 2-D array by expanding to the maximum number of columns of the supplied (ragged) array so that the returned array is rectangular, where all row arrays have the same number of elements (columns).
Fills the array with the provided value
Fills the array with the value
The destination array is mutated by this method
If the array is empty, -1 is returned.
Returns a histogram that summarizes the array of values
Returns the index associated with the maximum element in the array For ties, this returns the first found.
Returns the index associated with the minimum element in the array For ties, this returns the first found.
Examines each element, a_i starting at 0, and determines if all the elements are different (distinct) a_0 != a_1 != a_2, etc.
Examines each element, a_i starting at 0, and determines if all the elements are equal a_0 = a_1 = a_2, etc.
Examines each element, a_i starting at 0, and determines if all the elements are decreasing a_0 gte a_1 gte a_2, etc.
Examines each element, a_i starting at 0, and determines if all the elements are increasing a_0 lte a_1 lte a_2, etc.
A 2-D array is rectangular if all rows have the same number of elements (columns).
Examines each element, a_i starting at 0, and determines if all the elements are strictly decreasing a_0 gt a_1 gt a_2, etc.
Examines each element, a_i starting at 0, and determines if all the elements are strictly increasing a_0 lt a_1 lt a_2, etc.
Returns a new array of size (x.size -k) that is lagged by k elements yi = xi+k for i=0,1,...
Applies the transformation to each element of the array in place
Assumes that the array can be ragged. Returns the number of elements in the row array that has the most elements.
Returns a new array that has been scaled so that the values are between the minimum and maximum values of the supplied array
Assumes that the 2-D array can be ragged. Returns the number of columns necessary that would cause the array to not be ragged. In other words, the minimum number of columns to make the array an un-ragged array (matrix) where all row arrays have the same number of elements.
Multiplies the two arrays element by element. Arrays must have same length.
Returns a new array that has been scaled so that the values are the (x - avg)/sd values of the supplied array
Converts the array of strings to Doubles
Converts the list of strings to Doubles
Computes the product of the elements in the array
Remove the element at the index, returning a new array
Returns a new array with duplicate data values removed from the original array, preserving the order of the observations.
Returns a new array in the same order as the original array but with the specified value removed. All instances of the value will be removed.
Returns a statistic that summarizes the array of values
Returns a statistic that summarizes the data in the collection.
Computes the statistics for the 2D array of doubles by rows. If the row name is not supplied then the row is called rowj where j is the number of the missing row name.
The array must not be null
The array must not be null
Convert the 2D array of double to a 2D array of Double with each element the corresponding value
Convert the array of int to an array of double with each element the corresponding value
Converts the 2D array of doubles to a map that holds the arrays by column. If the column name is not supplied then the column is called col1, col2, etc. The 2D array must be rectangular.
Converts the 2D array of doubles to a map that holds the arrays by column. If the column name is not supplied then the column is called col1, col2, etc. The 2D array must be rectangular.
Converts the 2D array of doubles to a map that holds the arrays by rows. If the row name is not supplied then the row is called row1, row2, etc. The 2D array must be rectangular.
Converts any null values to replaceNull. For Array
Converts any null values to replaceNull. For Array
Converts any null values to replaceNull. For Array
Converts any null values to replaceNull. For List
Converts any null values to replaceNull. For List
Converts any null values to replaceNull. For List
Convert the array of double to an array of strings with each element the corresponding value
Copies the array by trimming to the minimum number of columns of the supplied (potentially ragged) array so that the returned array is rectangular, where all row arrays have the same number of elements (columns)