233 Commits

Author SHA1 Message Date
jos
59de16801e Renamed function category "Comparison" with "Relational" 2014-07-20 12:40:34 +02:00
jos
21b34cfa1a Implemented transforms, moved all one-based to zero-based logic for expressions to transforms. 2014-07-19 21:47:15 +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
62a446ab34 Improved index out of range errors. 2014-07-17 21:00:24 +02:00
jos
7836bcb06a Fixed a typo in the comments of format 2014-07-01 14:53:20 +02:00
jos
4645529f40 Removed function ifElse 2014-06-30 14:52:54 +02:00
jos
5e1cfbf545 Implemented implicit multiplication. Fixed a bug with multiplying non-valued temperatures with a number 2014-06-30 13:43:50 +02:00
jos
4719d213de Created docs page with alphabetical function reference 2014-06-23 22:22:42 +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
b2a103a505 Functions equal and unequal support null and undefined now (see #190) 2014-06-17 22:01:15 +02:00
jos
a7151aab1a Whoops removed accidentally pasted code 2014-06-17 21:20:47 +02:00
jos
2a5483dda6 Extended the documentation of function typeof 2014-06-17 21:10:50 +02:00
jos
aa80ae8fc8 Fixed #190: imported, wrapped functions not accepting null and undefined as function arguments. 2014-06-11 20:21:41 +02:00
jos
875fa8e60c Changed behavior of equal and unequal back to element wise, added function deepEqual. 2014-06-09 18:03:54 +02:00
jos
40d66224e8 Moved the comparison functions from section "arithmetic" to a new section "comparison" 2014-06-09 14:21:54 +02:00
jos
ced18ecfca Implemented functions dotEqual and dotUnequal, renamed functions smallereq to smallerEq and largereq to largerEq (all functions are now camelcase) 2014-06-09 14:07:21 +02:00
jos
1691c701dd A few more unit tests added 2014-06-09 11:19:33 +02:00
jos
0ae566db8d Renamed functions edivide, emultiply, and epow to dotdivide, dotmultiply, and dotpow respectively. 2014-06-09 11:09:06 +02:00
jos
490494d8ef Fixed #65: Fixed random functions not accepting Matrix as input, and always returning a Matrix as output 2014-06-08 23:05:38 +02:00
jos
fc6a1c52c3 Fixed random functions returning a Matrix on Array input 2014-06-08 22:55:40 +02:00
jos
64aa6375f5 Moved functions random, randomInt and pickRandom to a separate file 2014-06-08 22:36:23 +02:00
jos
45982fbba0 Removed array/matrix support from function ifElse 2014-06-08 21:22:57 +02:00
jos
3399909318 Implemented unary plus 2014-06-08 20:49:52 +02:00
jos
abf1b02ee9 Renamed function unary to unaryminus. Documented and tested constant phi. 2014-06-08 20:12:07 +02:00
jos
2f467002d8 Upgraded to decimal.js v3.0.0. Fixed #189: not being able to load math.js using require.js. 2014-06-05 21:21:14 +02:00
jos
31aa5655b1 Added a section "Where:" to some of the reference docs 2014-05-22 22:15:40 +02:00
jos
9ebc24662f More reference docs added 2014-05-22 21:17:53 +02:00
jos
830367a494 More docs added 2014-05-18 22:21:00 +02:00
jos
7dbba81eca Output of matrix multiplication is now consistently squeezed 2014-05-18 15:14:09 +02:00
jos
37f97625c8 Fixed #185: a bug in multiplying two matrices containing vectors (worked fine for arrays) 2014-05-18 14:58:35 +02:00
jos
38066a9335 More docs added 2014-05-17 12:21:31 +02:00
jos
e536410b77 More docs added 2014-05-16 22:24:07 +02:00
jos
2f200d7c60 Fixed a bug in multiplying units without value with a number (like 5 * cm). 2014-05-16 20:10:54 +02:00
jos
6c8104f938 More docs added 2014-05-15 21:43:08 +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
jos
dd7b2e6a74 Minor simplification of function mod 2014-04-24 20:57:11 +02:00
jos
9e0a63386a Fixed #169: Fixed functions log, log10, pow, and sqrt not supporting BigNumbers arguments resulting in complex numbers. 2014-04-24 20:05:52 +02:00
Jos de Jong
12b1d526d2 Merge pull request #166 from rjbaucells/develop
trigonometry hyperbolic functions
2014-04-19 20:44:55 +02:00
Rogelio J. Baucells
2b71d880a4 trigonometry hyperbolic functions 2014-04-18 19:01:00 -04:00
Jos de Jong
b3f898cd25 Merge pull request #165 from rjbaucells/develop
Fixed norm of vector bug when p is equal to zero
2014-04-17 10:48:51 +02:00
Rogelio J. Baucells
4b375d35a3 Fixed norm of vector bug when p is equal to zero 2014-04-16 17:56:01 -04:00
jos
6d4a997ef4 Fixed comparison functions not applying option epsilon 2014-04-16 10:13:11 +02:00
jos
d369733d09 Documented complex polar coordinates 2014-04-16 09:55:55 +02:00
jos
e5cddb66ed Merge remote-tracking branch 'origin/develop' into develop 2014-04-16 09:29:02 +02:00
jos
3e62516909 Documented new option epsilon for comparison. Changed default value to 1e-14 2014-04-16 09:28:03 +02:00
Rogelio J. Baucells
ccc739c238 updated norm() to latest branch code 2014-04-14 17:45:43 -04:00
Rogelio J. Baucells
05902e00ff Merge pull request #2 from josdejong/develop
sync
2014-04-14 17:40:43 -04:00