1601 Commits

Author SHA1 Message Date
rjbaucells
75594372ed tests 2015-04-26 11:10:09 -04:00
rjbaucells
295b259c61 Merge remote-tracking branch 'origin/sparse-arithmetic' into v2-sparse 2015-04-26 10:38:24 -04:00
rjbaucells
ac1975430f add() 2015-04-26 10:37:40 -04:00
rjbaucells
b17e528b85 cs sparse updates 2015-04-26 09:51:12 -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
Max Bruckner
881ff20097 util/array: make flatten not mutate the input (see #309) 2015-04-26 00:03:36 +02:00
Max Bruckner
637d728f59 zeros: fix typo in error message (eye --> zeros) 2015-04-25 21:25:46 +02:00
rjbaucells
10593e4206 cs sparse updates 2015-04-25 12:10:57 -04:00
Rogelio J. Baucells
f55b13cff1 cs sparse implementations 2015-04-24 17:22:23 -04:00
Rogelio J. Baucells
070000633a renamed sparse related files 2015-04-24 15:01:03 -04:00
Rogelio J. Baucells
81ab7148f5 Merge remote-tracking branch 'origin/v2' into v2-sparse 2015-04-24 14:46:23 -04:00
Rogelio J. Baucells
748fe0d0fb CcsMatrix refactoring 2015-04-24 11:13:17 -04:00
rjbaucells
cbf5df0f70 cs_chol() 2015-04-24 00:07:06 -04:00
Rogelio J. Baucells
4197743500 sparse lu() 2015-04-23 17:39:30 -04:00
Rogelio J. Baucells
9ab61740e7 sparse algorithms 2015-04-22 23:15:04 -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
d77018ad41 Bumped version number to 1.6.1-SNAPSHOT 2015-04-22 21:33:58 +02:00
jos
30ff006b12 Released version 1.6.0 2015-04-22 21:13:53 +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
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
1c73dc1262 ConstantNode.toTex: simplify exponential notatian and add test 2015-04-19 09:49:09 +02:00
Max Bruckner
2cd3da416e UpdateNode.toTex: Fix syntax of assignment and fix test 2015-04-19 09:49:09 +02:00
Max Bruckner
55a66aeaaf OperatorNode.toTex: get rid of unnecessary curly braces 2015-04-19 09:49:09 +02:00
Max Bruckner
753a0e7893 IndexNode.toTex: Bugfix: execute toTex on Range Arguments
Also changes the Layout of the LaTeX output of IndexNode.
2015-04-19 09:49:08 +02:00
Max Bruckner
978bc2bc31 FunctionAssignmentNode.toTex: get rid of unnecessary curly braces 2015-04-19 09:49:08 +02:00
Max Bruckner
816b6314a7 AssignmentNode.toTex: get rid of unnecessary curly braces 2015-04-19 02:13:27 +02:00
Max Bruckner
8db07e23ad OperatorNode.toTex: BUGFIX: make clear where the exponent belongs to
Without proper parentheses it's impossible to decide whether an exponent
belongs to the numerator of a fraction or to the entire fraction.

For ConditionalNode, the exponent is hard to see without parentheses.
2015-04-19 02:11:20 +02:00
Max Bruckner
f2bcfed89f LaTeX: no spaces between operands and operators 2015-04-17 14:18:24 +02:00
jos
c8048dad39 Merge remote-tracking branch 'origin/develop' into develop 2015-04-17 09:44:41 +02:00
jos
fd050ffae6 Fixed not being able to override lazy loaded constants 2015-04-17 09:44:31 +02:00
Max Bruckner
7c1c9c0cef Show less unnecessary parentheses in LaTeX output
OperatorNodes with exponentiation, fractions and conditions use less
parentheses.
2015-04-16 22:31:02 +02:00
Max Bruckner
8747918e1c LaTeX: add additional information about nodes in precedence list
Adds information about the necessity of parentheses for LaTeX output to
the precedence list in lib/expression/operators.js
2015-04-16 22:17:47 +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
Jos de Jong
919f30fab4 Merge pull request #324 from FSMaxB/latex-restructure-bugfix
Fix bug that was introduced by the restructuring of the LaTeX code
2015-04-15 15:35:41 +02:00
Max Bruckner
5780635bb8 util/latex: bugfix: error when handling symbols with indices 2015-04-15 14:03:08 +02:00
Nick Foti
020a47c938 Corrected gamma documentation to allow argument to be real or complex. 2015-04-14 14:40:43 -07:00