* feat: toBest tests
* feat: toBest function initial
* fix: tests and function changes
* fix: dependencies
* new way to handle
* updated tests
* test updated
* tests fixed
* cleaned useless tests
* cleaned useless condition
* fix: missing comments
* fix: moved tests
* other fix and clean
* change test to work with npx mocha "path" -g "toBest"
* deleted check large and small value
* deleted precision test and fix options to bestprefix
* fix: moved toBest tests in correct file
* fix: math create
* fix: aligned files pre-mr
* fix: toBest docs test
* fix: lint issues
* fix: comments
* fix: added a helper function to simplify the test readability
* fix: unit.md and units.md docs updated
* fix: test on units.length
* added post process denormalize for tobest function to string returned value
* removed this.clone into format
* feat improve incompatible units test
* fix assign prefixes
* fixed examples
* changed order of params of assertUnit
* fixed comments and added toBest in knowProblems at doc.test
* refactor: update toBest functionality and adjust related tests for accuracy
* refactor: remove unnecessary offset initialization in prefix application
---------
Co-authored-by: Luca Quercetti <l.quercetti@wecodeyou.it>
Co-authored-by: Elia Alesiani <elia.alesiani@gmail.com>
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Co-authored-by: lucaQ <lucaquercetti@gmail.com>
Co-authored-by: EliaAlesiani <105418798+EliaAlesiani@users.noreply.github.com>
* initial implementation of multidimensional std and var
* consolidated std function into var, cleaned up the interface for var, fixed bias correction
* added documentation of variable axis for std and var
* updated documentation for std and var
* changed the order of normalization and dimension for a three parameter input in the functions
* updated documentation for var and std
* add transform expressions for std and var with variable axis
* added test coverage for std and var with a variable axis
* update to documentation
* change n dim std to use apply function
* fixed tests, removed unnecessary code, updated docs
* fixed typo in docs
* update docs to remove a type
* changed location of apply function
* updated tests to use deepStrictEqual to pass linter
* adding test coverage for var.transform and std.transform
* enable sum function to take an argument of dimension for a matrix fulfilling issue #1244
* added sum along a dimension to the unit test coverage for sum
* added information about sum along a dimension to the markdown
* fixed typo in error message
* made formatting chagnes for linter
* add sum to transformed functions