pg.mutfun.UnaryOperator¶
Accessible via pg.mutfun.UnaryOperator.
- class UnaryOperator(x)[source]¶
Bases:
pg.mutfun.OperatorBase class for unary math operations.
Methods:
evaluate(context)Evaluates current instruction with variable dictionary.
python_repr([block_indent])Returns a Python code representation of current instruction.