toHex and add warning to the npx commandround2 (round to the 10th decimal place)eslint styling ruleseslint standards. The import statement has changed.toHex() function to convert any number to hexadecimal
npx commandround2() function to round to the nearest multiple of an arbitrary baserat() to decompose ratios and mixed() to decompose mixed numbersrseq() supportnpx binaryshuffle function to shuffle and array of arbitrary elementsrseq in favor of shuffle (has all capabilities and more, can shuffle a linspace if need to replicate the functionality of rseq)package.json filerseq to generate a random sequence of integersexray dependency version to 1.1.1tsc version on npm testrint() where it could generate a value 1 below the minimum value, if the random number generated by Math.random() is exactly zero and the input range is negative. Realistically, this would never happen, the odds of this are about one in 2^53, or one in 9 quadrillion. You would need to generate one million numbers every second consistently for 285 years for a chance to see this happen once.SMath from an abstract class to a namespaceexray version to 1.0.3runif(), rint(), rnorm(), and rdist()median()factors() function to compute a list of prime factors of any numberlim(), differentiate(), and integrate()n to data for statistics functionsmedian() function to API and npx commandstdevp() and stdevs()npx where it would crash with 0 argumentsnpxexray dependency versionfactorial()npxerror() functionexray dependency versionnpx smath executablesexray testing frameworkbuild and types scriptssrc/)xpt exception testing framework 0.2.0build and types into one scriptbuild command, arguments in tsconfig.jsonbin, main, and filestest/ directory with all tests using xpt frameworknpx scripts. Run npx smath to learn more!avg functionlinspace and logspace functionspackage.jsondev scriptisNumber, prefer builtin isFinite()round, prefer builtin toFixed()SMath classisNumber cannot be +/- infinitymin = maxSMathSMath librarytsconfig.jsonpackage.jsonpackage.jsonpackage.jsonnormalizeexpandtranslatetypedocpackage.json