Class JXG.CA
↳ JXG.CA
Defined in: ca.js.
Constructor Attributes | Constructor Name and Description |
---|---|
JXG.CA(code, geonext, parser)
A JessieCode object provides an interface to the parser and stores all variables and objects used within a JessieCode script.
|
Method Attributes | Method Name and Description |
---|---|
expandDerivatives(node, parent, ast)
f = map (x) -> x*sin(x);
Usages:
h = D(f, x);
h = map (x) -> D(f, x);
or
D(x^2, x);
|
|
setMath(node)
Declare all subnodes as math nodes,
i.e recursively set node.isMath = true;
|
Class Detail
JXG.CA(code, geonext, parser)
A JessieCode object provides an interface to the parser and stores all variables and objects used within a JessieCode script.
The optional argument code is interpreted after initializing. To evaluate more code after initializing a JessieCode instance
please use JXG.JessieCode#parse. For code snippets like single expressions use JXG.JessieCode#snippet.
- Parameters:
- {String} code Optional
- Code to parse.
- {Boolean} geonext Optional, Default: false
- Geonext compatibility mode.
- parser
Method Detail
expandDerivatives(node, parent, ast)
f = map (x) -> x*sin(x);
Usages:
h = D(f, x);
h = map (x) -> D(f, x);
or
D(x^2, x);
- Parameters:
- node
- parent
- ast
setMath(node)
Declare all subnodes as math nodes,
i.e recursively set node.isMath = true;
- Parameters:
- node