212 Commits

Author SHA1 Message Date
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
rjbaucells
cf5c405381 formatting fixes 2014-04-13 23:41:07 -04:00
rjbaucells
902c4ac163 unit tests and documentation 2014-04-13 23:30:57 -04:00
rjbaucells
7f2585f1a6 unit tests 2014-04-13 22:19:32 -04:00
rjbaucells
1c6dfac04d norm tests and documentation 2014-04-12 12:38:24 -04:00
Rogelio J. Baucells
ac365c7a9c Initial norm() implementation 2014-04-11 17:45:21 -04:00
josdejong
fdc7c8db03 Fixed some errors after solving merge conflicts 2014-04-11 22:18:40 +02:00
josdejong
f0035e8c41 Merge branch 'master' into develop
Conflicts:
	lib/function/arithmetic/compare.js
	lib/function/arithmetic/equal.js
	lib/function/arithmetic/larger.js
	lib/function/arithmetic/largereq.js
	lib/function/arithmetic/smaller.js
	lib/function/arithmetic/smallereq.js
	lib/function/arithmetic/unequal.js
	lib/math.js
	lib/util/number.js
	test/math.test.js
2014-04-11 22:15:31 +02:00
Rogelio J. Baucells
ed5ab3f629 Formatting fixes 2014-04-11 15:55:29 -04:00
Rogelio J. Baucells
24be94a680 Floating point numbers equality/inequality
implemented compare, larger, largereq smaller and smallereq functions
2014-04-11 14:28:05 -04: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
rjbaucells
2778ae935a Floating point numbers equality/inequality 2014-04-10 21:27:44 -04:00
Rogelio J. Baucells
9204e0e6aa Floating point numbers equality 2014-04-10 15:48:14 -04:00
rjbaucells
a6bfaf8d3a Floating point numbers equality 2014-04-10 00:38:26 -04:00
rjbaucells
eebd866e1d Floating point numbers equality
first implementation
2014-04-10 00:23:05 -04:00
rjbaucells
743c36acbd Floating point numbers equality 2014-04-10 00:00:43 -04:00
josdejong
730782ec21 Merge branch 'develop' into reference
Conflicts:
	lib/function/arithmetic/exp.js
2014-04-09 16:07:49 +02:00
josdejong
b7d016b626 Added bignumber support for improved function det. 2014-04-09 08:28:37 +02:00
josdejong
27df7e0660 Fixed merge conflicts 2014-04-09 08:14:02 +02:00
Bryan Cuccioli
8692d7ffa1 Implement poly-time determinant without divisions.
This is based on the paper 'A Simple Division-Free Algorithm for
Computing Determinants' (Bird 2011).
2014-04-07 07:10:06 +00:00
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +02:00