jos
|
64aa6375f5
|
Moved functions random, randomInt and pickRandom to a separate file
|
2014-06-08 22:36:23 +02:00 |
|
jos
|
91cdad78b7
|
Removed automatic assignment of expression results to variable ans
|
2014-06-08 21:55:38 +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
|
9ebc24662f
|
More reference docs added
|
2014-05-22 21:17:53 +02:00 |
|
Niels Heisterkamp
|
086e59061a
|
Fixed test and removed remaining console.log.
|
2014-05-19 20:32:25 +02:00 |
|
Niels Heisterkamp
|
12147b3bd4
|
Some tweaks and fixes
|
2014-05-19 19:27:42 +02:00 |
|
Niels Heisterkamp
|
b7fe0bfbf1
|
Added LaTeX conversion of expressions using toTex() on expression.
Also added some basic tests, which cover some use cases; but should be expanded.
|
2014-05-19 08:20:06 +02:00 |
|
jos
|
830367a494
|
More docs added
|
2014-05-18 22:21:00 +02:00 |
|
jos
|
e536410b77
|
More docs added
|
2014-05-16 22:24:07 +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
|
3276b036a6
|
Fixed #172: parser not being able to evaluate an exponent followed by a unary minus like 2^-3, and a transpose followed by an index like [3]'[1].
|
2014-05-13 20:57:32 +02:00 |
|
jos
|
6e3cc82cdd
|
Deprecated functions Parser.parse and Parser.compile. Use math.parse and math.compile instead.
|
2014-05-13 20:14:52 +02:00 |
|
jos
|
ae42bdd9a5
|
Fixed an implicit require path to an index file
|
2014-05-07 21:15:43 +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
|
da762e4706
|
Improved errors thrown by function parse
|
2014-04-25 17:21:05 +02:00 |
|
jos
|
1189efd4d8
|
Added property type to all expression nodes in a node tree.
|
2014-04-24 20:26:51 +02:00 |
|
Rogelio J. Baucells
|
2b71d880a4
|
trigonometry hyperbolic functions
|
2014-04-18 19:01:00 -04:00 |
|
Rogelio J. Baucells
|
05902e00ff
|
Merge pull request #2 from josdejong/develop
sync
|
2014-04-14 17:40:43 -04:00 |
|
rjbaucells
|
902c4ac163
|
unit tests and documentation
|
2014-04-13 23:30:57 -04:00 |
|
rjbaucells
|
1c6dfac04d
|
norm tests and documentation
|
2014-04-12 12:38:24 -04:00 |
|
josdejong
|
97cbb0093f
|
Moved errors to their own namespace and folder
|
2014-04-11 18:02:29 +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
|
d0fb727c43
|
Implemented DimensionError and IndexError
|
2014-04-06 20:53:23 +02:00 |
|
josdejong
|
8cea27406b
|
Some internal refactoring
|
2014-04-06 11:22:13 +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
|
f568ae75c1
|
More unit tests added
|
2014-04-03 20:58:43 +02:00 |
|
josdejong
|
b3ab923a69
|
Implemented conditional operator a ? b : c in expression parser
|
2014-04-01 20:49:55 +02:00 |
|
josdejong
|
c74afb7dcb
|
Improved function ifElse
|
2014-03-31 21:24:46 +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
|
b333ad073a
|
Implemented function median
|
2014-03-29 22:26:12 +01:00 |
|
josdejong
|
763abb425e
|
Implemented function compare
|
2014-03-29 21:43:22 +01:00 |
|
josdejong
|
a073a95859
|
Implemented functions sum, prod, var, std. Reducing a matrix over a specified dimension still missing
|
2014-03-29 14:45:09 +01:00 |
|
Jos de Jong
|
99f5de862d
|
Merge pull request #144 from mtraynham/if_else_function
Adds the ifElse function.
|
2014-03-13 09:27:25 +01:00 |
|
Matt Traynham
|
7d26235842
|
Adds support for IfElse ternary operation functions. These can be used in the compiler as well. Much easier than adding basic parse support for ternary operands '?' & ':'.
|
2014-03-11 20:07:02 -04:00 |
|
josdejong
|
eca2326802
|
More unit tests
|
2014-03-01 21:35:55 +01:00 |
|
josdejong
|
b046c7ee98
|
Completed unit tests for all expression nodes
|
2014-03-01 15:55:20 +01:00 |
|
josdejong
|
42548e1cf0
|
More unit tests
|
2014-02-28 22:50:46 +01:00 |
|
josdejong
|
32b0d33351
|
Cleaned up some dead code
|
2014-02-26 21:23:11 +01:00 |
|
josdejong
|
30d9d4653c
|
Some more unit tests added
|
2014-02-26 21:07:22 +01:00 |
|
josdejong
|
c7ffb60634
|
Added reference docs for cube, exp, pow, square
|
2014-02-16 20:32:31 +01:00 |
|
josdejong
|
a09e302b97
|
Added reference docs for ceil, fix, floor, and round
|
2014-02-16 18:07:27 +01:00 |
|
josdejong
|
5d1997cc61
|
Added reference docs for abs, add, divide, multiply, subtract
|
2014-02-16 17:45:47 +01:00 |
|
josdejong
|
b7826bf65a
|
Implemented function compile
|
2014-02-15 17:59:19 +01:00 |
|
josdejong
|
97be029d6e
|
Removed need to use the function keyword for function assignments in the expression parser
|
2014-01-18 11:18:29 +01:00 |
|