Index
Add
Bases: Statement
Add two numbers.
lhs class-attribute
instance-attribute
lhs: SSAValue = argument(PyNum)
lhs (Union[int, float]): The left-hand side of the addition.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (Union[int, float]): The result of the addition.
rhs class-attribute
instance-attribute
rhs: SSAValue = argument(PyNum)
rhs (Union[int, float]): The right-hand side of the addition.
ConstFloat
Bases: Statement
IR Statement representing a constant float value.
result class-attribute
instance-attribute
result: ResultValue = result(Float)
result (Float): The result value.
value class-attribute
instance-attribute
value: float = attribute(Float, property=True)
value (float): The constant float value.
ConstInt
Bases: Statement
IR Statement representing a constant integer value.
result class-attribute
instance-attribute
result: ResultValue = result(Int)
result (Int): The result value.
value class-attribute
instance-attribute
value: int = attribute(Int, property=True)
value (int): The constant integer value.
ConstPI
Bases: Statement
The constant value of PI.
result class-attribute
instance-attribute
result: ResultValue = result(Float)
result (ConstPI): The result value.
Cos
Bases: Statement
Take the cosine of a number.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (float): The cosine of the number.
value class-attribute
instance-attribute
value: SSAValue = argument(PyNum)
value (Union[int, float]): The number to take the cosine of.
Div
Bases: Statement
Divide two numbers.
lhs class-attribute
instance-attribute
lhs: SSAValue = argument(PyNum)
lhs (Union[int, float]): The numerator.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (Union[int, float]): The result of the division.
rhs class-attribute
instance-attribute
rhs: SSAValue = argument(PyNum)
rhs (Union[int, float]): The denominator.
Exp
Bases: Statement
Take the exponential of a number.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (float): The exponential of the number.
value class-attribute
instance-attribute
value: SSAValue = argument(PyNum)
value (Union[int, float]): The number to take the exponential of.
Log
Bases: Statement
Take the natural log of a number.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (float): The natural log of the number.
value class-attribute
instance-attribute
value: SSAValue = argument(PyNum)
value (Union[int, float]): The number to take the natural log of.
Mul
Bases: Statement
Multiply two numbers.
lhs class-attribute
instance-attribute
lhs: SSAValue = argument(PyNum)
lhs (Union[int, float]): The left-hand side of the multiplication.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (Union[int, float]): The result of the multiplication.
rhs class-attribute
instance-attribute
rhs: SSAValue = argument(PyNum)
rhs (Union[int, float]): The right-hand side of the multiplication.
Neg
Bases: Statement
Negate a number.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (Union[int, float]): The negated number.
value class-attribute
instance-attribute
value: SSAValue = argument(PyNum)
value (Union[int, float]): The number to negate.
Pow
Bases: Statement
Take the power of a number.
lhs class-attribute
instance-attribute
lhs: SSAValue = argument(PyNum)
lhs (Union[int, float]): The base.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (Union[int, float]): The result of the power operation.
rhs class-attribute
instance-attribute
rhs: SSAValue = argument(PyNum)
rhs (Union[int, float]): The exponent.
Sin
Bases: Statement
Take the sine of a number.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (float): The sine of the number.
value class-attribute
instance-attribute
value: SSAValue = argument(PyNum)
value (Union[int, float]): The number to take the sine of.
Sqrt
Bases: Statement
Take the square root of a number.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (float): The square root of the number.
value class-attribute
instance-attribute
value: SSAValue = argument(PyNum)
value (Union[int, float]): The number to take the square root of.
Sub
Bases: Statement
Subtract two numbers.
lhs class-attribute
instance-attribute
lhs: SSAValue = argument(PyNum)
lhs (Union[int, float]): The left-hand side of the subtraction.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (Union[int, float]): The result of the subtraction.
rhs class-attribute
instance-attribute
rhs: SSAValue = argument(PyNum)
rhs (Union[int, float]): The right-hand side of the subtraction.
Tan
Bases: Statement
Take the tangent of a number.
result class-attribute
instance-attribute
result: ResultValue = result(PyNum)
result (float): The tangent of the number.
value class-attribute
instance-attribute
value: SSAValue = argument(PyNum)
value (Union[int, float]): The number to take the tangent of.