511 Commits

Author SHA1 Message Date
jos
8162f0c2bb Automatically generate functionsAny and functionsNumber 2019-05-08 10:19:08 +02:00
jos
b0af4fa2b0 Move typeChecks and readonly config in separate files 2019-05-04 19:36:48 +02:00
jos
302afe9cc7 Fix a typo 2019-05-04 19:26:51 +02:00
jos
cc740b39be Move snapshot code into /src to have it transpiled 2019-05-04 15:17:15 +02:00
jos
47e1adcd0e Dynamically generate the expected snapshot structure based on the factories 2019-05-04 14:39:30 +02:00
jos
b4f2eb005e Merge remote-tracking branch 'origin/fix/1428' into develop
# Conflicts:
#	HISTORY.md
#	src/function/algebra/simplify.js
2019-05-04 10:07:39 +02:00
jos
3f9d925cf8 Publish v6.0.0-beta.1 adding missing index files 2019-05-01 13:22:12 +02:00
jos
c7b3ea9c7e Fix chain 2019-04-30 20:49:45 +02:00
jos
74919952f2 Fix unused imports 2019-04-29 21:30:59 +02:00
jos
20aa9a005a Fix circular dependency in math namespace for evaluate 2019-04-29 21:19:50 +02:00
jos
427c39c33b Created ES5 and ES6 entry points 2019-04-28 20:56:08 +02:00
jos
bb9a1e2164 Rename *Full files to *Any 2019-04-27 20:27:26 +02:00
jos
e4bb1c6198 Generate individual files for dependencies (tree shaking working now :) ) 2019-04-24 21:13:49 +02:00
jos
2450ed1fc1 Update entry files and snapshots with latest merged functions 2019-04-24 11:05:39 +02:00
jos
f4d4180cea Move all entry files under ./src/entry 2019-04-24 10:48:01 +02:00
jos
6a5ee3f995 Fix karma tests broken (thanks Harry for figuring out the cause) 2019-04-22 17:09:49 +02:00
jos
d00f28d1c5 Fix typo 2019-04-22 09:55:44 +02:00
jos
33cead1327 Improved deprecation errors and warnings. Introduce lazy again for factories. 2019-04-22 09:45:57 +02:00
jos
850886f361 Fix occurrences of CommonCS exports 2019-04-13 17:07:21 +02:00
jos
6081360d6a Merged develop into modular_architecture 2019-04-13 16:51:51 +02:00
jos
d8957d23ae Get all examples running :) 2019-04-10 16:52:02 +02:00
jos
3a34a57924 Auto generate dependenciesFull.js and dependenciesNumber.js (WIP) 2019-04-10 08:48:15 +02:00
jos
9f9bbbd4a3 Minor fixes and refinement of docs of row and column 2019-04-08 22:01:21 +02:00
jos
de3585da9e Publish v5.9.0 2019-04-08 21:20:16 +02:00
jos
87b9a3d07f Fixed #1459: engineering notation of function format not available for BigNumber 2019-04-08 21:17:39 +02:00
jos
c155eb20d7 Fixed #1465: toHTML() not correct for unary operators 2019-04-08 20:51:13 +02:00
jos
22bec13d10 Implement number factories, dependencies. Make matrix and bignumber optional where possible 2019-04-03 09:46:44 +02:00
jos
e6c5df5af5 Fix merge conflicts in row+column PR 2019-03-21 21:51:05 +01:00
SzechuanSage
2cab1f7228 Fix row and column transform to be 1 based 2019-03-21 22:30:10 +10:00
jos
d2a99f9bec Publish v5.8.0 2019-03-20 15:36:59 +01:00
bnlcas
0db42306ec Extend std var for variable dimensions request 999 (#1444)
* 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
2019-03-20 15:21:55 +01:00
bnlcas
128ed3cd9f Create apply utility request 1359 (#1411)
* add placeholder for apply function

* added apply function

* add test coverage for apply utility

* stylsitic name change in apply source code

* stylistic format change to test

* improved description of function parameters

* moved the apply function to the public matrix functions

* update location and reference of unit test

* fixed function reference paths in apply for location in function

* changed path to apply in apply.test

* make apply a typed function, update unit test

* added typing error test to coverage

* remove apply.test.js from the utils test function

* added transform function for apply

* add unit test for apply.transform.js
2019-03-17 20:15:38 +01:00
jos
29b80aa941 Rename "recipes" into "dependencies" 2019-03-13 09:32:13 +01:00
SzechuanSage
aea52eca45 Add expression transforms for row and column functions 2019-03-13 09:17:45 +10:00
Chris Hadgis
afb662666b
Merge branch 'develop' into develop 2019-03-11 06:47:14 +10:00
jos
0647fc1b87 Publish v5.7.0 2019-03-10 16:46:06 +01:00
Jos de Jong
f9201affba
Merge branch 'develop' into develop 2019-03-10 16:33:12 +01:00
Eric Mansfield
30b45d8633 Fuzzy range endpoint (#1434)
* Fixed unit base recognition and formatting for user-defined units

* Began writing tests for range

* Use fuzzy comparisons for detecting range endpoint
2019-03-10 13:39:13 +01:00
Eric Mansfield
c0ca6da6a4 Gracefully handle round-off errors in fix, ceil, and floor (#1432)
* Fixed unit base recognition and formatting for user-defined units

* Manually copied work from another branch

* Removed semicolons

* Replaced assert.equal with assert.strictEqual

* Added support for bignumber

* Replaced var with const
2019-03-10 13:36:50 +01:00
SzechuanSage
f7364372fb Merge branch 'develop' of https://github.com/SzechuanSage/mathjs into develop 2019-03-08 23:56:31 +10:00
SzechuanSage
07c0d5dd60 Add embedded docs for row and column functions 2019-03-08 23:55:40 +10:00
SzechuanSage
0ccfb6caba Remove row and function methods from DenseMatrix and SparseMatrix 2019-03-08 22:58:39 +10:00
SzechuanSage
4cd4fbba87 Add matrix functions for row and column 2019-03-08 22:26:04 +10:00
jos
6acadd71a0 Create number implementations of all functions in mainNumber.js 2019-03-06 21:49:30 +01:00
jos
5c263d3dff Fixed #1428: transform iterating over replaced nodes 2019-03-05 21:10:59 +01:00
Chris Hadgis
a2af82612a
Merge branch 'develop' into develop 2019-03-03 00:35:08 +10:00
sam-19
9bfdff1d06 Support pow() as an argument for derivative() (#1417)
* Support pow() as an argument for derivative()

Add support for the pow() function as an argument for math.derivative().

Fixes #1259.

* Unit tests for derivatives of pow()

* Support for derivate of pow() function
2019-03-02 10:37:43 +01:00
jos
0905122757 Publish v5.6.0 2019-03-02 09:58:17 +01:00
Jos de Jong
d2767e3662
Merge branch 'develop' into develop 2019-03-02 09:34:27 +01:00
jos
d9deed993d Fixed #1418: missing whitespace when stringifying an expression containing "not" 2019-02-27 17:49:35 +01:00