MathPHP\Statistics\Regression\LinearThroughPoint::__construct PHP Метод

__construct() публичный Метод

This procedure is most frequently used with $force = [0,0], the origin.
public __construct ( array $points, array $force = [0, 0] )
$points array
$force array Point to force regression line through (default: origin)
    public function __construct(array $points, array $force = [0, 0])
    {
        $this->v = $force[0];
        $this->w = $force[1];
        parent::__construct($points);
    }
LinearThroughPoint