Eris\Generator\ArithmeticProgression::discrete PHP 메소드

discrete() 공개 정적인 메소드

public static discrete ( $lowerLimit )
    public static function discrete($lowerLimit)
    {
        return new self($lowerLimit);
    }

Usage Example

예제 #1
0
 public function __construct($lowerLimit, $upperLimit)
 {
     $this->lowerLimit = $lowerLimit;
     $this->upperLimit = $upperLimit;
     $this->shrinkingProgression = ArithmeticProgression::discrete($this->lowerLimit);
 }
ArithmeticProgression