187 Commits

Author SHA1 Message Date
Max Bruckner
09d1bfac92 Remove LaTeX of arithmetic functions from util/latex.js 2015-06-14 02:23:41 +02:00
jos
d2e8ec06f2 Fixed docgenerator for v2. Updated docs. 2015-06-10 20:50:29 +02:00
jos
7347591535 Upgraded to fraction.js v2.0.0, added fraction support for pow (integer exponents only) 2015-05-31 12:21:24 +02:00
jos
0eb9b5b119 Implemented a new configuration option predictable, which can be set to true in order to ensure predictable function output types. 2015-05-23 21:00:08 +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
d81fe279cc String input is now converted to numbers by default for all functions. Adding two strings will no longer concatenate them, but will convert the
strings to numbers and add them.
2015-05-19 22:18:40 +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
e055828205 Minor tweaks 2015-05-17 17:00:20 +02:00
jos
55d8e4f323 Minor code tweaks 2015-05-14 20:18:15 +02:00
jos
ec3ad5461f Added Fraction support for cube and square. Fixed operations on Fractions mutating the original fraction. 2015-05-12 21:26:51 +02:00
jos
4766546748 Added fraction support for functions ceil, fix, floor, round 2015-05-12 20:26:42 +02:00
jos
fca1b8c98c Replaced ugly structure new x.constructor(...) with new type.BigNumber(...) and new type.Complex(...) 2015-05-12 13:29:23 +02:00
jos
44b2129740 Added Fraction support for abs, gcd, mod. Added a valueOf() method to Fraction 2015-05-12 13:25:05 +02:00
jos
73f2dc2601 Implemented Fraction (using library fraction.js) for add, subtract, multiply, divide. 2015-05-12 11:42:57 +02:00
rjbaucells
e33fdad4ec typed-function 0.8.2 updates 2015-05-10 12:16:23 -04:00
jos
868b2702b5 Updated to typed-function v0.8, creating a new instance of typed-function for each instance of math.js. Better error messages and new utility functions typed.convert and typed.find. 2015-05-09 14:53:36 +02:00
jos
8c032f2593 Replaced all instanceof checks with x && xisMyType === true checks 2015-05-05 15:09:21 +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
Rogelio J. Baucells
1b3cf30e98 Fixed performance problems with array 2015-05-05 01:25:15 -04: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
37b296a2e2 divide 2015-05-03 16:35:13 -04:00
rjbaucells
769eebadb7 nthRoot 2015-05-02 19:46:38 -04:00
rjbaucells
24b5a3a791 removed unused files 2015-05-02 16:19:54 -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
6a5af8731e element wise operations 2015-05-01 16:53:55 -04:00
Rogelio J. Baucells
ca94dc55b1 Algorithm updates 2015-04-30 22:50:08 -04:00
rjbaucells
c8221c8954 tests 2015-04-30 20:33:02 -04:00
rjbaucells
b7ea83e0f2 element wise operations 2015-04-30 20:17:24 -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
rjbaucells
76ac065d63 Merge branch 'v2' of https://github.com/josdejong/mathjs into josdejong-v2
Conflicts:
	lib/expression/docs/index.js
2015-04-29 00:05:18 -04:00
rjbaucells
4c08aa3b13 matrix functions update 2015-04-28 23:52:34 -04:00
Rogelio J. Baucells
e8819c8126 multiply() - poc 2015-04-28 17:36:27 -04:00
Rogelio J. Baucells
853acf2ee8 multiply() - poc 2015-04-28 17:28:36 -04:00
Rogelio J. Baucells
8047a4853f multiply() - poc 2015-04-28 12:07:02 -04:00
Rogelio J. Baucells
17f8692685 multiply() - poc 2015-04-28 10:39:31 -04:00
Rogelio J. Baucells
0f54d457bc multiply() - poc 2015-04-28 10:21:43 -04:00
Rogelio J. Baucells
9bc4f212e8 multiply() - poc 2015-04-28 00:59:02 -04:00
Rogelio J. Baucells
7c27ba995e multiply() - poc 2015-04-28 00:48:57 -04:00
Rogelio J. Baucells
fe45f1472f multiply() - poc 2015-04-28 00:39:55 -04:00
Rogelio J. Baucells
a80d135b56 multiply() - poc 2015-04-28 00:22:23 -04:00
Rogelio J. Baucells
f99d362589 multiply() - poc 2015-04-27 23:59:10 -04:00