Pow class
Inheritance
Available extensions
Methods
depth ()
→ int
Calculate the depth of the expression tree.
inherited
differentiate ()
→ Expression
Differentiates the expression with respect to a variable.
override
evaluate ([dynamic arg ])
→ dynamic
Evaluates the expression for a given value of x
.
override
expand ()
→ Expression
Expands the expression, if applicable, and returns a new expanded expression.
override
getVariables ()
→ Set <Variable >
Retrieves the base variables present in the expression, effectively
decomposing composite variables into their constituent parts.
For instance, for an expression containing x^2
, it returns x
, and
for x*y
, it returns both x
and y
.
inherited
getVariableTerms ()
→ Set <Variable >
Retrieves all variables present in the expression, including composite
variables like x^2
or x*y
.
inherited
integrate ()
→ Expression
Integrates the expression with respect to a variable.
override
isIndeterminate (num x )
→ bool
inherited
isInfinity (num x )
→ bool
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
simplify ()
→ Expression
Simplifies the expression, if possible, and returns a new simplified expression.
override
size ()
→ int
Compute the size of the expression based on the number of nodes in its tree.
inherited
substitute (Expression oldExpr , Expression newExpr )
→ Expression
Replace a sub-expression or a variable with another expression.
override
toString ()
→ String
Returns the string representation of the expression.
override