890 Commits

Author SHA1 Message Date
jos
0557e7ae1f Back to compareNatural WIP (see #837) 2017-06-25 21:02:59 +02:00
jos
08695ef1c7 Use strict unequal in xor 2017-06-24 20:38:25 +02:00
jos
ae7728a1d4 Renamed compareNatural to deepStrictCompare 2017-06-23 13:50:27 +02:00
jos
033735c5e2 Implemented support for all types in compareNatural 2017-06-23 13:40:38 +02:00
jos
d85f54cf77 Reverted ordering of complex numbers in relational functions. Use natural sort in set functions (See #837) 2017-06-18 21:42:55 +02:00
jos
151bc655d6 Implemented a first version of math.compareNatural 2017-06-18 21:13:31 +02:00
Jos de Jong
e98a810aef Merge pull request #869 from Nekomajin42/setopsv4
setops v4
2017-06-18 14:53:04 +02:00
Nekomajin42
fc9018457f setops v4
- using sort() again
- update the tests with unsorted input
2017-06-06 11:50:50 +02:00
jos
51fdf560bf Updated history 2017-06-05 17:06:48 +02:00
Jos de Jong
777b347178 Merge pull request #852 from gulfaraz/complex_comparision
support to compare complex numbers #837
2017-06-05 17:01:39 +02:00
Gulfaraz Yasin
7446181081 clean up 2017-06-05 17:20:28 +05:30
Gulfaraz Yasin
f42f7feffc static implementation of complex comparision 2017-06-05 11:58:27 +05:30
Gulfaraz Yasin
eda65d2228 used different approach for comparing complex numbers - resolves #837 2017-06-04 22:29:55 +05:30
Jos de Jong
b1afd923b7 Merge pull request #862 from viclai/patch-1
Fixed Bug in Equation For Intersection of Line and Plane
2017-05-27 20:13:18 +02:00
Victor
1313abe4ce Fixed Bug in Equation For Intersection of Line and Plane
The equation to find the value of ’t' for the intersection of a line and a plane does not appear to be entirely correct.  Please double-check.
2017-05-23 20:40:47 -07:00
jos
f61bb6cf94 Fixed #856: function subset not returning non-primitive scalars from Arrays correctly 2017-05-16 21:41:03 +02: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
Gulfaraz Yasin
275b09dce8 support to compare complex numbers #837 2017-05-10 19:05:49 +05:30
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
b90305992f Merge remote-tracking branch 'origin/develop' into develop 2017-04-24 21:38:12 +02:00
Harry Sarson
a5692e1d0a Extension of pow function to support Infinite exponents. 2017-04-23 13:13:23 +01:00
jos
c2c1888012 Fixed security vulnerabilities in math.subset 2017-04-22 13:58:26 +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
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
jos
52462a8e29 Released v3.10.2 2017-03-31 10:26:04 +02:00
Dzmitry Litskalau
a531715442 Fix xgcd for negative values 2017-03-06 18:28:13 +03:00
Harry Sarson
da361ae71f better documented return type for lup function 2017-03-01 22:59:21 +00:00