Mathias Polligkeit
f8cde43e0a
rewrite tests for extended pickRandom function
2016-07-16 15:07:49 +02:00
Mathias Polligkeit
1e50dcf523
new tests for pickRandom to cover multiple picks and weighted distributions
2016-07-06 23:19:27 +02:00
Mathias Polligkeit
bd7f6edc24
remove test file for pickMultipleRandom
2016-07-06 23:18:33 +02:00
Mathias Polligkeit
c5e40b40ef
add pickMultipleRandom function
2016-06-30 02:19:09 +02:00
Eric
d2494408ef
Unitless units are now converted to numeric values when predictable:false
2016-04-19 15:52:25 -06: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
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
Max Bruckner
c72071dfb7
OperatorNode: toTex support for implicit multiplication
...
Use the option `implicit` with the value `hide` to not show the
multiplication sign for implicit multiplication. This is the default.
Use `show` otherwise.
2016-03-19 19:09: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
4ea2542941
Extended math.fraction with support for BigNumber, extended math.bignumber with support for Fraction
2016-03-03 19:24:24 +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
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
4d1cd06285
Implemented new AssignmentNode and everything around it. Changed matrices not to clone elements when getting/setting a subset
2016-02-26 15:30:17 +01:00
jos
94986762fb
Merge branch 'develop' into feature/objectsupport
...
Conflicts:
HISTORY.md
2016-02-24 08:58:01 +01:00
jos
e075ed776e
Refactored all trigonometric functions to using decimal.js. Still awaiting decimal.js v5.0.5 for a bug fix.
2016-02-21 12:55:45 +01:00
jos
73cb353260
Refactored bignumber implementations of acos, acosh, asinh, atan, atan2, atanh, cosh, sinh, tanh, cbrt
2016-02-14 22:23:18 +01:00
jos
c558cf496e
Fixed all broken unit tests
2016-02-14 21:51:37 +01:00
jos
fc5cefde5a
Fixed two unit tests failing on node v0.10 and v0.12
2016-02-13 14:12:12 +01:00
jos
e0bba8ff88
Merge branch 'develop' into complex
...
Conflicts:
lib/core/import.js
2016-02-13 13:52:48 +01:00
Jos de Jong
90c0d7c274
Merge pull request #525 from ericman314/realmode-exponentiation
...
Realmode exponentiation
2016-02-13 13:35:52 +01:00
Eric
d6769b8cd5
Removed 'realmode' config option and replaced with 'predictable'
2016-02-13 04:21:11 +00:00
Robert Eisele
e6d4e40d7c
Changed some tests to match new requirements
2016-02-07 14:57:02 +01:00
jos
86a3af26f3
Merge branch 'develop' into feature/objectsupport
...
Conflicts:
HISTORY.md
2016-02-03 21:17:51 +01:00
jos
ddf212eda3
Added support for doing operations with mixed Fractions and BigNumbers
2016-01-25 21:09:41 +01:00
Keunhong Park
f6d021e2f9
Fix #540 : math.intersect() is numerically unstable
...
This fixes the numerically unstable math.intersect() for the 2
dimensional case by computing whether the determinant is within
config.epsilon instead of a hard equality check.
2016-01-13 23:19:11 -08:00
jos
fad5d8cc07
Merged parseFunctions and parseIndex into parseAccessors. Restricted support for implicit multiplication, execute as accessors instead
2016-01-09 21:11:29 +01:00
jos
3aa38eef62
Fixed #529 : Matrix multiplication no longer squeezes scalar outputs (breaking change)
2016-01-08 21:20:33 +01:00
jos
61f6ab0667
Merge branch 'develop' into feature/objectsupport
...
Conflicts:
HISTORY.md
2016-01-03 19:49:06 +01:00
jos
2adf01e548
Getting/setting object properties working (still needs a refactoring step)
2016-01-02 15:16:12 +01:00
Eric
a5109b7327
Realmode exponentiation with unit tests
2015-12-25 19:58:48 +00:00
Jos de Jong
64cca73b86
Merge pull request #519 from johnmarinelli/issue457
...
Issue457
2015-12-25 10:18:05 +01:00
john marinelli
60db5423ce
remove only from format test
2015-12-25 00:58:12 -08:00
john marinelli
4fa19f3adc
made algorithm clearer
2015-12-23 12:20:22 -08:00
john marinelli
86ce0de7ed
remove describe.only from test file
2015-12-20 16:39:20 -08:00
john marinelli
47c152d4a3
all tests run
2015-12-20 16:30:18 -08:00
john marinelli
ce1f5c7c60
integers
2015-12-20 16:01:19 -08:00
john marinelli
37361b900e
write tests
2015-12-18 20:23:10 -08:00
john marinelli
2e1bbd14e5
initial commit
2015-12-18 18:57:27 -08:00
jos
931736658d
Added support for getting/setting object properties to Index and math.subset
2015-12-04 09:53:35 +01:00
Eric
34f991949d
Added support for complex units
2015-11-28 20:09:22 +00:00
jos
b5d3547914
Extended trigo, logical, relational functions with support for Units with BigNumber/Fraction value. (Many failing unit tests!)
2015-11-28 11:35:52 +01:00
jos
2e1d943595
Extended arithmetic functions with support for Units with BigNumber/Fraction value. (One failing unit test!)
2015-11-28 11:04:36 +01:00
jos
4b08522d44
Fixed nthRoot(-2, 3) for bignumbers (see #496 )
2015-10-29 19:04:37 +01:00
Jos de Jong
73166c98bb
Merge pull request #496 from ericman314/fix-nthroot
...
Replaced nthRoot algorithm with direct calculation
2015-10-29 09:04:42 +01:00
Eric
f3a98f50af
Replaced nthRoot algorithm with direct calculation
2015-10-29 03:49:29 +00:00
jos
f45564afcf
Fixed : #493 : function combinations did not throw an exception for non-integer values of k.
2015-10-28 10:11:27 +01:00