Skip to main content

Module expr

Module expr 

Source
Expand description

Expression AST, evaluation, substitution, and operator overloading.

Enums§

Expr
A symbolic expression AST.
MathFn
Built-in mathematical functions.

Functions§

abs
|expr|
constant
Create a constant expression.
cos
cos(expr)
e
The constant e.
exp
exp(expr)
ln
ln(expr)
one
The multiplicative identity.
pi
The constant pi.
sin
sin(expr)
sqrt
sqrt(expr)
tan
tan(expr)
var
Create a variable expression.
zero
The additive identity.