| ASTMultiply | R Documentation |
The multiplication of two terms, as an ASTNode.
The multiplication of two terms, as an ASTNode.
R6Class object.
tangram::ASTNode -> tangram::ASTBranch -> ASTMultiply
leftThe AST tree to the left.
rightThe AST tree to the right.
typeThe specified type of this node
new()Construct a multiplication node
ASTMultiply$new(left, right)
left(ASTNode) nodes to the left of the multiplication
right(ASTNode) nodes to the right of the multiplication
distribute()Rearrange nodes distribution multiplication across parenthesis
ASTMultiply$distribute()
factors()return all terminal nodes on left and right
ASTMultiply$factors()
string()Return a re-parseable string
ASTMultiply$string()
clone()The objects of this class are cloneable with this method.
ASTMultiply$clone(deep = FALSE)
deepWhether to make a deep clone.
ASTMultiply$new(ASTVariable$new("x"), ASTVariable$new("y"))$string()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.