Jos de Jong
cd12316ec8
Merge pull request #679 from woylie/master
...
add pickMultipleRandom function
2016-10-19 21:39:05 +02:00
Mathias Polligkeit
cf857a3a09
some more minor code format changes
2016-10-18 02:02:09 +02:00
Mathias Polligkeit
b5a9695746
code formatting
2016-10-18 01:45:06 +02:00
Mathias Polligkeit
78f0c942bd
clean up distribution.js
2016-10-18 01:43:49 +02:00
Mathias Polligkeit
f81abbab25
add type validation
2016-10-18 01:43:19 +02:00
Mathias Polligkeit
239cabec37
Revert "add an intermediary typed function that will fail a test"
...
This reverts commit fc2b730e044d3ec5a93c010d789eac47768fccc2.
2016-10-18 01:27:18 +02:00
Mathias Polligkeit
94d102e758
Revert "add randomHelper function for duplicate logic of random/randomInt; fails"
...
This reverts commit c464010234c73144df142cdb6fb7d32d0533bdf3.
2016-10-18 01:27:13 +02:00
Mathias Polligkeit
bfcfeafd2e
Revert "refactor distribution.js"
...
This reverts commit ed0df31293f92171c44d06d5bdc04d408b967402.
2016-10-18 01:25:08 +02:00
Pat Grasso
30ae9c071f
Change dimensionality of vector returned by cross()
...
If one of the input vectors/matrices has a dimension greater than 1, the
output vector will be a 1x3 matrix. Otherwise, the result will be a flat
3-component vector. Closes #716
2016-10-12 01:20:59 -04:00
patgrasso
a7f5bb27ef
Extend cross() to support n-d vectors. Closes #716
...
Squeeze arrays before attempting to cross them so that n-dimensional
vectors can be cross multiplied (as long as only one direction has a
series of 3 elements)
2016-09-25 21:22:40 -04:00
jos
924694eeda
Improved docs on transpose function (see #706 )
2016-09-20 21:07:23 +02:00
jos
c2d39cc0f6
Remove some commented console logs (see #709 )
2016-09-12 20:11:48 +02:00
Thomas Brierley
0d1b3f0f6d
Fix print options argument type
...
Add missing 'Object' type definition to third paramater. Fixes #700
2016-08-12 16:40:00 +01:00
jos
9c6069b3cf
Fixed broken bundle files (dist/math.js, dist/math.min.js)
2016-08-08 20:16:16 +02:00
Mathias Polligkeit
ed0df31293
refactor distribution.js
2016-08-02 02:43:51 +02:00
Mathias Polligkeit
c464010234
add randomHelper function for duplicate logic of random/randomInt; fails
2016-08-02 01:16:04 +02:00
Mathias Polligkeit
fc2b730e04
add an intermediary typed function that will fail a test
2016-08-01 23:54:53 +02:00
Jos de Jong
ff53b04dca
Merge pull request #697 from MathBunny/master
...
Fix bignumber isPrime implementation to use bignumber methods
2016-08-01 21:10:41 +02:00
Mathias Polligkeit
2a98231966
add default max value if undefined in randomInt
2016-07-30 20:13:06 +02:00
Mathias Polligkeit
21570cda0b
turn randomInt into a typed function
2016-07-30 18:53:06 +02:00
MathBunny
5a8b53f8eb
Remove useless import
2016-07-29 12:13:13 -04:00
MathBunny
a1484394e1
Fix BigNumber isPrime implementation to use BigNumber methods
2016-07-29 08:07:08 -04:00
jos
ba2f3e5cb4
Updated history, added docs for expression parser
2016-07-25 22:49:24 +02:00
MathBunny
160b8b7d1f
Add tests for isPrime
2016-07-21 20:24:59 -04:00
MathBunny
625ef5b9dc
Add isPrime function
2016-07-21 19:48:41 -04:00
Mathias Polligkeit
832f280196
rewrite pickRandom as typed function
2016-07-18 02:17:27 +02:00
Mathias Polligkeit
fe972bacf6
extend pickRandom function to allow multiple picks and weighted distribution, remove pickMultipleRandom
2016-07-16 17:55:38 +02:00
Mathias Polligkeit
c5e40b40ef
add pickMultipleRandom function
2016-06-30 02:19:09 +02:00
Max Bruckner
c1760298fb
New function 'isNaN'
2016-06-20 20:24:26 +02:00
jos
b016385fe0
Fixed #665 : functions map, forEach, and filter now invoke callbacks which are a typed-function with the correct number of arguments
2016-05-18 22:10:34 +02:00
jos
b2066e53f6
Replaced toTex definitions using the default toTex template with "undefined" and a comment (see #636 )
2016-04-15 11:00:03 +02:00
jos
8068f4afa8
Fixed #636 : More strict toTex templates, reckon with number of arguments
2016-04-11 21:31:15 +02:00
jos
b60fa54d43
Fixed #645 : Added documentation about engineering notation of function math.format
2016-04-11 20:28:47 +02:00
jos
2127047948
Extended callback example of math.format (see #628 )
2016-04-05 09:23:26 +02:00
jos
bfc60ec199
Improved docs on math.format
2016-04-03 19:41:31 +02:00
jos
bbfa7d51df
Fixed #484 , #555 : inaccuracy of math.sinh. Also using ES6 Math functions when available
2016-04-03 13:47:57 +02:00
jos
f47b22cde5
Released v3.1.3 (fixed broken bundle)
2016-03-24 22:31:11 +01:00
jos
b3c1d63133
Throw an error when functions min, max, mean, or median are invoked with multiple matrices as arguments (see #598 )
2016-03-24 21:22:33 +01:00
jos
ab454c0750
Fixed #623 : nthRoot of zero with a negative root returned 0 instead of Infinity
2016-03-24 20:25:14 +01:00
jos
15aca5e4d0
Changed casing of the values of config options number and matrix to match the actual name of the classes.
2016-03-04 19:41:54 +01:00
jos
f4b794100e
Replaced tabs with spaces
2016-03-03 20:29:08 +01:00
jos
126622337d
Renamed section 'units' to 'unit'
2016-03-03 20:21:08 +01:00
jos
e2a3878ba9
Moved functions format and print to section string
2016-03-03 20:17:41 +01:00
jos
41949b2253
Fixed IndexError not always providing a max property
2016-02-29 20:41:52 +01:00
jos
a1d91e0f84
Implemented nearly equal comparison for relational functions (equal, larger, smaller, etc.) when using BigNumbers
2016-02-28 14:03:40 +01:00
jos
0922121e82
Added core functions config, import, and typed to the docs. Updated other docs
2016-02-27 20:37:26 +01:00
jos
12eee9e856
Moved filter, forEach, map, partitionSelect, sort from utils to matrix section
2016-02-27 20:00:42 +01:00
jos
499830c307
Fixed #88 : typo in the docs of eye
2016-02-27 19:47:23 +01:00
jos
fb141fb885
Merge branch 'decimal_v5' into develop
...
Conflicts:
HISTORY.md
test/function/trigonometry/cot.test.js
2016-02-27 11:39:56 +01:00
jos
e0c82f1b01
Removed a few redundant clone operations
2016-02-26 21:08:37 +01:00