23 Commits

Author SHA1 Message Date
jos
b0ec2d4739 Fixed undefined variables/globals 2018-06-13 18:09:19 +02:00
jos
0583771e4e Cleanup unused variables and imports 2018-06-13 17:25:51 +02:00
jos
b6b36bfd9b Use strict equality checks everywhere (=== and !==) 2018-06-13 15:02:21 +02:00
jos
b3b96749bf Refactored var into const/let, and removed a lot of semicolons 2018-06-13 12:21:14 +02:00
jos
c2777c856b Fixed linting issues "Unexpected template string expression" 2018-06-12 21:18:45 +02:00
jos
024b2a9e26 Fix most lint errors using npx standard --fix 2018-06-10 20:28:27 +02:00
jos
35329d7db4 Move lib to src 2018-06-06 14:37:39 +02:00
Sebastien Piquemal
aa0249d458 fixed npm install, changed src to lib 2013-08-14 15:00:12 +04:00
josdejong
4b20d7cb88 Directly export prototypes as module.exports 2013-08-07 14:22:44 +02:00
josdejong
283e76e4e9 Packed all functions in a closure (makes them environment independent) 2013-08-07 14:12:07 +02:00
josdejong
fe06d514e0 Created shared module math.js for all functions (resolves circular references) 2013-08-06 21:50:15 +02:00
josdejong
8cc9ceb980 Changed all source files into node.js modules 2013-08-05 23:05:23 +02:00
josdejong
6a6b5c3e61 Replaced all x instanceof Array with Array.isArray(x) 2013-08-04 14:30:38 +02:00
josdejong
19b507b9f0 Refactored all code to 2 space indentation 2013-08-04 14:07:47 +02:00
josdejong
504b1fa9a1 Functions size and squeeze now return a Matrix instead of an Array as output on Matrix input 2013-07-03 14:47:40 +02:00
josdejong
7d5982035b Updated documentation of all methods. Changed cube and square to evaluate matrices element wise. 2013-04-20 14:04:34 +02:00
josdejong
50276ee814 Removed the build-in parser documentation from the core library. 2013-04-11 19:52:18 +02:00
josdejong
fbdac7cfed Implemented matrix support for methods max and min 2013-04-05 21:18:42 +02:00
josdejong
04f51c5beb Implemented Matrix support for all methods 2013-04-01 15:30:25 +02:00
josdejong
0c41367b6f Implemented fallback to primitive value of objects for all methods 2013-03-19 20:25:06 +01:00
josdejong
91e520dfb4 Implemented Array support for methods with one parameter 2013-03-09 20:55:03 +01:00
josdejong
61b2a45a9a Added check for correct argument count to all functions 2013-02-23 14:13:17 +01:00
josdejong
55e37b3fc3 Added methods add, divide, larger, multiply, pow, smaller, subtract, unaryminus, max, min. Library is now fully compatible with the standard Math library. 2013-02-18 20:49:01 +01:00