4118 Commits

Author SHA1 Message Date
jos
52462a8e29 Released v3.10.2 v3.10.2 2017-03-31 10:26: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
691d555a72 Released v3.10.1 v3.10.1 2017-03-26 20:38:39 +02:00
jos
c2597af424 Removed duplicate dependency 2017-03-19 14:36:36 +01:00
jos
a3f240715f Added a section in readme about browser support (see #810) 2017-03-19 14:22:15 +01: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
jos
6ef89f1342 Updated history 2017-03-06 19:48:42 +01:00
Jos de Jong
9709a5051f Merge pull request #805 from litmit/master
Fix xgcd for negative values
2017-03-06 19:45:26 +01:00
Dzmitry Litskalau
a531715442 Fix xgcd for negative values 2017-03-06 18:28:13 +03:00
jos
5d11f2eeb1 Released v3.10.0 v3.10.0 2017-03-05 13:50:14 +01:00
jos
db31e16e1a Merge remote-tracking branch 'origin/develop' into develop 2017-03-03 20:57:54 +01:00
jos
5a498bbd98 Updated history 2017-03-03 20:57:40 +01:00
Jos de Jong
4686ab1e6e Merge pull request #802 from HarrySarson/develop
Changes to lup docs to fix error.
2017-03-03 20:56:12 +01:00
Harry Sarson
da361ae71f better documented return type for lup function 2017-03-01 22:59:21 +00:00
Harry Sarson
2f5fd8005c Fix error in example of lup function 2017-03-01 22:38:25 +00:00
Harry Sarson
0931944bd3 Correct the return type of lup function 2017-03-01 22:38:24 +00:00
jos
af6f1bb34c Updated history 2017-02-28 20:00:34 +01:00
Jos de Jong
3ed07e49f6 Merge pull request #803 from ericman314/sparsematrix-reshape
SparseMatrix.reshape
2017-02-28 20:00:08 +01: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
ericman314
8b56efe670 Reshape now uses each matrix type's reshape function, if it exists 2017-02-27 20:17:53 -07:00
ericman314
37261395ac Initial commit of SparseMatrix.reshape 2017-02-27 20:16:57 -07:00
jos
44a480bee0 Updated history 2017-02-27 19:53:56 +01: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
jos
87aab348be Merge remote-tracking branch 'origin/develop' into develop 2017-02-27 19:48:30 +01:00
jos
54ed4bfa56 Updated history 2017-02-27 19:48:20 +01:00
Jos de Jong
34b3fdbf4c Merge pull request #800 from patgrasso/develop
Implementation of reshape()
2017-02-27 19:46:20 +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
ffc5c376c1 Refactored options to changes and made seededRNG private 2017-02-26 22:34:55 -05:00
morsecodist
c1d59f8388 Updated docs and code comments 2017-02-24 15:35:42 -05:00
morsecodist
9bfedf2921 Added and updated unit tests to new config option seeded rng 2017-02-24 15:21:17 -05:00
morsecodist
0502921d7e Implemented seeded random number generation as config option 2017-02-24 15:20:57 -05:00
morsecodist
c0d290c773 Passed original options to emit 2017-02-24 15:20:22 -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
Pat Grasso
6e5dfe5b46 Create an exportable function for reshape()
Add `reshape()` to the list of matrix functions so that it can be called
via `mathjs.reshape()`.
2017-02-24 09:18:36 -05:00
morsecodist
9090ae0911 Implemented typed function 2017-02-22 16:26:24 -05:00
morsecodist
4a4c8f6dfc Switched to exact version number 2017-02-22 16:26:08 -05:00
morsecodist
6928a4fd3e Removed es6 function notation 2017-02-22 16:25:39 -05:00
jos
5a0e72016c Released v3.9.3 v3.9.3 2017-02-22 21:39:45 +01: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
morsecodist
a1d567ff84 Used rng in _pickRandom 2017-02-21 16:34:45 -05:00
morsecodist
71c9447871 Added seed random to index and use rng in distribution 2017-02-21 16:30:13 -05:00