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
eff330d635
Fixed a bug in an internal method used for sparse matrices, see #536 . Still needs extra unit tests to verify the behavior
2016-01-08 19:58:26 +01:00
Eric
a14b8b7a68
Added VA, VAR, and custom logic to convert between them.
2015-12-24 05:45:13 +00: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
5fd0a5e70b
Fixed: removed memoization from gamma and factorial functions, this could blow up memory.
2015-10-29 19:22:28 +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
b1864388c7
Fixed #480 : nthRoot not working on Internet Explorer (up to IE 11)
2015-10-12 08:24:59 +02:00
Kunal Vyas
f91412aebf
Removed unexpected strings from file
2015-10-04 09:42:19 -04: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
faa3087d92
Added a few todo's
2015-09-16 22:50:00 +02:00
jos
e42874c353
Added a few more examples
2015-09-16 22:41:27 +02:00
jos
4d18dcb3e4
Implemented function cbrt for numbers, BigNumbers, and complex numbers
2015-09-16 22:37:06 +02:00
jos
765ac04eee
Removed wrong and redundant import from distance
2015-09-13 21:00:05 +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
Jos de Jong
bef6d2353d
Merge pull request #460 from infusion/develop
...
Fraction.js improvements
2015-09-09 13:45:38 +02:00
Robert Eisele
2f1e123e5e
Fixed lcm(0,0) for fractions
2015-09-09 10:47:17 +02:00
Kunal Vyas
ec170d7c59
Merge remote-tracking branch 'josdejong/develop'
2015-09-07 20:29:43 -04:00
Rogelio J. Baucells
06c0515d4a
Merge pull request #461 from rjbaucells/develop
...
Sparse Matrix non sorted index issue #452
2015-09-07 13:02:14 -04:00
Robert Eisele
917d82c6fd
Readded sign check
2015-09-06 18:10:33 +02:00
Robert Eisele
fd2e333151
Simplified neg check for fractions
2015-09-06 12:38:46 +02:00
Robert Eisele
ff2bb51855
Implemented lcm for fractions
2015-09-06 12:38:00 +02:00
Robert Eisele
ac008b7623
Fraction cloning is not needed
2015-09-06 12:18:53 +02:00
Robert Eisele
ce0c9dcb9a
Simplified fraction unary minus
2015-09-06 12:18:19 +02:00
Kunal Vyas
f5ec40138f
Added 3D for distance
2015-09-04 15:41:48 -04:00
Kunal Vyas
99730e0a57
Added 3D function to distance
2015-09-04 15:40:45 -04:00
Rogelio J. Baucells
b30030b8a9
solver issue with non sorted index
2015-09-03 20:22:46 -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 Mansfield
94a7d8c4e9
Merge pull request #438 from ericman314/unit-prefix-powers
...
Unit prefix powers
2015-08-25 13:50:32 -06:00
jos
42f15d049e
Fixed a typo in the docs
2015-08-25 13:45:34 +02:00
Eric
55d3842d60
Fixed tabs
2015-08-25 03:24:40 +00: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
b7206b1c7f
Added some more missing docs
2015-08-11 21:07:38 +02: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