1636 Commits

Author SHA1 Message Date
Gulfaraz Yasin
275b09dce8 support to compare complex numbers #837 2017-05-10 19:05:49 +05: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
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
Jos de Jong
dc37aa3c49 Merge pull request #845 from tetslee/docsimplify
Added some more documentation for simplify rules
2017-05-08 20:01:47 +02:00
jos
41b0f5138b Expose BASE_DIMENSIONS on Unit 2017-05-08 20:00:43 +02:00
Timothy Lee
6f2b5efaac Disallow implicitly converting a number to a fraction that is not an exact representation 2017-05-08 15:58:06 +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
jos
150e5bd42a Released v3.12.3 2017-05-05 21:09:59 +02:00
jos
27660d8c00 Some more security measures 2017-05-05 21:08:23 +02:00
jos
85ac1a0aa4 Some more security measures 2017-05-05 20:53:20 +02:00
jos
aef6203049 Use safe function arguments internally 2017-05-05 17:25:21 +02:00
jos
73b774a51b Use safe map, forEach, join 2017-05-05 12:32:21 +02:00
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
088c612cd6 Released v3.12.2 2017-04-30 14:02:25 +02:00
jos
f1e2c2e391 Released v3.12.1 2017-04-24 21:45:53 +02:00
jos
933f1bbb5d Released v3.12.1 2017-04-24 21:41:09 +02:00
jos
b90305992f Merge remote-tracking branch 'origin/develop' into develop 2017-04-24 21:38:12 +02:00
jos
4f9fd81fbd Merge branch 'develop' into security 2017-04-24 21:36:05 +02:00
jos
19faeac16c Escape function names and properties 2017-04-24 21:36:00 +02:00
Jos de Jong
692519e330 Fixed wrong formatting of complex NaN (see 804) 2017-04-24 08:39:36 +02:00
Jos de Jong
a62b1c7fd6 Merge pull request #835 from HarrySarson/pow-fix
Extension of pow function to support Infinite exponents.
2017-04-24 08:23:40 +02:00
Harry Sarson
a5692e1d0a Extension of pow function to support Infinite exponents. 2017-04-23 13:13:23 +01:00
jos
8e8e02bec9 Don't clone config itself, only it's childs 2017-04-22 20:14:52 +02:00
jos
c259c936ec Refactored compile into a factory function 2017-04-22 17:12:38 +02:00
jos
a7bd4cd833 Register _compile as separate functions 2017-04-22 16:49:22 +02:00
jos
c2c1888012 Fixed security vulnerabilities in math.subset 2017-04-22 13:58:26 +02:00
jos
b9c3b334e1 Refactored customs.js into a regular js file instead of factory 2017-04-22 13:04:29 +02:00
jos
bb99a83d4a Removed redundant variable assignment 2017-04-20 19:50:48 +02:00
jos
720d443f79 Released v3.12.0 2017-04-17 20:38:53 +02:00
jos
e575c9e09c Fixed #824: fixed calling seedrandom correctly... 2017-04-17 20:26:56 +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
jos
bc9f01ba96 Fixed #824: Calling math.random() freezes IE and node.js 2017-04-17 20:20:25 +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
jos
347c9f4320 Released v3.11.5 2017-04-08 17:09:47 +02:00
jos
fa06a452b9 Only return undefined in case of plain objects 2017-04-08 16:44:21 +02:00
jos
ee6efa3768 Only allow accessing/assigning properties on plain objects. Only allow calling known methods. 2017-04-08 15:32:10 +02:00
jos
42012688cb Released v3.11.4 2017-04-03 21:09:05 +02:00
jos
e40a37197c Released v3.11.3 2017-04-03 20:47:28 +02:00
jos
25db18caec Fixed a security vulnerability 2017-04-03 20:43:52 +02:00
jos
6bd493fc67 Released v3.11.2 2017-04-03 01:35:15 +02:00