class

Moses::UnaryOpNode

Inherits Moses::ProgramNode < Reference < Object

Unary operation node

Constructors

new(operator : String, operand : ProgramNode)
Source

Instance methods

complexity
Source
constants
Source
evaluate_boolean(inputs : Array(Float64)) : Bool
Source
evaluate_numeric(inputs : Array(Float64)) : Float64
Source
operand
Source
operand=(operand : ProgramNode)
Source
operator
Source
operator=(operator : String)
Source
to_s(io)
Source
variables
Source