110 Commits

Author SHA1 Message Date
john marinelli
60db5423ce remove only from format test 2015-12-25 00:58:12 -08:00
john marinelli
4fa19f3adc made algorithm clearer 2015-12-23 12:20:22 -08:00
john marinelli
86ce0de7ed remove describe.only from test file 2015-12-20 16:39:20 -08:00
john marinelli
47c152d4a3 all tests run 2015-12-20 16:30:18 -08:00
john marinelli
ce1f5c7c60 integers 2015-12-20 16:01:19 -08:00
john marinelli
37361b900e write tests 2015-12-18 20:23:10 -08:00
john marinelli
2e1bbd14e5 initial commit 2015-12-18 18:57:27 -08:00
jos
c1a279c293 Added unit test for math.clone(Fraction) 2015-07-18 09:56:04 +02:00
jos
955dd2c392 Implemented util function isNegative 2015-06-07 22:10:45 +02:00
jos
4bc087fa35 Implemented function isPositive and some refinements 2015-06-07 22:06:03 +02:00
jos
4d37ca2364 Removed support for complex, unit, and string from isInteger, and removed support for string from isZero 2015-06-07 21:43:55 +02:00
jos
eab7b7fdd5 Implemented util function isNumeric 2015-06-07 21:35:05 +02:00
jos
5589527f24 Implemented util function isZero 2015-06-07 21:25:53 +02:00
jos
e249b17c61 Implemented util function isInteger 2015-06-07 21:16:50 +02:00
jos
b7b4669935 Conversions after merging develop into v2 2015-06-07 15:57:58 +02:00
jos
a92b978036 Merged develop into v2 2015-06-07 15:57:41 +02:00
jos
3a1dea00b0 Function typeof no longer returns lower case names, but now returns lower case names for primitives (like number, boolean, string), and upper-camel-case for non-primitives (like Array, Complex, Function). 2015-05-22 21:05:35 +02:00
Favian Contreras
9df7ee1701 Implemented a partition-based selection function, which uses the quickselect algorithm. Tests as well. 2015-05-15 02:37:13 -07:00
jos
7e3eda8603 Moved all data types and their construction functions into a folder of their own under ./lib/type 2015-05-05 13:51:24 +02:00
jos
052c6109af Moved related functions to ./lib/core 2015-05-05 11:49:39 +02:00
jos
18d9b8942e Dropped support for module names from function import 2015-05-01 23:00:58 +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
dc54b157b0 Removed redundant UnsupportedTypeError 2015-04-28 20:20:48 +02:00
Max Bruckner
e62ab0dae4 Proper toTex for units and symbols.
Symbols now don't use `\mathrm` anymore by default, but units do.
2015-04-27 11:08:31 +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
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
Max Bruckner
8ad525b66e util/latex: get rid of many unnecessary curly braces 2015-04-19 11:08:00 +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
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
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
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
jos
b028c7e7cf Refactored clone, filter, forEach, format, map, print, sort, typeof to typed-function. 2015-03-22 21:07:57 +01:00
Rogelio J. Baucells
2077c39885 Matrix inheritance implementation 2015-03-10 15:28:19 -04:00
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
jos
9193965922 Some more unit tests 2015-02-17 21:18:25 +01:00
jos
3c7c3a2193 Upgraded to decimal.js v4.0.1 2014-12-25 17:47:45 +01:00
jos
8b253f050b Renamed function select to chain 2014-12-25 17:05:29 +01:00
jos
02d4d1d819 Fixed #221: Parameter index in the callbacks of map and forEach are now cloned for every callback 2014-10-13 21:53:55 +02:00
jos
f1313d8be7 Implemented a function filter(x, test) 2014-09-04 20:52:51 +02:00
jos
8f9995cd37 Changed default value of the option wrap of function math.import to false, and fixed a but in math.import 2014-08-16 17:56:13 +02:00
jos
41663147e6 Implemented function sort 2014-08-14 22:24:15 +02:00
jos
da306e26ed Implemented support for null in all functions (see #205) 2014-08-09 16:27:11 +02:00
jos
8a12c8e9bc Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options]) 2014-08-03 21:42:12 +02:00
jos
4645529f40 Removed function ifElse 2014-06-30 14:52:54 +02:00
jos
7d84e4daf0 Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library. 2014-06-20 23:11:14 +02:00
jos
082265a184 Changed the default number of significant digits for BigNumbers from 20 to 64. 2014-06-11 21:56:58 +02:00
jos
aa80ae8fc8 Fixed #190: imported, wrapped functions not accepting null and undefined as function arguments. 2014-06-11 20:21:41 +02:00