43 Commits

Author SHA1 Message Date
jos
8068f4afa8 Fixed #636: More strict toTex templates, reckon with number of arguments 2016-04-11 21:31:15 +02:00
jos
8158dafd3d Moved the trigonometric functions in util/bignumber.js into separate files 2015-07-18 20:37:32 +02: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
5e4ed8c1c7 Splitted the bignumber bitwise functions into separate files 2015-07-18 12:25:11 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
Max Bruckner
f4f4e3252d Remove LaTeX of bitwise functions from util/latex.js 2015-06-14 02:23:41 +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
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
2d8410a5fa equal updates 2015-05-03 19:05:21 -04:00
rjbaucells
4b8e47fed8 algorithms file split 2015-05-02 11:36:59 -04:00
rjbaucells
21450c6fe2 rightLogShift 2015-05-01 23:57:11 -04:00
rjbaucells
22d3314d2a element wise operations 2015-05-01 23:38:18 -04:00
rjbaucells
e5cb318bc2 element wise operations 2015-05-01 23:09:46 -04:00
rjbaucells
8f5742a27e element wise operations 2015-05-01 20:14:00 -04:00
Rogelio J. Baucells
ca94dc55b1 Algorithm updates 2015-04-30 22:50:08 -04:00
Rogelio J. Baucells
4ab8a7e248 element wise operations 2015-04-30 17:51:04 -04:00
rjbaucells
38386136e1 algorithm updates 2015-04-30 00:49:50 -04:00
rjbaucells
21a5dd34c1 element wise operations 2015-04-30 00:09:30 -04:00
rjbaucells
a6497d1886 element wise operations 2015-04-29 20:37:04 -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
989fcc154b Refactored bitNot, bitOr, bitXor, leftShift, rightArithShift, rightLogShift to typed-functions. 2015-04-13 21:32:48 +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
Rogelio J. Baucells
b4463d9ef3 Initial require() changes 2015-03-04 13:53:32 -05:00
jos
004e80543e Halfway refactoring bitAnd 2015-02-24 20:39:51 +01:00
jos
fe694bfd12 Dropped string support for bitwise operators 2014-12-25 15:07:30 +01:00
jos
5a3e55f39b Added docs on bitwise and logical functions for expression parser 2014-12-23 21:25:34 +01:00
Favian Contreras
6c21826b4b Prohibit usage of integers. 2014-12-16 02:56:15 -08:00
Favian Contreras
b8b7c92ae1 Moved type specific computation outside of the bignumber library, and made more style touchups. 2014-12-15 16:00:28 -08:00
Favian Contreras
f36fbb3968 Added bitwise functions into the bignumber section of mathjs. Made more test cases as well. Shifts are not fully precise, but other bitwise opts are. 2014-12-15 01:02:41 -08:00
Favian Contreras
77001b40c0 Adjusted return types in the comments above the method; Integer isn't a JavaScript type. 2014-12-09 22:27:19 -08:00
Favian Contreras
50702826df Slightly lower the code size for the 2-input gates, to much the flow of the shifts. 2014-12-09 22:11:24 -08:00
Favian Contreras
632eba954a Uncommented bignumber portions, and added bignumber test cases. 2014-12-09 12:53:41 -08:00
Favian Contreras
a37bac1d4b Removed parseInt as it is doesn't work for strings with 'e' in them; using unary plus to convert strings to non-bignumber ints. Also uncommented out the BigNumber sections in preparation for their inclusion. 2014-12-08 10:14:58 -08:00
Favian Contreras
57079969e3 Renamed xor, removed string NaN failure (undefined behavior should be handled by js), and prohibited use of Units. 2014-11-27 06:16:37 -08:00
Favian Contreras
a6fa55122d Finished testing, and renamed some of the ops to avoid any future confusion with boolean ops. 2014-11-26 06:37:27 -08:00
Favian Contreras
3f94a673bd First "fully" tested function! (and.js) 2014-11-26 02:48:10 -08:00
Favian Contreras
1a7d5b1c66 Added shifts, but they are entirely untested. Cleaned up the other bitwise ops, and decided to do nand, nor, etc. after testing. 2014-11-25 11:47:03 -08:00
Favian Contreras
b4fdea0341 Basic functionality for most bitwise functions, but only minor testing. Shifts not done yet. 2014-11-25 02:45:11 -08:00