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);
}