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
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
25db18caec
Fixed a security vulnerability
2017-04-03 20:43:52 +02:00
jos
5c4b105c7e
Fixed a security vulnerability in the expression parser
2017-04-03 01:29:13 +02:00
jos
2a1cca3442
Released v3.11.1
2017-04-02 20:13:38 +02:00
jos
fbe6e62faf
Fixed more security vulnerabilities
2017-04-02 19:51:11 +02:00
jos
ebb3c9bd0e
Fixed #821 , #822 : security vulnerabilities in the expression parser
2017-04-02 14:57:21 +02:00
jos
37613aca0c
Moved security related tests into a separate file
2017-04-02 13:18:55 +02:00
Harry Sarson
dbd1311ba4
implemented qr decomposition
2017-03-31 18:18:02 +01:00
Jos de Jong
ba7536d769
Merge pull request #817 from ericman314/Unit.toSI
...
Added Unit.prototype.toSI
2017-03-31 16:46:34 +02:00
jos
3c3517daa6
More security fixes + unit tests
2017-03-31 13:41:37 +02:00
jos
43c4fe9c46
Added a few more unit tests
2017-03-31 10:51:11 +02:00
jos
b7a065b538
Removed a redundant console.log in the tests
2017-03-31 10:47:04 +02:00
jos
2f45600905
Fixed a security vulnerability in the expression parser allowing execution of arbitrary JavaScript
2017-03-31 10:18:14 +02:00
ericman314
d24b945cb1
Added Unit.prototype.toSI
2017-03-29 08:46:34 -06:00
jos
0e2f3ebd78
Fixed #807 : function transform of existing functions not being removed when overriding such a function
2017-03-19 10:34:51 +01:00
Dzmitry Litskalau
a531715442
Fix xgcd for negative values
2017-03-06 18:28:13 +03:00
ericman314
abc19f663e
Added tests for type/matrix/SparseMatrix.js
2017-02-27 20:54:10 -07: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
Todd Morse
0309a2af1a
Merge branch 'develop' into develop
2017-02-26 22:56:51 -05: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
a4a111ceac
Merge branch 'matrix.reshape' into develop
2017-02-24 11:04:25 -05:00
Pat Grasso
4cca0bf6e4
Add reshape() to Matrix types + test
...
This allows for one to call `reshape()` directly from an instance of
DenseMatrix (default behavior modifies in-place).
2017-02-24 11:02:43 -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
Pat Grasso
df83968ec7
Add spec for reshape() in test/function/matrix
...
This spec tests `reshape()` with more cases than the one in
test/utils/array.test.js, including various types.
Also, in `_reshape()`, throw a brand new `DimensionError` instead of
modifying the caught one (the error message does not change when other
attributes are modified, as it is computed when the error is created).
2017-02-24 10:05:42 -05:00
morsecodist
79010f381f
Updated to use new seedrandom scheme
2017-02-21 16:46:07 -05:00
morsecodist
3b5e6a44d7
Added seedrandom unit tests
2017-02-21 16:35:03 -05:00
jos
03b93c508d
Fixed math.round not accepting inputs NaN, Infinity, -Infinity
2017-02-20 21:35:27 +01:00
jos
bd52740e61
Fixed #795 : Parse error in case of a multi-line expression with just comments
2017-02-15 22:05:38 +01:00
jos
f8370bdaf1
Fixed #790 : Expression parser did not pass function arguments of enclosing functions via scope to functions having rawArgs = true
2017-02-05 13:50:06 +01:00
jos
41f4cd6078
Fixed #789 : Math.js not supporting conversion of string to BigNumber, Fraction, or Complex number
2017-02-03 17:52:38 +01:00
jos
12c2444ead
Merge branch 'differentiation_consistent_api' into develop
...
# Conflicts:
# HISTORY.md
2017-01-22 20:03:09 +01:00
Jos de Jong
85be9c6ad5
Merge pull request #778 from adamisntdead/master
...
Add Support for Complex Numbers in Kronecker Product Function
2017-01-22 20:01:35 +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
b440955297
Added unit test for exp(x)
2017-01-22 07:41:02 -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
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
93540e52c4
Refactored unit tests of derivative so they are easier to read/maintain
2017-01-21 17:07:21 +01:00