143 Commits

Author SHA1 Message Date
Jos de Jong
df206f73fb
Merge pull request #980 from paulobuchsbaum/new_rationalize
Small fix
2017-12-03 19:54:52 +01:00
paulobuchsbaum
f933639a98 Small fix
Denominator and Numerator fields for polynomials with more than 1 variable.
2017-12-03 00:59:45 -02:00
jos
270d28b8d2 Update history, add embedded docs for rationalize 2017-12-02 20:34:40 +01:00
Jos de Jong
7b5d30fff4
Merge pull request #978 from paulobuchsbaum/new_rationalize
Rationalize. Is it almost ready?
2017-12-02 19:59:28 +01:00
paulobuchsbaum
4ca4e6fa3a Clean debug code
Clean all debug code
2017-11-29 19:32:42 -02:00
paulobuchsbaum
d0a13eaaa9 Rationalize Package
Rationalize.js, Rationalize.test.js and index.js changed.
2017-11-27 17:16:21 -02:00
jos
d7c4d28944 Fixed #975: a wrong example in the docs of lusolve 2017-11-23 20:25:22 +01:00
Eric Mansfield
b254bc1be4 Merge pull request #958 from IvanVergiliev/simplify-exponentiation
Simplify nested exponentiations
2017-10-21 19:10:43 -06:00
Ivan Vergiliev
9dde07ed11 Simplify nested exponentiations 2017-10-17 08:15:22 -07:00
ericman314
8786ad80c3 Corrected function declaration 2017-10-04 20:59:18 -06:00
Eric Mansfield
237e4b6c2d Merge branch 'develop' into simplify-traverse 2017-10-04 20:50:49 -06:00
ericman314
32793c6e0c Improved traversal for replacing nodes in simplify
Replaced the two-pass traversal with a single pass, which stops once it
replaces a node.
2017-10-04 20:48:17 -06:00
jos
e033697001 Add unit tests against infinite recursive loops in simplify 2017-10-01 20:26:30 +02:00
Eric Mansfield
27c7ca660c Merge branch 'develop' into fix-simplify-transform 2017-09-30 22:04:42 -06:00
ericman314
b7321490bd Fixes over-eager transforming when simplifying
Fixes a problem when simplifying expressions where SymbolNodes in the
input expressions are incorrectly transformed, as if they were patterns
in the right-hand-side of the rule
2017-09-30 21:59:49 -06:00
firepick1 (localhost)
5b175d56a5 #934 unaryMinus simplifyCore 2017-08-28 06:35:40 -07:00
firepick1 (localhost)
e9fa99983f #933 nargs 2017-08-24 20:34:41 -07:00
firepick1 (localhost)
4787237b31 #933 +unaryMinus to subtract 2017-08-24 20:18:06 -07:00
firepick1 (localhost)
827ab5dc28 Merge branch 'develop' into simplify2 2017-08-24 19:56:35 -07:00
firepick1 (localhost)
52e29d6456 925 simplify(string, Array, Object) 2017-08-18 17:30:48 -07:00
jos
967e65cceb Refactored usage of properties .isNode, .isSymbolNode, etc. into using functions like type.isNode(x) for security 2017-08-12 14:38:03 +02:00
jos
fa01e993af Refactored x && x.isMatrix === true into type.isMatrix(x), same with isDenseMatrix and isSparseMatrix 2017-08-12 13:24:39 +02:00
jos
6d418b9b61 Refactored x && x.isFraction === true into type.isFraction(x) 2017-08-12 12:05:11 +02:00
jos
54230e8dc9 Fixed #916 handle dynamic function calls in simplify 2017-08-12 10:39:51 +02:00
firepick1 (localhost)
dccec26cb1 #916 simplifyCore loses custom functions 2017-08-08 20:48:24 -07:00
jos
4fc0c4bb7b Updated docs of simplify, extended algebra examples 2017-08-06 12:56:20 +02:00
jos
3bb5412466 Replace ES6 backtick 2017-08-06 11:58:22 +02:00
jos
601f1942c2 Replace ES6 functionality with ES5 2017-08-06 11:54:59 +02:00
firepick1 (localhost)
53e64ee18d resolve scope Node values 2017-08-02 13:39:55 -07:00
firepick1 (localhost)
709f1bc075 #907 simplify.resolve 2017-08-02 07:30:00 -07:00
firepick1 (localhost)
bd870d3545 simplifyCore() performance improvement 2017-08-01 11:45:06 -07:00
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