1080 Commits

Author SHA1 Message Date
Jos de Jong
02a2bbe9fb Merge pull request #515 from ericman314/complex-units
Added support for complex units
2015-12-24 16:11:15 +01:00
Eric
a14b8b7a68 Added VA, VAR, and custom logic to convert between them. 2015-12-24 05:45:13 +00:00
David Simons
cca8cd82bd Add hertz (without changes to diff) 2015-12-03 20:43:57 +00:00
David Simons
12dc0c2f62 Revert "Add Hertz unit"
This reverts commit d2ad436c83294ee56a0e0cac7e68d1f74d864d3b.
2015-12-03 20:42:06 +00:00
David Simons
d2ad436c83 Add Hertz unit 2015-12-03 20:38:56 +00:00
jos
9ffab397b6 Fixed #485: Scoping issue with variables both used globally as well as in a function definition 2015-11-28 21:20:25 +01:00
Eric
34f991949d Added support for complex units 2015-11-28 20:09:22 +00:00
jos
d10309cf73 Moved all aliases into the map ALIASES 2015-11-28 15:10:24 +01: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
5adbe0a055 Extended Unit with support for all numeric types (Fraction, BigNumber) 2015-11-27 22:45:27 +01:00
jos
fa86d87e44 Fixed function number not supporting Fraction input 2015-11-27 21:44:07 +01:00
jos
4b08522d44 Fixed nthRoot(-2, 3) for bignumbers (see #496) 2015-10-29 19:04:37 +01:00
jos
085f55831f Merge remote-tracking branch 'origin/develop' into develop 2015-10-29 09:05:04 +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
d2268c31f9 Fixed: function import did not override typed functions when the option override was set true 2015-10-28 20:53:23 +01: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
Ben Nelson
1a9f7bf2bc Fix a small bug with new types.SparseMatrix() 2015-10-25 14:40:48 -04: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
jos
d9f237d29b Added support in the expression parser for mathematical alphanumeric symbols (see #265) 2015-09-25 20:47:38 +02: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
jos
0dfc8d1d3e Fixed inconsistent parsing of implicit multiplication (see #322) 2015-09-13 21:40:14 +02:00
jos
efcd0cc1fe Fixed #463: inconsistent handling of implicit multiplication 2015-09-13 21:13:35 +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
Robert Eisele
93c4dd91d1 Added more test cases for fraction.lcm 2015-09-08 09:54:34 +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
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
Rogelio J. Baucells
9e47b8a316 Sparse Matrix non sorted index issue
Fixed issue #450
2015-09-03 19:45:48 -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
Eric
512de0d04c Fixed tabs 2015-08-28 03:51:09 +00:00
Eric
bd0672b92a Merge branch 'develop' of https://github.com/josdejong/mathjs into develop
Conflicts:
	lib/type/unit/Unit.js
2015-08-28 03:49:22 +00:00
Eric
e01bbcf987 Bug fix: Unit.to now flags unit lists as simplified 2015-08-28 03:46:03 +00:00
Rogelio J. Baucells
06c3cd31b5 Issue #437 fix 2015-08-27 21:07:13 -04:00
Eric
687a40c77b Added helper function fixedUnit to physicalConstants.js 2015-08-25 19:46:57 +00:00
Eric
55d3842d60 Fixed tabs 2015-08-25 03:24:40 +00:00
Eric
ce213ca467 Created _fix and _unfix helper functions
Physical constants have fixed prefix
Updated unit tests
2015-08-25 03:18:27 +00:00
Eric
2968f2b4ff Almost done with unit prefix powers 2015-08-23 21:00:52 +00:00