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 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
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
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