struct LinProg::LinearCombination

Defined in:

linprog/variable.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(k : Hash(LinProg::Variable, Float64), c : Float64) #

[View source]
def self.new(var : Variable) #

[View source]

Instance Method Detail

def *(x : Number) #

[View source]
def +(x : Number) #

[View source]
def +(other : LinearCombination) #

[View source]
def +(other : Variable) #

[View source]
def -(x : Number) #

[View source]
def -(other : Variable) #

[View source]
def -(other : LinearCombination) #

[View source]
def - #

[View source]
def /(x : Number) #

[View source]
def <=(other) #

[View source]
def >=(other) #

[View source]
def c : Float64 #

[View source]
def c=(c : Float64) #

[View source]
def cleanup #

[View source]
def clone #

[View source]
def eq(other) #

[View source]
def k : Hash(LinProg::Variable, Float64) #

TODO - true stack allocation


[View source]
def value : Float64 #

[View source]