def __init__(self, x = None, y = None): from marketsim.gen._out._observable._observablefloat import Observablefloat from marketsim.gen._out._const import const_Float as _const_Float from marketsim import deref_opt Observablefloat.__init__(self) self.x = x if x is not None else deref_opt(_const_Float(1.0)) self.y = y if y is not None else deref_opt(_const_Float(1.0)) Mul_Impl.__init__(self)
def __init__(self, x=None, y=None): from marketsim.gen._out._observable._observablefloat import Observablefloat from marketsim.gen._out._constant import constant_Float as _constant_Float from marketsim import deref_opt from marketsim.gen._out._const import const_Float as _const_Float Observablefloat.__init__(self) self.x = x if x is not None else deref_opt(_constant_Float(1.0)) self.y = y if y is not None else deref_opt(_const_Float(1.0)) Mul_Impl.__init__(self)
def reset(self): Mul_Impl.reset(self)
def bind_impl(self, ctx): Mul_Impl.bind_impl(self, ctx)