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
6928a4fd3e
Removed es6 function notation
2017-02-22 16:25:39 -05:00
jos
5a0e72016c
Released v3.9.3
2017-02-22 21:39:45 +01: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
morsecodist
b3c22b9b29
Added rng and seedrandom
2017-02-21 16:28:19 -05:00
jos
03b93c508d
Fixed math.round not accepting inputs NaN, Infinity, -Infinity
2017-02-20 21:35:27 +01:00
jos
b283accfa5
Refer to quantileSeq in docs of median
2017-02-20 20:50:37 +01:00
jos
faa8b88036
Released v3.9.2
2017-02-16 21:03:08 +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
9101dafbad
Released v3.9.1
2017-02-06 20:15:33 +01:00
jos
1f1f7b72f9
Added semi colons
2017-02-06 20:09:50 +01:00
jos
4a98f6818b
Performance optimization
2017-02-06 20:09:03 +01:00
jos
0396d9622d
More clear method description
2017-02-05 13:55:49 +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
51aff17b73
Merge remote-tracking branch 'origin/develop' into develop
2017-02-03 17:52:54 +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
Troy Alford
f6bb6faebe
Removing extraneous require('utils')
...
When packaging this library with `rollup.js` - there is a continual complaint about importing a "node built-in" `util`, which stems from this line in `Unit.js`. The line appears extraneous, however - so this PR simply removes it.
2017-01-28 17:10:32 -08:00
jos
de67dd340a
Merge branch 'master' into develop
2017-01-24 20:28:26 +01:00
Harry Sarson
d559aa5062
fixed doc error for config option predictable
2017-01-24 18:43:07 +00:00
jos
8b701aac41
Ehh it's 2017 now
2017-01-23 22:17:45 +01:00
jos
20f3af05b3
Fixed markdown urls, updated an example
2017-01-23 21:56:14 +01:00
jos
ddb8fc4374
Released v3.9.0
2017-01-23 20:47:52 +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
Adam Kelly
4608afecc6
Change from multiply to multiplyScalar with kron
2017-01-22 18:46:11 +00: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
jos
e6a658dd35
Improved examples of simplify
2017-01-22 15:39:25 +01:00
ericman314
aab56c8094
Fixed derivative of exp(x)
2017-01-22 07:35:22 -07:00
jos
99aa855a01
Fixed a few examples in docs
2017-01-22 15:33:12 +01: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
08ed2b4160
Updated docs
2017-01-21 20:45:14 +01:00
jos
91dc47c763
Made ES5 complient again
2017-01-21 20:38:36 +01:00
jos
5c5b83988e
Updaed docs of Node.simplify
2017-01-21 20:35:20 +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
Adam Kelly
b564c20f19
Add Support for Complex Numbers in kron
2017-01-20 22:51:01 +00:00
jos
71ae3ea076
Consistent API for both derivative and simplify (dropped transform)
2017-01-20 21:43:40 +01:00
Jos de Jong
3ac0d461d2
Merge pull request #773 from adamisntdead/master
...
Add Kronecker Product (Direct / Tensor Product)
2017-01-20 20:19:40 +01:00
Adam Kelly
44515ba7ed
Add support for 1D Vectors in math.kron
2017-01-20 18:09:42 +00:00
jos
1583b455ca
Merge branch 'develop' into algebraic_differentiation
2017-01-20 11:18:05 +01:00
Adam Kelly
6e63a112a2
Add Kronecker Product (Direct / Tensor Product)
...
Adds Kronecker Product as math.kron(x, y);
2017-01-17 22:31:42 +00:00
jos
79993ceac7
Fixed #765 : FunctionAssignmentNode.toString() returning a string incompatible with the function assignment syntax
2016-12-18 13:29:21 +01:00
jos
29da2b0418
Released v3.8.1
2016-12-15 21:07:26 +01:00
Jos de Jong
b39612bf14
Merge pull request #763 from ruhleder/feature/median-absolute-deviation
...
Add median absolute deviation
2016-12-10 12:28:45 +01:00