526 Commits

Author SHA1 Message Date
rjbaucells
69b44f52e6 Typed SparseMatrix 2015-04-27 20:57:37 -04:00
Rogelio J. Baucells
d535bc9aaf SparseMatrix pattern 2015-04-27 16:58:47 -04:00
Rogelio J. Baucells
4347a3d16f sparse arithmetic updates 2015-04-27 12:03:59 -04:00
Rogelio J. Baucells
90be2957aa add() - partial 2015-04-26 00:01:31 -04:00
Rogelio J. Baucells
748fe0d0fb CcsMatrix refactoring 2015-04-24 11:13:17 -04:00
rjbaucells
3abb15d375 test comments 2015-04-22 20:23:23 -04:00
rjbaucells
0a7fe85e01 multiply() tests 2015-04-22 20:06:45 -04:00
rjbaucells
319a4975a9 Revert "multiply() tests"
This reverts commit 961a15ae778829bf176e1c80e02b22831ec7a7e5.
2015-04-22 20:04:12 -04:00
rjbaucells
961a15ae77 multiply() tests 2015-04-22 20:04:02 -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
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
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
9c606c044f latex.toSymbol: get rid of unnecessary curly braces and wire up units 2015-04-19 09:56:40 +02:00
Max Bruckner
ee4486c3df SymbolNode.toTex: Prevent symbols from breaking operators
If a symbol comes after an operator like '\cdot', there needs to be a
space in between, otherwise the cdot won't get recognized by the LaTeX
parser.
2015-04-19 09:49:10 +02:00
Max Bruckner
55a66aeaaf OperatorNode.toTex: get rid of unnecessary curly braces 2015-04-19 09:49:09 +02:00
Max Bruckner
f2bcfed89f LaTeX: no spaces between operands and operators 2015-04-17 14:18:24 +02:00
jos
1d5a972a58 Refactored combinations, factorial, gamma, permutations, pickRandom, random, randomInt to typed-functions 2015-04-15 21:30:32 +02: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
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
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
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
rjbaucells
3cce748166 lusolve() function 2015-04-12 23:55:17 -04:00
rjbaucells
440c95b686 lup() function 2015-04-12 22:37:45 -04:00
Max Bruckner
240eeecccd lib/util: Move over from callbacks to templates 2015-04-12 23:44:26 +02: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
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
Rogelio J. Baucells
337c17d257 lup() - partial 2015-04-06 17:58:05 -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
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
0868987cdf util/latex: use ":=" for assignments and '=' 'equal' 2015-04-05 14:29:14 +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
314b705ef6 lup() - partial 2015-04-04 13:15:09 -04:00