josdejong
|
755d0769e6
|
Implemented construction function number
|
2013-05-29 20:34:47 +02:00 |
|
josdejong
|
0b2e28403b
|
Fixed in mod for negative numerators. Added more input validation. Added tests
|
2013-05-29 20:14:51 +02:00 |
|
josdejong
|
33bbd402b2
|
Implemented context variable end for subsets of strings
|
2013-05-27 21:48:48 +02:00 |
|
josdejong
|
23ffed0994
|
Implemented function subset, including support for string and scalar
|
2013-05-26 15:43:21 +02:00 |
|
josdejong
|
aaf191fcb8
|
Removed RootScope
|
2013-05-25 13:27:57 +02:00 |
|
josdejong
|
36bdaeb2a1
|
Implemented cache in Scope
|
2013-05-25 13:27:17 +02:00 |
|
josdejong
|
f09c3fccce
|
Some more tests added
|
2013-05-24 20:44:08 +02:00 |
|
josdejong
|
19f7150b23
|
Updated documentation on eval, parse, and parser
|
2013-05-24 19:57:41 +02:00 |
|
josdejong
|
1f6bcc8542
|
Implemented function math.parse(expr [,scope]), extended function math.expr(expr [,scope]).
|
2013-05-21 21:01:34 +02:00 |
|
josdejong
|
8db6a9aa20
|
Comments updated
|
2013-05-20 22:41:35 +02:00 |
|
josdejong
|
4dff095a16
|
Moved RootScope to a separate file
|
2013-05-20 22:25:48 +02:00 |
|
josdejong
|
ac331fe525
|
simplified Workspace and Expression, works now with the strongly simplified Scope
|
2013-05-20 22:21:03 +02:00 |
|
josdejong
|
84c73279ab
|
Splitted AssignmentNode in AssignmentNode and UpdateNode
|
2013-05-20 21:40:46 +02:00 |
|
josdejong
|
37577ecfd6
|
Removed redundant prototype math.expr.Symbol
|
2013-05-20 14:26:46 +02:00 |
|
josdejong
|
9710d67db8
|
Strongly simplified Scope (Workspace not yet working with simplified scope)
|
2013-05-20 14:19:19 +02:00 |
|
josdejong
|
c3dcf6aa43
|
Some comments updated
|
2013-05-20 09:42:55 +02:00 |
|
Jos de Jong
|
e3442c1c2f
|
Merge pull request #12 from bcuccioli/master
Compute determinant in polynomial-time.
|
2013-05-18 23:35:47 -07:00 |
|
Bryan Cuccioli
|
169c3ea593
|
Use polynomial-time algorithm to compute determinant.
|
2013-05-19 01:26:15 -04:00 |
|
josdejong
|
0090fdd925
|
Extended import function
|
2013-05-18 20:11:03 +02:00 |
|
josdejong
|
2fe383a19c
|
More tests and minor. Improved flexibility of data constructors.
|
2013-05-18 19:39:01 +02:00 |
|
josdejong
|
c2103dab99
|
Fixed a bug in merging one dimensional vectors into an array
|
2013-05-18 15:10:05 +02:00 |
|
josdejong
|
f010032683
|
Updated version to 0.8.2-SNAPSHOT
|
2013-05-17 18:37:35 +02:00 |
|
josdejong
|
f93dcfbc44
|
More tests
|
2013-05-10 21:53:05 +02:00 |
|
josdejong
|
bf13f9ceb8
|
Fixed a bug in resizing matrices when replacing a subset.
|
2013-05-10 19:20:27 +02:00 |
|
josdejong
|
976125821e
|
Implemented implicit start and end for the range operator in parser
|
2013-05-09 17:01:36 +02:00 |
|
josdejong
|
55220581fe
|
Moved the compatibility functions from util to compatibility
|
2013-05-09 15:44:00 +02:00 |
|
josdejong
|
6bd857ca7e
|
Implemented index parameter 'end'
|
2013-05-09 14:47:23 +02:00 |
|
josdejong
|
30274bfec8
|
Few more tests and type checks
|
2013-05-05 21:07:25 +02:00 |
|
josdejong
|
a8331f958c
|
math.eval supports variables and multiple expressions now. Removed the readonly option from Parser and Scope.
|
2013-05-05 20:54:10 +02:00 |
|
josdejong
|
9f91213ea6
|
Fixed non-working unequal operator != in the parser
|
2013-05-05 20:22:59 +02:00 |
|
josdejong
|
bdaa2c6073
|
Fixed method unequal, which was checking for equality instead of inequality... (Fixed #9)
|
2013-05-03 21:58:50 +02:00 |
|
josdejong
|
2d34cb5fc0
|
Named function 'eval' not allowed in strict mode
|
2013-04-27 21:18:37 +02:00 |
|
josdejong
|
d94b8f8cee
|
Simplified the Symbol/Scope
|
2013-04-27 20:57:58 +02:00 |
|
josdejong
|
bf6b707607
|
Fixed parser returning NaN instead of throwing an error for a number with multiple decimal separators
|
2013-04-27 14:26:26 +02:00 |
|
josdejong
|
ef7b68fe47
|
Fixed Workspace.insertAfter
|
2013-04-27 13:33:26 +02:00 |
|
josdejong
|
6294fd3540
|
Some code restructuring in the parser
|
2013-04-27 12:35:04 +02:00 |
|
josdejong
|
9d0b3c2e67
|
Added support for chained parameters in the parser
|
2013-04-27 11:31:20 +02:00 |
|
josdejong
|
553b0690c9
|
Renamed all expression nodes for better consistency and to prevent further naming collisions
|
2013-04-27 11:00:26 +02:00 |
|
josdejong
|
d1cc3a3f15
|
Moved Link to namespace math.expr
|
2013-04-27 09:41:52 +02:00 |
|
josdejong
|
548708ffaa
|
Improvements in parser and node tree. Implemented Params and Operator. Some first simplifications in Scope
|
2013-04-26 21:13:54 +02:00 |
|
josdejong
|
d038477f69
|
Fixed a few issues such that math.js works on IE6-8 too.
|
2013-04-22 21:53:10 +02:00 |
|
josdejong
|
8e48001e59
|
Changed second parameter of method import to an object with options.
|
2013-04-20 15:13:49 +02:00 |
|
josdejong
|
597439cc07
|
Added matrix support for function eval
|
2013-04-20 14:08:44 +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
|
8856f06104
|
Minor tweaks in code and comments
|
2013-04-18 21:26:24 +02:00 |
|
josdejong
|
a90b5ffc0b
|
Fixed an error in math.typeof on Internet Explorer.
|
2013-04-18 21:25:52 +02:00 |
|
josdejong
|
bfb8559fff
|
More unit tests
|
2013-04-15 22:37:16 +02:00 |
|
Jos de Jong
|
c6b2e436d9
|
Merge pull request #7 from bkiers/xgcd
Added function xgcd (extended-gcd) + unit tests.
|
2013-04-15 00:13:40 -07:00 |
|
Bart Kiers
|
d032fc02c3
|
Added function xgcd (extended-gcd) + unit tests.
|
2013-04-14 21:31:09 +02:00 |
|
josdejong
|
4914084e3f
|
Removed Range from the function comments
|
2013-04-14 21:16:30 +02:00 |
|