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
ffc5c376c1
Refactored options to changes and made seededRNG private
2017-02-26 22:34:55 -05:00
morsecodist
0502921d7e
Implemented seeded random number generation as config option
2017-02-24 15:20:57 -05:00
morsecodist
3d46e21ee5
Removed old seeded random number generator
2017-02-24 15:18:16 -05:00
Pat Grasso
8e01076ec9
Merge branch 'matrix.reshape' into develop
2017-02-24 10:12:20 -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
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
b283accfa5
Refer to quantileSeq in docs of median
2017-02-20 20:50:37 +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
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
ericman314
aab56c8094
Fixed derivative of exp(x)
2017-01-22 07:35:22 -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
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
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
29da2b0418
Released v3.8.1
2016-12-15 21:07:26 +01:00
Sebastian Ruhleder
fe52d51c0a
Add median absolute deviation
2016-12-08 18:29:11 +01:00
jos
a168041374
Functions add and multiply now accept more than two arguments. See #739 .
2016-11-18 15:06:37 +01:00
jos
f491873452
Merge branch 'develop' into algebraic_differentiation
2016-11-07 20:57:27 +01:00
tetslee
5a75a8c222
Simplify terms and factors seperated by inverse operators.
...
The simplify algorithm now applies rules one at a time.
2016-11-07 11:20:28 +10:30
jos
1ecfdf1a0e
Implemented BigNumber support in function arg()
2016-11-05 19:52:22 +01:00
tetslee
23bf1031eb
Improved constant folding in simplify.
2016-11-04 18:02:42 +10:30
tetslee
67b69b49c5
Improvements to simplify(). Also changes to the way simplify and derivative are used.
2016-11-02 16:26:22 +10:30
tetslee
12cdee2956
Merge branch 'algebraic_differentiation' into derivative
2016-10-25 13:06:37 +10:30
jos
4b458d1779
Removed redundant imports
2016-10-21 17:58:53 +02:00
jos
22508ed8eb
Moved constants in erf to the bottom (doc generator picks the first comment from a function)
2016-10-21 17:57:39 +02:00
Pat Grasso
d2ae67cca3
erf(Infinity) should return 1, not NaN
...
Likewise, erf(-Infinity) should be -1. This is true for any really large
|x|...say, |x| > 2^53.
2016-10-20 15:54:02 -04:00
Pat Grasso
a71cba9a7d
Add TODO comments for future considerations
...
Specifically, implementation of erfi() (complex error function) and
precision when x is a bignumber.
2016-10-20 15:33:10 -04:00
Pat Grasso
57f082f64d
Use internal sign() (Math.sign only in ES2015+)
2016-10-20 15:33:10 -04:00
Pat Grasso
ee41e35b5c
Fix erf(bignumber) -> bignumber to return proper value
...
Note: The precision for the bignumber returned may not be accurate, as
the `erf()` approximation only guarantees precision to a certain degree.
2016-10-20 15:33:10 -04:00
Pat Grasso
80fd73c115
Update submodule index files to include erf
2016-10-20 15:33:09 -04:00
Pat Grasso
6ae793edea
Implement erf(x) using W. J. Cody's approximation
...
Translate the Fortran77 implementation of W. J. Cody's "Rational
Chebyshev Approximations for the Error Function".
Place in new function subdirectory, `function/special`, because this
function doesn't seem to fit into any other category.
2016-10-20 15:33:09 -04:00