47 Commits

Author SHA1 Message Date
jos
fa01e993af Refactored x && x.isMatrix === true into type.isMatrix(x), same with isDenseMatrix and isSparseMatrix 2017-08-12 13:24:39 +02:00
jos
5b49cf8b0a Fixed broken gulp script 2017-06-30 11:36:21 +02:00
jos
6bbff5f54f Improved natural sorting for numeric types, matrix types, and objects 2017-06-30 11:16:42 +02:00
jos
96674094d6 Compare numeric types first by value, then by type 2017-06-30 10:02:26 +02:00
jos
0557e7ae1f Back to compareNatural WIP (see #837) 2017-06-25 21:02:59 +02:00
jos
ae7728a1d4 Renamed compareNatural to deepStrictCompare 2017-06-23 13:50:27 +02:00
jos
033735c5e2 Implemented support for all types in compareNatural 2017-06-23 13:40:38 +02:00
jos
d85f54cf77 Reverted ordering of complex numbers in relational functions. Use natural sort in set functions (See #837) 2017-06-18 21:42:55 +02:00
jos
151bc655d6 Implemented a first version of math.compareNatural 2017-06-18 21:13:31 +02:00
jos
51fdf560bf Updated history 2017-06-05 17:06:48 +02:00
Gulfaraz Yasin
7446181081 clean up 2017-06-05 17:20:28 +05:30
Gulfaraz Yasin
f42f7feffc static implementation of complex comparision 2017-06-05 11:58:27 +05:30
Gulfaraz Yasin
eda65d2228 used different approach for comparing complex numbers - resolves #837 2017-06-04 22:29:55 +05:30
Gulfaraz Yasin
275b09dce8 support to compare complex numbers #837 2017-05-10 19:05:49 +05:30
jos
b2066e53f6 Replaced toTex definitions using the default toTex template with "undefined" and a comment (see #636) 2016-04-15 11:00:03 +02:00
jos
8068f4afa8 Fixed #636: More strict toTex templates, reckon with number of arguments 2016-04-11 21:31:15 +02:00
jos
a1d91e0f84 Implemented nearly equal comparison for relational functions (equal, larger, smaller, etc.) when using BigNumbers 2016-02-28 14:03:40 +01:00
Robert Eisele
fcfd43a218 Added complex.js 2016-01-29 01:56:06 +01:00
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
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
Max Bruckner
d6bd4f97ae Remove LaTeX of relational functions from util/latex.js 2015-06-14 02:23:41 +02:00
jos
d2e8ec06f2 Fixed docgenerator for v2. Updated docs. 2015-06-10 20:50:29 +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
jos
166d3aa0be 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). 2015-05-20 20:49:19 +02:00
jos
a0ad13b9e0 Added support for Fraction in functions compare, equal, larger, largerEq, smaller, smallerEq, unequal. 2015-05-12 13:46:50 +02:00
jos
fca1b8c98c Replaced ugly structure new x.constructor(...) with new type.BigNumber(...) and new type.Complex(...) 2015-05-12 13:29:23 +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
rjbaucells
fa24a92b24 atan2 updates - partial 2015-05-03 23:36:05 -04:00
rjbaucells
ff2ddc51ae unequal updates 2015-05-03 22:43:56 -04:00
rjbaucells
36ffb9444f smallerEq updates 2015-05-03 22:38:08 -04:00
rjbaucells
1d7e9bb374 smaller updates 2015-05-03 22:33:16 -04:00
rjbaucells
5293c22c10 largerEq updates 2015-05-03 22:28:35 -04:00
rjbaucells
5880adfd8c larger updates 2015-05-03 22:23:50 -04:00
rjbaucells
2d8410a5fa equal updates 2015-05-03 19:05:21 -04:00
rjbaucells
71fa09dc66 compare & algorithm05 updates 2015-05-03 17:40:38 -04: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
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
5cab0641e9 Simplified the factory structure a little bit. Reworked reviver and BigNumber to factories 2015-03-26 21:03:55 +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
jos
c3470a2d10 Refactored compare, deepEqual, largerEq, smallerEq, and unequal to typed-functions. 2015-03-08 15:44:39 +01:00
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
jos
1d0ba42381 Refactored larger and equal 2015-02-27 09:21:18 +01:00
jos
04ba7ec8e8 Minor performance improvements in larger, largerEq, smaller, smallerEq 2015-01-29 20:29:50 +01:00
jos
19c2024524 Halfway reworking more functions (lot of stuff is broken at this point) 2015-01-17 21:09:39 +01:00
jos
da306e26ed Implemented support for null in all functions (see #205) 2014-08-09 16:27:11 +02:00
jos
59de16801e Renamed function category "Comparison" with "Relational" 2014-07-20 12:40:34 +02:00