454 Commits

Author SHA1 Message Date
jos
1204259209 Refactored Complex and Unit into factory functions 2015-04-28 22:04:42 +02:00
jos
de7f84ad3a Name for a factory is now optional. All transform functions do no longer export something to the math namespace 2015-04-28 20:49:35 +02:00
jos
106c5969de Refactored Help into a factory function 2015-04-28 20:37:14 +02:00
jos
e9e87cd938 Refactored ones and zeros to typed-functions. Created an index.js file for all matrix functions. 2015-04-28 20:14:08 +02:00
jos
6caef99cbf Changed the factory of function resize. Not yet rewritten to typed-function 2015-04-27 20:53:55 +02:00
jos
444dc1c521 Created an index file for all transforms and for units 2015-04-27 20:20:33 +02:00
jos
811508906c Refactored functions range, subset, concat.transform, map.transform, max.transform, mean.transform, min.transform, range.transform, subset.transform to typed-functions 2015-04-27 19:11:21 +02:00
jos
84512de60b Added a few more index.js files. Removed caching mechanism for function transforms (will be improved upon later again) 2015-04-27 14:54:03 +02:00
Max Bruckner
8d1d20ba2e Merge branch 'develop' into v2 2015-04-27 09:14:50 +02:00
jos
7a37c777e4 Created index.js files for most groups of functions so you can import a all functions with a single action 2015-04-26 20:28:47 +02:00
Max Bruckner
637d728f59 zeros: fix typo in error message (eye --> zeros) 2015-04-25 21:25:46 +02: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
952ec790cf Refactored concat and flatten to typed-functions 2015-04-22 22:13:04 +02: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
Rogelio J. Baucells
9ffacdd2ec Merge branch 'v2' of https://github.com/josdejong/mathjs into josdejong-v2
Conflicts:
	test/type/matrix/CcsMatrix.test.js
	test/type/matrix/DenseMatrix.test.js
2015-04-22 12:48:42 -04:00
Rogelio J. Baucells
ae0b2cf4e9 trace() refactoring 2015-04-22 12:41:02 -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
c5007d4bf2 Refactored cross, dot, size, squeeze to typed-functions 2015-04-20 21:28:17 +02:00
jos
0712f083a2 Moved registry of matrix implementations from index to the implementations itself 2015-04-15 21:41:11 +02:00
jos
1d5a972a58 Refactored combinations, factorial, gamma, permutations, pickRandom, random, randomInt to typed-functions 2015-04-15 21:30:32 +02:00
Nick Foti
020a47c938 Corrected gamma documentation to allow argument to be real or complex. 2015-04-14 14:40:43 -07:00
jos
e1fa9c8603 Refactored eval, help, and parse to typed-functions 2015-04-14 21:37:41 +02:00
jos
3f0ef4f062 Refactored and, not, or, xor to typed-functions 2015-04-14 21:10:55 +02:00
jos
989fcc154b Refactored bitNot, bitOr, bitXor, leftShift, rightArithShift, rightLogShift to typed-functions. 2015-04-13 21:32:48 +02:00
jos
567a212833 Merge remote-tracking branch 'origin/v2' into v2 2015-04-13 09:52:11 +02:00
rjbaucells
3cce748166 lusolve() function 2015-04-12 23:55:17 -04:00
rjbaucells
440c95b686 lup() function 2015-04-12 22:37:45 -04:00
Rogelio J. Baucells
cb1af441ed lusolve() 2015-04-09 16:38:00 -04:00
rjbaucells
ccaaaedbb9 lusolve() - ccs 2015-04-08 23:48:19 -04:00
Rogelio J. Baucells
cf03b03578 lusolve() - partial 2015-04-08 18:00:42 -04:00
rjbaucells
cdcbc6f054 lusolve - partial 2015-04-08 08:54:30 -04: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
rjbaucells
2d4236b460 Vector - partial 2015-04-08 00:02:29 -04:00
rjbaucells
e7d3d7f660 lusolve() 2015-04-07 20:27:28 -04:00
Rogelio J. Baucells
2772ad474a lup() for CRS & arrays 2015-04-07 17:13:19 -04:00
jos
f773df0fc6 Fixed #317 (formatting negative values), fixed #316 (round-off errors in formatting values) 2015-04-06 21:08:21 +02:00
Rogelio J. Baucells
ce1c893794 algebra lup() implementation 2015-04-02 12:48:13 -04:00
Rogelio J. Baucells
4e7d9e5e5b math.diag() 2015-04-01 11:06:40 -04:00
rjbaucells
f829187794 math.diag() partial 2015-04-01 00:59:31 -04:00
rjbaucells
e5e38b04e5 sparse matrix optimizations 2015-04-01 00:58:07 -04:00
Rogelio J. Baucells
f7b298cee1 math.eye() 2015-03-31 17:38:19 -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
1990edc90f Added docs and and example on sparse matrices 2015-03-28 15:55:59 +01:00
jos
466c6a03e8 Added support for booleans and null in function import 2015-03-26 21:46:57 +01:00