Kiwi::Variable
Inherits Reference < Object
This is a light wrapper around the actual VariableState that provides some helpful operators.
Constructors
new(name : String)
Sourcenew(value : Float64)
SourceInstance 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
Sourcename
Sourcename=(name : String)
Sourcevalue
Source