691 Commits

Author SHA1 Message Date
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
Devan Patel
eab1d0be48 Adding distance
Adding source + test + docs + fixing index.
2015-08-30 13:05:07 -04:00
Jos de Jong
08ccb24c06 Merge pull request #440 from rjbaucells/develop
Fix for issue #437 (Possible bug in lusolve)
2015-08-28 20:45:49 +02:00
Rogelio J. Baucells
06c3cd31b5 Issue #437 fix 2015-08-27 21:07:13 -04:00
Eric
2968f2b4ff Almost done with unit prefix powers 2015-08-23 21:00:52 +00:00
Eric
03ec30216e Added support for units to abs, cube, sign, sqrt, square
Updated examples, docs, and unit tests
2015-08-21 05:27:54 +00:00
Devan Patel
574cf0b62e Adding support for Catalan Numbers in Combinatorics
Adding combinatorics function catalan + test
2015-08-16 14:23:14 -04:00
jos
a94f0c6c5e Merge branch 'feature-derived-units' of https://github.com/ericman314/mathjs into ericman314-feature-derived-units
Conflicts:
	examples/units.js
2015-08-05 21:04:53 +02:00
Jos de Jong
b11277163d Merge pull request #417 from kv-kunalvyas/master
Added Mode Function
2015-08-05 21:00:26 +02:00
Kunal Vyas
ea2f1343c7 Added Mode Function
- Added the function in mode.js
- wrote the test cases.
2015-08-04 02:32:21 -04:00
Eric
f5d166a809 Made an attempt at derived units with simplification
Updated unit tests
Updated examples
Updated docs
2015-08-04 05:26:00 +00:00
Eric
7ce39f1084 Finished upgrades to unit type. Adjusted several unit tests. 2015-08-01 18:35:46 +00:00
Sergey Romanov
5360549b1f Add additional test 2015-08-01 17:26:05 +05:00
Sergey Romanov
a05cb67f8f check concrete results 2015-08-01 17:22:31 +05:00
Sergey Romanov
e99d7c1a7f Add test for bignumber 2015-08-01 17:18:35 +05:00
Sergey Romanov
87afd45d7f kldivergence.test.js instead entropy.js 2015-07-31 02:35:04 +05:00
Sergey Romanov
27fc2f5b5f remove entropy files 2015-07-31 02:33:14 +05:00
Sergey Romanov
ec3b2e10fe Add Kullback-Leibler divergence 2015-07-29 03:04:01 +05:00
jos
d15751b041 Fixed operations with mixed fractions and numbers be converted to numbers instead of fractions. 2015-07-28 20:48:55 +02:00
Ubuntu
f583855261 First attempt at derived units. Updated unit tests and examples. 2015-07-25 18:48:04 +00:00
jos
2810c18178 Merge branch 'develop' into feature_lazyloading 2015-07-21 21:06:49 +02:00
jos
34348d8483 Merge remote-tracking branch 'origin/v2' into develop 2015-07-21 20:51:39 +02:00
Ganga Christopher
12514a7bc4 calculating root of complex numbers using De Moviers, returns array of n complex roots in polar form 2015-07-21 17:10:49 -07:00
jos
396d951c95 Halfway implementing lazy loading 2015-07-21 20:49:52 +02:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
2d42218c7f Removed isPositiveInteger from util/bignumber.js. Added some unit tests 2015-07-18 11:07:41 +02:00
jos
c1a279c293 Added unit test for math.clone(Fraction) 2015-07-18 09:56:04 +02:00
jos
91b56e117a Added support for strings in function concat 2015-06-17 20:26:44 +02:00
jos
f70dcd5d48 Added one more test 2015-06-17 20:11:03 +02:00
jos
b3c7169493 Fixed #397: Inaccuracies in nthRoot for very large values, and wrong results for very small values. 2015-06-17 20:06:13 +02:00
jos
955dd2c392 Implemented util function isNegative 2015-06-07 22:10:45 +02:00
jos
4bc087fa35 Implemented function isPositive and some refinements 2015-06-07 22:06:03 +02:00
jos
4d37ca2364 Removed support for complex, unit, and string from isInteger, and removed support for string from isZero 2015-06-07 21:43:55 +02:00