class

Kiwi::Variable

Inherits Reference < Object

This is a light wrapper around the actual VariableState that provides some helpful operators.

Constructors

new(name : String)
Source
new(value : Float64)
Source

Instance methods

*(coefficient : Number) : Term
Source
+(constant : Number) : Expression
Source
+(other : Variable) : Expression
Source
+(term : Term) : Expression
Source
+(expression : Expression) : Expression
Source
-(constant : Number) : Expression
Source
-(other : Variable) : Expression
Source
-(term : Term) : Expression
Source
-(expression : Expression) : Expression
Source
/(denominator : Number) : Term
Source
<=(constant : Number) : Constraint
Source
<=(other : Variable) : Constraint
Source
<=(term : Term) : Constraint
Source
<=(expression : Expression) : Constraint
Source
==(constant : Number) : Constraint
Source
==(other : Variable) : Constraint
Source
==(term : Term) : Constraint
Source
==(expression : Expression) : Constraint
Source
>=(constant : Number) : Constraint
Source
>=(other : Variable) : Constraint
Source
>=(term : Term) : Constraint
Source
>=(expression : Expression) : Constraint
Source
name
Source
name=(name : String)
Source
value
Source