102 Commits

Author SHA1 Message Date
jos
b5d3547914 Extended trigo, logical, relational functions with support for Units with BigNumber/Fraction value. (Many failing unit tests!) 2015-11-28 11:35:52 +01:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
57a47b3b5a Moved pure collection functions to lib/util/collection 2015-07-18 12:53:07 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
Max Bruckner
8a96241038 Remove LaTeX of utils functions from util/latex.js 2015-06-14 02:23:41 +02:00
jos
4314827cba Merge remote-tracking branch 'origin/develop' into develop 2015-06-10 20:50:39 +02:00
jos
d2e8ec06f2 Fixed docgenerator for v2. Updated docs. 2015-06-10 20:50:29 +02:00
Liam Newman
c52e243dab Update filter.js
Doc-only.
2015-06-09 11:54:46 -07: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
2d84debd6c Added/updated missing docs 2015-05-31 14:29:42 +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
jos
6c7bf4acf0 Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...). 2015-05-20 21:08:26 +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
b831ad2b72 Added support for fractions to function math.format (including output option fraction='decimal' | 'ratio') 2015-05-12 19:43:11 +02:00
jos
8c032f2593 Replaced all instanceof checks with x && xisMyType === true checks 2015-05-05 15:09:21 +02:00
jos
758107428c Moved collection.js and Matrix.js under ./lib/type/matrix, moved construction functions matrix.js and sparse.js to ./lib/type/matrix/function, and created an index file. 2015-05-05 12:00:07 +02:00
jos
052c6109af Moved related functions to ./lib/core 2015-05-05 11:49:39 +02:00
jos
077890fbb5 Cleaned up redundant function BigNumber.convert 2015-05-01 23:08:30 +02:00
jos
18d9b8942e Dropped support for module names from function import 2015-05-01 23:00:58 +02:00
jos
0ccb0bce4c Refactored Chain, decoupled from import 2015-05-01 16:23:04 +02:00
jos
99e3fd40c4 Introduced event emitter, and events config and import. Renamed loader.js to core.js 2015-05-01 14:03:29 +02:00
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
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
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
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
3f0ef4f062 Refactored and, not, or, xor to typed-functions 2015-04-14 21:10:55 +02: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
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
5cab0641e9 Simplified the factory structure a little bit. Reworked reviver and BigNumber to factories 2015-03-26 21:03:55 +01:00
jos
b028c7e7cf Refactored clone, filter, forEach, format, map, print, sort, typeof to typed-function. 2015-03-22 21:07:57 +01:00
jos
de0f937950 Created a loader and reworked the functions to a new type of factory function 2015-03-18 22:42:54 +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
4bd7dc5633 Implemented toJSON and fromJSON and a reviver for most data types 2015-02-18 20:34:43 +01:00
jos
86bcd55352 Changed the way transforms are registered internally, making Node.compile faster, and enabling lazy-loading constants 2015-01-13 10:48:52 +01:00
jos
8b253f050b Renamed function select to chain 2014-12-25 17:05:29 +01:00
jos
7132a6f3c2 Fixed #221 for one-based implementations of map and forEach 2014-10-14 09:03:04 +02: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