Library "FunctionDaysInMonth" Method to find the number of days in a given month of year. days_in_month(year, month) Method to find the number of days in a given month of year. Parameters: year : int, year of month, so we know if year is a leap year or not. month : int, month number. Returns: int
Library "FunctionForecastLinear" Method for linear Forecast, same as found in excel and other sheet packages. forecast(sample_x, sample_y, target_x) linear forecast method. Parameters: sample_x : float array, sample data X value. sample_y : float array, sample data Y value. target_x : float, target X to get Y forecast value. Returns: float
Library "FunctionBoxCoxTransform" Methods to compute the Box-Cox Transformer. regular(sample, lambda) Regular transform. Parameters: sample : float array, sample data values. lambda : float, scaling factor. Returns: float array. inverse(sample, lambda) Regular transform. Parameters: sample : float array, sample data values. ...
Library "FunctionPolynomialRegression" TODO: polyreg(sample_x, sample_y) Method to return a polynomial regression channel using (X,Y) sample points. Parameters: sample_x : float array, sample data X points. sample_y : float array, sample data Y points. Returns: tuple with: _predictions: Array with adjusted Y values. _max_dev: Max...
Library "FunctionLinearRegression" Method for Linear Regression using array sample points. linreg(sample_x, sample_y) Performs Linear Regression over the provided sample points. Parameters: sample_x : float array, sample points X value. sample_y : float array, sample points Y value. Returns: tuple with: _predictions: Array with adjusted Y...
Library "MathSpecialFunctionsDiscreteFourierTransform" Method for Complex Discrete Fourier Transform (DFT). dft(inputs, inverse) Complex Discrete Fourier Transform (DFT). Parameters: inputs : float array, pseudo complex array of paired values . inverse : bool, invert the transformation. Returns: float array, pseudo complex array of paired values .
Library "MathComplexEvaluate" TODO: add library description here is_op(char) Check if char is a operator. Parameters: char : string, 1 character string. Returns: bool. operator(op, left, right) operation between left and right values. Parameters: op : string, operator string character. left : float, left value of operation. right : float,...
Library "MathComplexTrignometry" Methods for complex number trignometry operations. sinh(complex) Hyperbolic Sine of complex number. Parameters: complex : float array, complex number. Returns: float array. cosh(complex) Hyperbolic cosine of complex number. Parameters: complex : float array, complex number. Returns: float array. tanh(complex)...
Library "MathComplexExtension" A set of utility functions to handle complex numbers. get_phase(complex_number, in_radians) The phase value of complex number complex_number. Parameters: complex_number : float array, pseudo complex number in the form of a array . in_radians : boolean, value for the type of angle value, default=true, options=(true:...
Library "MathComplexOperator" A set of utility functions to handle complex numbers. conjugate(complex_number) Computes the conjugate of complex_number by reversing the sign of the imaginary part. Parameters: complex_number : float array, pseudo complex number in the form of a array . Returns: float array, pseudo complex number in the form of a array ...
Library "MathComplexArray" Array methods to handle complex number arrays. new(size, initial_complex) Prototype to initialize a array of complex numbers. Parameters: size : size of the array. initial_complex : Complex number to be used as default value, in the form of array . Returns: float array, pseudo complex Array in the form of a array ...
Library "MathComplexCore" Core functions to handle complex numbers. set_real(complex_number, real) Set the real part of complex_number. Parameters: complex_number : float array, pseudo complex number in the form of a array . real : float, value to replace real value of complex_number. Returns: Void, Modifies complex_number. ...
Library "ArrayStatistics" Statistic Functions using arrays. rms(sample) Root Mean Squared Parameters: sample : float array, data sample points. Returns: float skewness_pearson1(sample) Pearson's 1st Coefficient of Skewness. Parameters: sample : float array, data sample. Returns: float skewness_pearson2(sample) Pearson's 2nd Coefficient of...
Library "BinaryDecimalConversion" Converts decimal to and from binary. to_binary(number) convert integer to binary string Parameters: number : int, value to convert. Returns: string to_decimal(binary) Converts a binary in a string to decimal. Parameters: binary : string, binary number in a string. Returns: int
Library "StringEvaluation" Methods to handle evaluation of strings. is_comma(char) Check if char is a comma ".". Parameters: char : string, 1 character string. Returns: bool. is_op(char) Check if char is a operator. Parameters: char : string, 1 character string. Returns: bool. number(char) convert a single char string into valid...
Library "SignificantFigures" sigFig(float _float, int _figures) @description Takes a floating-point number - one that can, but doesn't have to, include a decimal point - and converts it to a floating-point number with only a certain number of digits left. For example, say you want to display a variable from your script to the user and it comes out to...
Library "MathSpecialFunctionsGamma" Gamma Functions. GammaQ(index) Enumeration of the polynomial coefficients for the "GammaLn" approximation. Parameters: index : int, 0 => index => 10, index of coeficient. Returns: float GammaLn(z) Computes the logarithm of the Gamma function. Parameters: z : The argument of the gamma function. Returns: The...
Library "Probability" erf(value) Complementary error function Parameters: value : float, value to test. Returns: float ierf_mcgiles(value) Computes the inverse error function using the Mc Giles method, sacrifices accuracy for speed. Parameters: value : float, -1.0 >= _value >= 1.0 range, value to test. Returns: float ierf_double(value) ...