# mathLib

General mathematics functions

### Functions

- arrayConcat - joins together arrays
- arrayRev - reverses the order of any 1D array
- colMax - Array statistics - determines the Maximum value of each column in an array
- colMean - Array statistics - determines the Mean value of each column in an array
- colMedian - Array statistics - determines the Median value of each column in an array
- colMin - Array statistics - determines the Minimum value of each column in an array
- colMode - Array statistics - determines the Mode of each column in an array
- colRMS - Array statistics - determines the RMS value of each column in an array
- colSDev - Array statistics - determines the Standard Deviation of each column in an array
- colVari - Array statistics - determines the Variance of each column in an array
- concat2D - joins together 2D arrays
- concat3D - joins together 3D arrays
- dif - calculates difference between successive data points
- eval - Evaluates the given function at the given argument.
- hilbert - Computes the Hilbert transform of the input waveform.
- ifThenEval - Defines a function of multiple domains - is also a general Case statement.
- isElement - determines if a given element exists within a set
- isPrime - Determines if a number is prime.
- PI - Evaluates the product of a series.
- randomInt - Returns a random integer from specified range.
- randomReorder - scrambles the order of a string or array.
- setAND - returns the set of elements that are in both of two sets
- setComplement - Returns the set of elements that are in one set but not in the other.
- setOR - returns the set of elements that are in either of two sets
- setXOR - returns the set of elements that are in either but not both of two sets
- SIGMA - Evaluates the sum of a series.
- strReplace - Replaces occurrences of a target string within the input string.
- unique - returns unique subset

### Internal Content

These are used within the library but can often be useful directly accessed from without.

- private functions
  - version - returns revision date of this library
- variables
  none

### Standalone Objects

none

### Notes

© 2015-2021. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 August 2021 11:33.