516 Commits

Author SHA1 Message Date
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
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
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
jos
955eac3505 Function import now returns the imported objects 2015-03-26 21:42:31 +01:00
jos
aa78c292b4 Moved function config into a separate file, moved loading datatypes from loader.js to index.js 2015-03-26 21:20:14 +01:00