57 Commits

Author SHA1 Message Date
Jos de Jong
c879acf9d3 Merge pull request #780 from ericman314/differentiation_consistent_api
Fixed derivative of exp(x)
2017-01-22 15:44:57 +01:00
jos
d722473b53 Fixed simplify not handling non-existing functions correctly 2017-01-22 15:44:14 +01:00
ericman314
b440955297 Added unit test for exp(x) 2017-01-22 07:41:02 -07:00
jos
f4b7855a84 Docs, examples, some fixes 2017-01-22 15:30:18 +01:00
jos
db67f4cb84 Removed method Node.simplify() (use function simplify instead) 2017-01-22 13:42:19 +01:00
jos
0ae4dce80b Updated docs of simplify and derivative 2017-01-21 20:29:10 +01:00
jos
6a61dd6d3c Implemented option {simplify: boolean} for function derivative 2017-01-21 20:10:10 +01:00
jos
93540e52c4 Refactored unit tests of derivative so they are easier to read/maintain 2017-01-21 17:07:21 +01:00
jos
71ae3ea076 Consistent API for both derivative and simplify (dropped transform) 2017-01-20 21:43:40 +01:00
tetslee
f4ece9c777 Fixed derivative tests that were broken by the simplifier changes. 2016-11-07 17:12:29 +10:30
tetslee
5a75a8c222 Simplify terms and factors seperated by inverse operators.
The simplify algorithm now applies rules one at a time.
2016-11-07 11:20:28 +10:30
tetslee
23bf1031eb Improved constant folding in simplify. 2016-11-04 18:02:42 +10:30
tetslee
67b69b49c5 Improvements to simplify(). Also changes to the way simplify and derivative are used. 2016-11-02 16:26:22 +10:30
jos
dffd6c5f5f Merge remote-tracking branch 'origin/algebraic_differentiation' into algebraic_differentiation 2015-12-05 13:18:04 +01:00
jos
bc6c861a36 Merge branch 'develop' into algebraic_differentiation 2015-12-05 13:17:50 +01:00
Favian Contreras
4b929d772a Added cbrt. Added a small test case and comment as well. 2015-09-21 02:48:30 -07:00
Favian Contreras
449f13f45e Removed the math object from the parse and eval calls. 2015-09-19 21:44:53 -07:00
Favian Contreras
48bb64af4e Added some comments to the derivative file. Added some test cases as well (explicitly test partial derivatives and pure JS usage). 2015-09-19 21:24:56 -07:00
Jos de Jong
08ccb24c06 Merge pull request #440 from rjbaucells/develop
Fix for issue #437 (Possible bug in lusolve)
2015-08-28 20:45:49 +02:00
Rogelio J. Baucells
06c3cd31b5 Issue #437 fix 2015-08-27 21:07:13 -04:00
jos
a39d726a18 Merged algebraic_differentiation, fixed issues with function transforms attached to factory functions 2015-07-29 21:24:34 +02:00
jos
a388f399ca Merge branch 'algebraic_differentiation' of https://github.com/BigFav/mathjs into algebraic_differentiation
Conflicts:
	lib/core/typed.js
2015-07-29 20:57:50 +02:00
Favian Contreras
98040be7e1 Shortened up some of the more verbose test cases for which simplifications are possible. Used config.number on ConstantNodes that I missed on my original commits. 2015-07-25 07:29:17 -07:00
jos
396d951c95 Halfway implementing lazy loading 2015-07-21 20:49:52 +02:00
Favian Contreras
6fbe2238cd Added a test case for nthRoot where the root is variable. Now handles a variable base log, and added a test case. Adjusted the chain rule to be after the switch statement (saves ~1640 bytes and is more modular). 2015-07-21 04:34:06 -07:00
Favian Contreras
3591b7597d Added test cases for trig functions, C^x, FunctionAssignmentNode, and some error cases. 2015-06-13 09:42:40 -07:00
Favian Contreras
d800172062 Test derivitive function. Currently using a mix of written out Nodes, and parse to test against. 2015-05-31 02:50:14 -07:00
Rogelio J. Baucells
8fb42ee11b fix tests 2015-05-29 21:34:29 -04:00
rjbaucells
ce95f7a837 lusolve() and slu() tests 2015-05-17 10:34:15 -04:00
rjbaucells
027462b081 slu() and lusolve() 2015-05-16 11:50:34 -04:00
rjbaucells
b5931fb116 solvers 2015-05-14 23:04:59 -04:00
rjbaucells
ceca6af8d3 slu() and lusolve() 2015-05-14 20:24:26 -04:00
rjbaucells
d3902a2fcf lusolve() - partial 2015-05-09 11:21:23 -04:00
Rogelio J. Baucells
737d476970 slu() and lusolve() 2015-05-08 15:45:03 -04:00
rjbaucells
e3cee480ec Merge remote-tracking branch 'origin/v2-test' into v2-sparse 2015-05-07 23:53:13 -04:00
rjbaucells
dd6335a6db lsolve() and usolve() 2015-05-07 23:43:28 -04:00
Rogelio J. Baucells
c188a86be7 fix test 2015-04-27 17:04:58 -04:00
Rogelio J. Baucells
65ab4faa89 sparse updates 2015-04-27 15:31:05 -04:00
Rogelio J. Baucells
6df1021c9f Merge remote-tracking branch 'origin/sparse-arithmetic' into v2-sparse
Conflicts:
	lib/type/matrix/SparseMatrix.js
2015-04-27 12:12:32 -04:00
Rogelio J. Baucells
4347a3d16f sparse arithmetic updates 2015-04-27 12:03:59 -04:00
rjbaucells
75594372ed tests 2015-04-26 11:10:09 -04:00
rjbaucells
b17e528b85 cs sparse updates 2015-04-26 09:51:12 -04:00
Rogelio J. Baucells
070000633a renamed sparse related files 2015-04-24 15:01:03 -04:00
Rogelio J. Baucells
81ab7148f5 Merge remote-tracking branch 'origin/v2' into v2-sparse 2015-04-24 14:46:23 -04:00
Rogelio J. Baucells
748fe0d0fb CcsMatrix refactoring 2015-04-24 11:13:17 -04:00
Rogelio J. Baucells
4197743500 sparse lu() 2015-04-23 17:39:30 -04:00
rjbaucells
a2d2e24e76 multiply() refactoring 2015-04-22 19:46:35 -04:00
rjbaucells
3cce748166 lusolve() function 2015-04-12 23:55:17 -04:00
rjbaucells
440c95b686 lup() function 2015-04-12 22:37:45 -04:00
Rogelio J. Baucells
cb1af441ed lusolve() 2015-04-09 16:38:00 -04:00