142 Commits

Author SHA1 Message Date
jos
6e96d5a808 Merge branch 'develop' into v2
Conflicts:
	HISTORY.md
	bower.json
	component.json
	dist/math.js
	dist/math.map
	dist/math.min.js
	lib/function/arithmetic/abs.js
	lib/function/probability/gamma.js
	lib/version.js
	package.json
2015-04-22 21:43:56 +02:00
jos
084c28c3f9 Minor improvement in abs (see #330) 2015-04-22 21:03:11 +02:00
Max Bruckner
7435e91529 Fix Bug #328 abs(0+0i) evaluates to NaN
This is a quick fix. This might need a better solution though (
numerical instabilities still remain ).
2015-04-22 14:36:24 +02:00
Max Bruckner
8ad525b66e util/latex: get rid of many unnecessary curly braces 2015-04-19 11:08:00 +02:00
Max Bruckner
efdc0ac6be latex: remove unnecessary curly braces in static lists 2015-04-19 10:12:38 +02:00
Max Bruckner
55a66aeaaf OperatorNode.toTex: get rid of unnecessary curly braces 2015-04-19 09:49:09 +02:00
jos
349e9845e8 Merge branch 'develop' into v2_merge
Conflicts:
	HISTORY.md
	bower.json
	component.json
	dist/math.js
	dist/math.map
	dist/math.min.js
	docs/reference/units.md
	lib/version.js
	package.json
	test/function/construction/chain.test.js
	test/function/matrix/det.test.js
	test/function/matrix/transpose.test.js
	test/function/utils/import.test.js
2015-04-13 21:42:43 +02:00
jos
567a212833 Merge remote-tracking branch 'origin/v2' into v2 2015-04-13 09:52:11 +02:00
Jos de Jong
bc6f63b6c9 Merge pull request #318 from FSMaxB/latex-restructure
Restructure and complete the LaTeX generator.
2015-04-13 09:39:16 +02:00
Max Bruckner
240eeecccd lib/util: Move over from callbacks to templates 2015-04-12 23:44:26 +02:00
jos
8df0cf50f8 Merge branch 'develop' into v2_merge
Conflicts:
	HISTORY.md
	bower.json
	component.json
	dist/math.js
	dist/math.map
	dist/math.min.js
	lib/function/arithmetic/round.js
	lib/version.js
	package.json
2015-04-08 09:45:11 +02:00
jos
f773df0fc6 Fixed #317 (formatting negative values), fixed #316 (round-off errors in formatting values) 2015-04-06 21:08:21 +02:00
Max Bruckner
9acccce315 util/latex: change comments 2015-04-05 14:29:16 +02:00
Max Bruckner
92c27301ba util/latex: use map of operators in LaTeX conversion of functions 2015-04-05 14:29:16 +02:00
Max Bruckner
6b1d09f2cb util/latex: new toSymbol 2015-04-05 14:29:12 +02:00
Max Bruckner
7adf0ebc53 LaTeX tests for functions 2015-04-05 14:29:10 +02:00
rjbaucells
e5e38b04e5 sparse matrix optimizations 2015-04-01 00:58:07 -04:00
jos
8a68bb56e4 Merged math.js v1.5 into v2. Format support of functions eye and diag still needs to be fixed 2015-03-31 22:07:47 +02:00
Rogelio J. Baucells
6e0d9bbd59 norm() tests 2015-03-23 10:13:03 -04:00
Rogelio J. Baucells
b81187147e Merge pull request #24 from rjbaucells/CCS
Sparse Matrix implementation
2015-03-23 00:30:42 -04:00
jos
d4a457f5c9 Refactored norm, nthRoot, round, diag, transpose to typed-functions. 2015-03-22 15:34:59 +01:00
Rogelio J. Baucells
849386ff24 DenseMatrix multiply(), partial 2015-03-20 17:57:43 -04:00
Rogelio J. Baucells
0d34992080 Merge pull request #23 from josdejong/develop
Sync
2015-03-19 00:06:26 -04:00
Jos de Jong
81e56601d2 Merge branch 'develop' into v2 2015-03-09 20:19:12 +00:00
jos
920da70f2a Refactored functions gcd, lcm, log10, mod, xgcd to typed-functions 2015-03-09 20:10:06 +01:00
jos
132f322598 Refactored fix, floor, sign, square, unaryPlus, arg, conj, im, re to typed-functions. 2015-03-08 20:38:23 +01:00
jos
62e9845008 Refactored ceil, cube, dotDivide, dotMultiply, and dotPow to typed-functions. 2015-03-08 16:01:05 +01:00
jos
3b8eff0a7a Fixed #291: function format sometimes returning exponential notation when it should return a fixed notation. 2015-03-05 20:12:30 +01:00
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
jos
675c1b35aa Merge branch 'develop' into v2
Conflicts:
	HISTORY.md
	lib/function/arithmetic/abs.js
2015-02-28 23:01:20 +01:00
jos
cdd7bb8a83 Updated to typed-function 0.6.2, fixing a couple of bugs. Conversion from BigNumber to Complex added. 2015-02-26 21:51:25 +01:00
rjbaucells
dd039a1609 Fix abs() and norm() of large complex numbers 2015-02-26 00:54:44 -05:00
jos
77fc274496 Refactored log and pow to typed-functions 2015-02-20 21:30:56 +01:00
jos
150add879a Better error message on conversion of number to BigNumber when having more than 15 digits 2015-02-16 09:31:41 +01:00
jos
f532155c7d Refactored multiply to a typed-function 2015-02-07 21:03:26 +01:00
jos
8edf472478 Upgraded to typed-function v0.6.1, more functions refactored. 2015-02-07 20:29:32 +01:00
jos
19c2024524 Halfway reworking more functions (lot of stuff is broken at this point) 2015-01-17 21:09:39 +01:00
jos
6cefd52557 Refactored the first few functions into typed-functions 2015-01-11 15:29:40 +01:00
jos
da03cd5be9 Fixed #238: Unit divided by Number returning zero 2014-11-22 13:54:38 +01:00
jos
a61397cfc6 Fixed #236: BigNumber downgrading to Number for a negative base in pow 2014-11-21 11:16:09 +01:00
jos
bc15efbc68 Fixed #219: implemented function nthRoot 2014-11-09 14:18:30 +01:00
Pavel Panchekha
24cdfb90a7 Added test to test for numerical issues just fixed 2014-08-11 17:34:00 -07:00
jos
da306e26ed Implemented support for null in all functions (see #205) 2014-08-09 16:27:11 +02:00
jos
8a12c8e9bc Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options]) 2014-08-03 21:42:12 +02:00
jos
e5ce909524 Reworked the way matrices are resized when dimensions are added/removed 2014-08-03 15:56:39 +02:00
jos
2edb462615 Fixed function gxcd returning an Array when math.js was configured as {matrix: 'matrix'}. 2014-07-24 22:15:22 +02:00
jos
1eb4b33d93 Implemented BigNumber support for functions gcd, xgcd, and lcm 2014-07-24 22:08:46 +02:00
jos
5e1cfbf545 Implemented implicit multiplication. Fixed a bug with multiplying non-valued temperatures with a number 2014-06-30 13:43:50 +02:00
jos
7d84e4daf0 Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library. 2014-06-20 23:11:14 +02:00
jos
40d66224e8 Moved the comparison functions from section "arithmetic" to a new section "comparison" 2014-06-09 14:21:54 +02:00