Library "ArrayOperations" Array element wise basic operations. add(sample_a, sample_b) Adds sample_b to sample_a and returns a new array. Parameters: sample_a : values to be added to. sample_b : values to add. Returns: array with added results. - sample_a provides type format for output. - arrays do not need to be symmetric. - sample_a must...
Library "ArrayExt" Array extensions get(a, idx) Get element from the array at index, or na if index not found Parameters: a : The array idx : The array index to get Returns: The array item if exists or na get(a, idx) Get element from the array at index, or na if index not found Parameters: a : The array idx : The array index to...
Library "FunctionMinkowskiDistance" Method for Minkowski Distance, The Minkowski distance or Minkowski metric is a metric in a normed vector space which can be considered as a generalization of both the Euclidean distance and the Manhattan distance. It is named after the German mathematician Hermann Minkowski. reference: en.wikipedia.org double(point_ax,...
Library "Averages" Contains utilities for generating averages from arrays. Useful for manipulated or cleaned data. triangular(src, startingWeight) Calculates the triangular weighted average of a set of values where the last value has the highest weight. Parameters: src : The array to derive the average from. startingWeight : The weight to begin...
This is a public library that include the functions explained below. The libraries are considered public domain code and permission is not required from the author if you reuse these functions in your open-source scripts