723 Commits

Author SHA1 Message Date
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
jos
667139f439 Fixed a bug in functions sin and cos, which gave wrong results for BigNumber integer values around multiples of tau (i.e. sin(bignumber(7))). 2015-10-09 09:32:05 +02:00
Kunal Vyas
16cf3a6ab5 Merge remote-tracking branch 'josdejong/develop'
Conflicts:
	lib/function/geometry/distance.js
2015-10-04 09:29:41 -04:00
Kunal Vyas
6d5412dbab Using objects for better clarity 2015-10-04 09:21:05 -04:00
Favian Contreras
7bccecb2cf This resolves #444. Updated test cases as well. 2015-09-19 03:15:23 -07:00
jos
54e922d736 Implemented function hypot. 2015-09-17 20:39:29 +02:00
jos
d818e48321 Added support for units to cbrt 2015-09-17 19:48:25 +02:00
jos
a21b4da999 Updated docs an added unit test for returning all cubic roots of a real number. 2015-09-17 09:22:57 +02:00
jos
4d18dcb3e4 Implemented function cbrt for numbers, BigNumbers, and complex numbers 2015-09-16 22:37:06 +02:00
Kunal Vyas
33c967123d more functions for distance
- point to line (2D and 3D)
- pairwise distances (2D and 3D)
- Unit tests
2015-09-09 22:25:31 -04:00
Robert Eisele
2f1e123e5e Fixed lcm(0,0) for fractions 2015-09-09 10:47:17 +02:00
Robert Eisele
93c4dd91d1 Added more test cases for fraction.lcm 2015-09-08 09:54:34 +02:00
Robert Eisele
0a8dbd352e Added lcm fraction tests 2015-09-07 12:36:43 +02:00
Kunal Vyas
99730e0a57 Added 3D function to distance 2015-09-04 15:40:45 -04:00
Devan Patel
d589ce54f9 Adding more unit tests for Distance 2015-08-31 17:56:43 -04:00