112 Commits

Author SHA1 Message Date
Jos de Jong
b36d45af0b Merge pull request #850 from tetslee/absderivative
Added derivative of abs
2017-05-11 19:59:22 +02:00
Jos de Jong
3f890c9a1a Merge pull request #848 from tetslee/simplifyTerminate
Fix terminate condition of simplify to avoid endless loops
2017-05-11 19:56:28 +02:00
Timothy Lee
8c92deb1c3 Added derivative of abs 2017-05-10 17:24:15 +09:30
Timothy Lee
4762493861 Typo 2017-05-10 10:24:47 +09:30
jos
de10818546 Merge branch 'redundantwildcard' of https://github.com/tetslee/mathjs into tetslee-redundantwildcard
# Conflicts:
#	lib/function/algebra/simplify.js
2017-05-09 20:24:04 +02:00
Jos de Jong
71221b75df Merge pull request #840 from tetslee/fix838
Fixed simplify to recognize named constants
2017-05-09 20:12:28 +02:00
Jos de Jong
3ea3eb7273 Merge pull request #841 from tetslee/fix813
Stop simplify converting numbers to inexact Fractions
2017-05-09 20:07:57 +02:00
Timothy Lee
aaeb2ebc28 Fix terminate condition of simplify to avoid endless loops 2017-05-09 17:59:58 +09:30
Timothy Lee
89c32b84bf Remove redundant rule wildcard variable 'C' from simplify 2017-05-09 16:01:28 +09:30
Timothy Lee
02f01adf3c Added support for BigNumbers to simplify 2017-05-09 13:20:32 +09:30
Timothy Lee
82095ebc19 Revert "Changed multiply to only output Fractions when both arguments can be exactly represented as Fractions"
This reverts commit f3cb41864582b2dc8b07c07d4c22d6c313bcc114.
2017-05-08 15:57:19 +09:30
Timothy Lee
6792ab5974 Added some more documentation for simplify rules 2017-05-08 13:32:53 +09:30
Timothy Lee
158adc1861 Added support for more constants in simplify 2017-05-08 12:56:56 +09:30
Timothy Lee
f3cb418645 Changed multiply to only output Fractions when both arguments can be exactly represented as Fractions 2017-05-05 16:30:37 +09:30
Timothy Lee
c47dee1d01 Stopped simplify from explicitly converting numbers to Fractions when they can't be expressed exactly.
It still will implicitly convert to inexact Fractions because of the conversions to Fractions in the typed-functions of binary operators.
2017-05-05 14:54:04 +09:30
Timothy Lee
9e2491e96f Fixed simplify to recognize named constants 2017-05-05 13:44:21 +09:30
jos
720d443f79 Released v3.12.0 2017-04-17 20:38:53 +02:00
Jos de Jong
43fc3f5cd1 Merge pull request #829 from HarrySarson/qr-implementation
Changes to QR function
2017-04-17 20:24:04 +02:00
Harry Sarson
815ce4601d updated calculation of norm of vector 2017-04-16 20:09:31 +01:00
Jos de Jong
e02b9520ea Merge pull request #819 from HarrySarson/qr-implementation
Qr implementation
2017-04-15 20:26:04 +02:00
Harry Sarson
24888263c0 Correct the return value of qr example. 2017-04-13 12:09:02 +01:00
tim
613e7012a1 simplify - remove addtion of zero 2017-04-13 19:06:39 +09:30
Harry Sarson
c81dd3e797 re-add return statement at end of factory function 2017-03-31 18:40:06 +01:00
Harry Sarson
e1821b35a0 qr.js conforms to node-style-guide 2017-03-31 18:18:02 +01:00
Harry Sarson
dbd1311ba4 implemented qr decomposition 2017-03-31 18:18:02 +01:00
Harry Sarson
da361ae71f better documented return type for lup function 2017-03-01 22:59:21 +00:00
Harry Sarson
2f5fd8005c Fix error in example of lup function 2017-03-01 22:38:25 +00:00
Harry Sarson
0931944bd3 Correct the return type of lup function 2017-03-01 22:38:24 +00:00
jos
20f3af05b3 Fixed markdown urls, updated an example 2017-01-23 21:56:14 +01:00
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
aab56c8094 Fixed derivative of exp(x) 2017-01-22 07:35:22 -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
08ed2b4160 Updated docs 2017-01-21 20:45:14 +01:00
jos
91dc47c763 Made ES5 complient again 2017-01-21 20:38:36 +01:00
jos
5c5b83988e Updaed docs of Node.simplify 2017-01-21 20:35:20 +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
71ae3ea076 Consistent API for both derivative and simplify (dropped transform) 2017-01-20 21:43:40 +01:00
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
tetslee
12cdee2956 Merge branch 'algebraic_differentiation' into derivative 2016-10-25 13:06:37 +10:30
jos
eff330d635 Fixed a bug in an internal method used for sparse matrices, see #536. Still needs extra unit tests to verify the behavior 2016-01-08 19:58:26 +01:00
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
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
Rogelio J. Baucells
06c0515d4a Merge pull request #461 from rjbaucells/develop
Sparse Matrix non sorted index issue #452
2015-09-07 13:02:14 -04:00