Eris\Generator\ArithmeticProgression::discrete PHP Method

discrete() public static method

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

Usage Example

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