30 if (!defined(
'PHPEXCEL_ROOT')) {
34 define(
'PHPEXCEL_ROOT', dirname(__FILE__) .
'/../../../');
37 require_once(PHPEXCEL_ROOT .
'PHPExcel/Shared/trend/bestFitClass.php');
66 return 'Y = '.$intersect.
' + '.$slope.
' * X';
75 function __construct($yValues, $xValues=array(), $const=True) {
76 if (parent::__construct($yValues, $xValues) !== False) {