mirror of
https://github.com/josdejong/mathjs.git
synced 2026-02-01 16:07:46 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
7cd7a213e2
@ -57,7 +57,7 @@ All nodes have the following methods:
|
||||
```js
|
||||
var node = math.parse('2 + x'); // returns the root Node of an expression tree
|
||||
var code = node.compile(); // returns {eval: function (scope) {...}}
|
||||
var eval = code.eval({x: 3}; // returns 5
|
||||
var eval = code.eval({x: 3}); // returns 5
|
||||
```
|
||||
|
||||
- `eval([scope]) : Object`
|
||||
@ -67,7 +67,7 @@ All nodes have the following methods:
|
||||
|
||||
```js
|
||||
var node = math.parse('2 + x'); // returns the root Node of an expression tree
|
||||
var eval = node.eval({x: 3}; // returns 5
|
||||
var eval = node.eval({x: 3}); // returns 5
|
||||
```
|
||||
|
||||
- `equals(other: Node) : boolean`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user