61 Commits

Author SHA1 Message Date
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
Max Bruckner
09d1bfac92 Remove LaTeX of arithmetic 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
be98cf613d Updated docs of add to reflect changed behavior for strings 2015-05-20 19:59:43 +02:00
jos
090c9e8ae8 Upgraded to typed-function 0.9.0, resolving nondeterministic ordering of types. Solved performance issues with add, divide, and multiply. 2015-05-17 20:45:32 +02:00
jos
73f2dc2601 Implemented Fraction (using library fraction.js) for add, subtract, multiply, divide. 2015-05-12 11:42:57 +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
4b8e47fed8 algorithms file split 2015-05-02 11:36:59 -04:00
rjbaucells
e5cb318bc2 element wise operations 2015-05-01 23:09:46 -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
66e6daaa70 element wise operations 2015-04-29 21:09:57 -04:00
rjbaucells
a6497d1886 element wise operations 2015-04-29 20:37:04 -04:00
Rogelio J. Baucells
5aff896e00 element wise operations 2015-04-29 17:54:17 -04:00
Rogelio J. Baucells
f99d362589 multiply() - poc 2015-04-27 23:59:10 -04:00
Rogelio J. Baucells
4347a3d16f sparse arithmetic updates 2015-04-27 12:03:59 -04:00
rjbaucells
64e752a69d add() - partial 2015-04-26 23:12:28 -04:00
rjbaucells
ac1975430f add() 2015-04-26 10:37:40 -04:00
Rogelio J. Baucells
90be2957aa add() - partial 2015-04-26 00:01:31 -04:00
Rogelio J. Baucells
30cf49706b add() - partial 2015-04-25 23:37:04 -04: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
8edf472478 Upgraded to typed-function v0.6.1, more functions refactored. 2015-02-07 20:29:32 +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
e11f08ae73 Fixed indentation, improved an error message 2015-01-12 21:39:27 +01:00
jos
6cefd52557 Refactored the first few functions into typed-functions 2015-01-11 15:29:40 +01:00
jos
da306e26ed Implemented support for null in all functions (see #205) 2014-08-09 16:27:11 +02:00
jos
40986a1325 Using strict mode now in all files (added 'use strict'; on top of every file) 2014-07-18 23:19:14 +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
504fef7231 Merge branch 'develop' into reference 2014-05-14 09:12:53 +02:00
jos
5ddc735983 Fixed #177: function add not adding strings and matrices element wise 2014-05-05 09:38:52 +02:00
jos
f6fe12d452 Added more reference docs (not all docs are complete yet) 2014-04-28 22:08:11 +02:00
jos
47ff033538 Merge branch 'develop' into reference 2014-04-25 17:22:40 +02:00
josdejong
97cbb0093f Moved errors to their own namespace and folder 2014-04-11 18:02:29 +02:00
josdejong
922ce679e6 Moved UnsupportedTypeError to the others, and made it independent of the math namespace 2014-04-11 17:44:55 +02:00
josdejong
730782ec21 Merge branch 'develop' into reference
Conflicts:
	lib/function/arithmetic/exp.js
2014-04-09 16:07:49 +02:00
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +02:00
josdejong
ad554ef1f7 Updates and fixes to work with a different BigNumber instance per math.js instance 2014-04-05 22:42:03 +02:00
josdejong
d19e7ea570 Switched to module decimal.js for BigNumber support, instead of bignumber.js. 2014-04-04 21:08:33 +02:00
josdejong
0b52130f06 Merge branch 'develop' into reference
Conflicts:
	gulpfile.js
	lib/function/arithmetic/round.js
	package.json
2014-03-29 22:39:53 +01:00
josdejong
f51f4454f5 More unit tests 2014-03-17 21:29:52 +01:00
josdejong
b37b7fc697 yihaa, the first automatically generated reference docs for functions 2014-02-19 21:56:03 +01:00
josdejong
91dae90e1e Fixed #108: math.js not working in Java's ScriptEngine 2013-12-10 21:34:37 +01:00
josdejong
0210ec0d41 UnsupportedTypeError can now determine the type of values 2013-11-28 17:15:28 +01:00