133 Commits

Author SHA1 Message Date
rjbaucells
64e752a69d add() - partial 2015-04-26 23:12:28 -04:00
rjbaucells
ac1975430f add() 2015-04-26 10:37:40 -04:00
Rogelio J. Baucells
90be2957aa add() - partial 2015-04-26 00:01:31 -04:00
Rogelio J. Baucells
30cf49706b add() - partial 2015-04-25 23:37:04 -04:00
Rogelio J. Baucells
748fe0d0fb CcsMatrix refactoring 2015-04-24 11:13:17 -04:00
rjbaucells
a2d2e24e76 multiply() refactoring 2015-04-22 19:46:35 -04:00
jos
af5d978de4 Merge remote-tracking branch 'origin/v2' into v2 2015-04-22 21:44:34 +02:00
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
Rogelio J. Baucells
ca9de69251 trace() refactoring 2015-04-22 13:33:45 -04: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
Rogelio J. Baucells
c093c01d99 transpose() refactoring 2015-04-21 14:44:42 -04:00
jos
567a212833 Merge remote-tracking branch 'origin/v2' into v2 2015-04-13 09:52:11 +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
rjbaucells
e5e38b04e5 sparse matrix optimizations 2015-04-01 00:58:07 -04:00
jos
8cfabebdfb Oops. committed missing files 2015-03-31 22:23:32 +02: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
jos
5cab0641e9 Simplified the factory structure a little bit. Reworked reviver and BigNumber to factories 2015-03-26 21:03:55 +01:00
Rogelio J. Baucells
26d97ef36a norm() optimization 2015-03-23 09:24:36 -04:00
rjbaucells
fc8dde607d math.norm() 2015-03-23 00:09:06 -04:00
rjbaucells
b1c0428e8c math.multiply() 2015-03-22 23:34:27 -04:00
rjbaucells
34ac6aef81 math.multiply() partial 2015-03-22 21:35:51 -04:00
jos
b028c7e7cf Refactored clone, filter, forEach, format, map, print, sort, typeof to typed-function. 2015-03-22 21:07:57 +01: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
jos
de0f937950 Created a loader and reworked the functions to a new type of factory function 2015-03-18 22:42:54 +01:00
Rogelio J. Baucells
6df57401a5 collection.deepMap optimizations 2015-03-13 16:10:31 -04:00
Rogelio J. Baucells
2077c39885 Matrix inheritance implementation 2015-03-10 15:28:19 -04: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
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
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
e11f08ae73 Fixed indentation, improved an error message 2015-01-12 21:39:27 +01:00
jos
6cefd52557 Refactored the first few functions into typed-functions 2015-01-11 15:29:40 +01:00
jos
2614ca6203 Added docs for xor, removed docs of _divide 2014-12-25 14:11:15 +01:00
jos
950c27df3e Removed the circular dependency between divide and inv (introduced _divide) 2014-12-24 14:51:45 +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
Andy Pan
fd70cb90e5 fix missing separator in multiply error message 2014-11-16 19:05:57 +08:00
jos
601212c0e9 Fixed a typo in the docs of round 2014-11-11 10:45:24 +01:00
jos
bc15efbc68 Fixed #219: implemented function nthRoot 2014-11-09 14:18:30 +01:00
Pavel Panchekha
2ef53ce069 Changed calculation of math.sqrt to avoid numerical problems when re < 0 2014-08-11 17:34:06 -07:00