Skip to content

Many updates in v.2!

Latest
Compare
Choose a tag to compare
@tmhglnd tmhglnd released this 28 Nov 14:09
· 92 commits to master since this release

What's Changed

Quite a few new functions have been added:

de63c5e added fton, ftom, rtof, toFreq in translate
8b6c84d added pow and sqrt array methods
31442f7 added fastEuclid() method
130eae6 added compare() method
e665267 added slice and split
5371226 added split() method
d532bc7 added padding() method
825c98f added flatten() method
cbdff7d added square() method
2ad1cfd added function Rand.clave()
a1d811e added Util.sum()
1b2d105 added saw() method to basic
b0f8cfd included collatz conjecture method
6cc9326 added lookup() method

Many functions have been updated to work with multidimensional arrays:

27f8dfd updates in translate methods
93a8b23 updated divisionToMs, ratio and cents
5c03f52 updated fold, wrap and bound for n-dim arrays
bca7a14 refactored util methods add, sub, mul, div
b42db09 updated minimum, maximum
8d9b8f5 added array flatten to mean, median and mode
54a39d0 invert() works with n-dimensional arrays
41d4446 work on multidimensional support for array calc
619406d clone() accepts 2d-arrays

Some bugfixes and small refactors or updates:

f220a9e changed algorithm to work with !==
d06b8ca all transform accept non-array arguments
684a08e convert to array in sort()
6729ba2 ignore non-numeric values in lookup()
698aeda modulation in Gen.saw() does not result in negative values below specified range
7ed1d9f updated spread functions naming
ce3aec8 hopefully bugfix in pisano that hangs browser
5e9d8a0 allow frequency modulation in sine() method
dd38ec3 spreadFloat defaults to 0 - 1 range
f8b8f45 updated bignumber collatz mod