837 Commits

Author SHA1 Message Date
jos
e10dd5bce5 Refactored x && x.isBigNumber === true into type.isBigNumber(x) 2017-08-12 11:54:53 +02:00
jos
26e70a4acd Refactored x.isComplex === true into type.isComplex(x) 2017-08-12 11:32:40 +02:00
jos
a18f2068f3 Fixed toString of a parsed expression tree containing an immediately invoked function assignment not being wrapped in parenthesis 2017-08-12 11:03:19 +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
1f2d4f3296 Replaced another occurrence of ES6 backtick 2017-08-06 12:00:51 +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
6bbff5f54f Improved natural sorting for numeric types, matrix types, and objects 2017-06-30 11:16:42 +02:00
jos
96674094d6 Compare numeric types first by value, then by type 2017-06-30 10:02:26 +02:00
jos
0557e7ae1f Back to compareNatural WIP (see #837) 2017-06-25 21:02:59 +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 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
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
viclai
5baa2b8848 Added Unit Test for Intersect Bug 2017-05-27 07:58:32 -07:00
jos
f61bb6cf94 Fixed #856: function subset not returning non-primitive scalars from Arrays correctly 2017-05-16 21:41:03 +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
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
Timothy Lee
02f01adf3c Added support for BigNumbers to simplify 2017-05-09 13:20:32 +09:30
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
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 de Jong
692519e330 Fixed wrong formatting of complex NaN (see 804) 2017-04-24 08:39:36 +02:00
Harry Sarson
a5692e1d0a Extension of pow function to support Infinite exponents. 2017-04-23 13:13:23 +01: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
dbd1311ba4 implemented qr decomposition 2017-03-31 18:18:02 +01:00
Dzmitry Litskalau
a531715442 Fix xgcd for negative values 2017-03-06 18:28:13 +03:00
ericman314
9ada8c9a9c Added tests for function/matrix/reshape.test.js 2017-02-27 20:40:47 -07:00
Jos de Jong
fc2458a6c4 Merge pull request #799 from morsecodist/develop
Added Seeded Random Number Generation
2017-02-27 19:52:11 +01:00
morsecodist
9466b214aa Supported seeds of any type 2017-02-26 22:54:01 -05:00
morsecodist
9bfedf2921 Added and updated unit tests to new config option seeded rng 2017-02-24 15:21:17 -05:00
morsecodist
3d46e21ee5 Removed old seeded random number generator 2017-02-24 15:18:16 -05:00
Pat Grasso
fbb023e7e1 Small fix of names in reshape.test.js
Change some straggling instances of `resize` (reshape tests borrowed
heavily from resize).
2017-02-24 10:19:58 -05:00
Pat Grasso
8e01076ec9 Merge branch 'matrix.reshape' into develop 2017-02-24 10:12:20 -05:00