/** * Sample one new value. * * @param \Hoa\Math\Sampler $sampler Sampler. * @return mixed */ protected function _sample(Math\Sampler $sampler) { return $sampler->getFloat(); }
/** * Sample one new value. * * @param \Hoa\Math\Sampler $sampler Sampler. * @return mixed */ protected function _sample(Math\Sampler $sampler) { return $sampler->getFloat($this['lower']->sample($sampler), $this['upper']->sample($sampler)); }