29 require_once(PHPEXCEL_ROOT .
'PHPExcel/Shared/trend/bestFitClass.php');
58 return 'Y = '.$intersect.
' * '.$slope.
'^X';
64 return round(exp($this->_slope),$dp);
66 return exp($this->_slope);
72 return round(exp($this->_intersect),$dp);
74 return exp($this->_intersect);
79 foreach($yValues as &$value) {
81 $value = 0 - log(abs($value));
82 } elseif ($value > 0.0) {
92 function __construct($yValues, $xValues=array(), $const=True) {
93 if (parent::__construct($yValues, $xValues) !== False) {