Home
last modified time | relevance | path

Searched refs:xValues (Results 26 – 50 of 261) sorted by relevance

1234567891011

/dports/www/moodle310/moodle/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/
H A DPolynomialBestFit.php122 * @param float[] $xValues The set of X-values for this regression
124 private function polynomialRegression($order, $yValues, $xValues) argument
127 $x_sum = array_sum($xValues);
131 $xy_sum += $xValues[$i] * $yValues[$i];
132 $xx_sum += $xValues[$i] * $xValues[$i];
147 $A[$i][$j] = pow($xValues[$i], $j);
170 foreach ($this->xValues as $xKey => $xValue) {
180 * @param float[] $xValues The set of X-values for this regression
183 public function __construct($order, $yValues, $xValues = [], $const = true) argument
185 parent::__construct($yValues, $xValues);
[all …]
H A DLogarithmicBestFit.php58 * @param float[] $xValues The set of X-values for this regression
61 private function logarithmicRegression($yValues, $xValues, $const) argument
63 foreach ($xValues as &$value) {
72 $this->leastSquareFit($yValues, $xValues, $const);
79 * @param float[] $xValues The set of X-values for this regression
82 public function __construct($yValues, $xValues = [], $const = true) argument
84 parent::__construct($yValues, $xValues);
87 $this->logarithmicRegression($yValues, $xValues, $const);
/dports/www/moodle311/moodle/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/
H A DPolynomialBestFit.php122 * @param float[] $xValues The set of X-values for this regression
124 private function polynomialRegression($order, $yValues, $xValues): void argument
127 $x_sum = array_sum($xValues);
131 $xy_sum += $xValues[$i] * $yValues[$i];
132 $xx_sum += $xValues[$i] * $xValues[$i];
147 $A[$i][$j] = $xValues[$i] ** $j;
170 foreach ($this->xValues as $xKey => $xValue) {
180 * @param float[] $xValues The set of X-values for this regression
183 public function __construct($order, $yValues, $xValues = [], $const = true) argument
185 parent::__construct($yValues, $xValues);
[all …]
H A DLogarithmicBestFit.php58 * @param float[] $xValues The set of X-values for this regression
61 private function logarithmicRegression($yValues, $xValues, $const): void argument
63 foreach ($xValues as &$value) {
72 $this->leastSquareFit($yValues, $xValues, $const);
79 * @param float[] $xValues The set of X-values for this regression
82 public function __construct($yValues, $xValues = [], $const = true) argument
84 parent::__construct($yValues, $xValues);
87 $this->logarithmicRegression($yValues, $xValues, $const);
/dports/www/moodle39/moodle/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/
H A DPolynomialBestFit.php122 * @param float[] $xValues The set of X-values for this regression
124 private function polynomialRegression($order, $yValues, $xValues) argument
127 $x_sum = array_sum($xValues);
131 $xy_sum += $xValues[$i] * $yValues[$i];
132 $xx_sum += $xValues[$i] * $xValues[$i];
147 $A[$i][$j] = pow($xValues[$i], $j);
170 foreach ($this->xValues as $xKey => $xValue) {
180 * @param float[] $xValues The set of X-values for this regression
183 public function __construct($order, $yValues, $xValues = [], $const = true) argument
185 parent::__construct($yValues, $xValues);
[all …]
H A DLogarithmicBestFit.php58 * @param float[] $xValues The set of X-values for this regression
61 private function logarithmicRegression($yValues, $xValues, $const) argument
63 foreach ($xValues as &$value) {
72 $this->leastSquareFit($yValues, $xValues, $const);
79 * @param float[] $xValues The set of X-values for this regression
82 public function __construct($yValues, $xValues = [], $const = true) argument
84 parent::__construct($yValues, $xValues);
87 $this->logarithmicRegression($yValues, $xValues, $const);
/dports/finance/weberp/webERP/Classes/PHPExcel/Shared/trend/
H A DlogarithmicBestFitClass.php90 * @param float[] $xValues The set of X-values for this regression
93 private function _logarithmic_regression($yValues, $xValues, $const) { argument
94 foreach($xValues as &$value) {
103 $this->_leastSquareFit($yValues, $xValues, $const);
111 * @param float[] $xValues The set of X-values for this regression
114 function __construct($yValues, $xValues=array(), $const=True) { argument
115 if (parent::__construct($yValues, $xValues) !== False) {
116 $this->_logarithmic_regression($yValues, $xValues, $const);
H A DbestFitClass.php370 $x_sum = array_sum($xValues);
376 $xy_sum += $xValues[$i] * $yValues[$i];
377 $xx_sum += $xValues[$i] * $xValues[$i];
381 $mBase += ($xValues[$i] - $meanX) * ($yValues[$i] - $meanY);
382 $mDivisor += ($xValues[$i] - $meanX) * ($xValues[$i] - $meanX);
384 $mBase += $xValues[$i] * $yValues[$i];
385 $mDivisor += $xValues[$i] * $xValues[$i];
412 function __construct($yValues, $xValues=array(), $const=True) { argument
415 $nX = count($xValues);
419 $xValues = range(1,$nY);
[all …]
H A DpolynomialBestFitClass.php149 * @param float[] $xValues The set of X-values for this regression
152 private function _polynomial_regression($order, $yValues, $xValues, $const) { argument
154 $x_sum = array_sum($xValues);
158 $xy_sum += $xValues[$i] * $yValues[$i];
159 $xx_sum += $xValues[$i] * $xValues[$i];
172 $A[$i][$j] = pow($xValues[$i], $j);
206 * @param float[] $xValues The set of X-values for this regression
209 function __construct($order, $yValues, $xValues=array(), $const=True) { argument
210 if (parent::__construct($yValues, $xValues) !== False) {
214 $this->_polynomial_regression($order, $yValues, $xValues, $const);
H A DlinearBestFitClass.php90 * @param float[] $xValues The set of X-values for this regression
93 private function _linear_regression($yValues, $xValues, $const) { argument
94 $this->_leastSquareFit($yValues, $xValues,$const);
102 * @param float[] $xValues The set of X-values for this regression
105 function __construct($yValues, $xValues=array(), $const=True) { argument
106 if (parent::__construct($yValues, $xValues) !== False) {
107 $this->_linear_regression($yValues, $xValues, $const);
H A DpowerBestFitClass.php104 * @param float[] $xValues The set of X-values for this regression
107 private function _power_regression($yValues, $xValues, $const) { argument
108 foreach($xValues as &$value) {
125 $this->_leastSquareFit($yValues, $xValues, $const);
133 * @param float[] $xValues The set of X-values for this regression
136 function __construct($yValues, $xValues=array(), $const=True) { argument
137 if (parent::__construct($yValues, $xValues) !== False) {
138 $this->_power_regression($yValues, $xValues, $const);
/dports/www/groupoffice/groupoffice-6.4.231-php-71/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/
H A DlogarithmicBestFitClass.php80 * @param float[] $xValues The set of X-values for this regression
83 private function logarithmicRegression($yValues, $xValues, $const) argument
85 foreach ($xValues as &$value) {
94 $this->leastSquareFit($yValues, $xValues, $const);
101 * @param float[] $xValues The set of X-values for this regression
104 public function __construct($yValues, $xValues = array(), $const = true) argument
106 if (parent::__construct($yValues, $xValues) !== false) {
107 $this->logarithmicRegression($yValues, $xValues, $const);
H A DlinearBestFitClass.php81 * @param float[] $xValues The set of X-values for this regression
84 private function linearRegression($yValues, $xValues, $const) argument
86 $this->leastSquareFit($yValues, $xValues, $const);
93 * @param float[] $xValues The set of X-values for this regression
96 public function __construct($yValues, $xValues = array(), $const = true) argument
98 if (parent::__construct($yValues, $xValues) !== false) {
99 $this->linearRegression($yValues, $xValues, $const);
H A DpowerBestFitClass.php99 * @param float[] $xValues The set of X-values for this regression
102 private function powerRegression($yValues, $xValues, $const) argument
104 foreach ($xValues as &$value) {
121 $this->leastSquareFit($yValues, $xValues, $const);
129 * @param float[] $xValues The set of X-values for this regression
132 public function __construct($yValues, $xValues = array(), $const = true) argument
134 if (parent::__construct($yValues, $xValues) !== false) {
135 $this->powerRegression($yValues, $xValues, $const);
/dports/www/thirtybees/thirtybees-1.1.0/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/
H A DlogarithmicBestFitClass.php80 * @param float[] $xValues The set of X-values for this regression
83 private function logarithmicRegression($yValues, $xValues, $const) argument
85 foreach ($xValues as &$value) {
94 $this->leastSquareFit($yValues, $xValues, $const);
101 * @param float[] $xValues The set of X-values for this regression
104 public function __construct($yValues, $xValues = array(), $const = true) argument
106 if (parent::__construct($yValues, $xValues) !== false) {
107 $this->logarithmicRegression($yValues, $xValues, $const);
H A DlinearBestFitClass.php81 * @param float[] $xValues The set of X-values for this regression
84 private function linearRegression($yValues, $xValues, $const) argument
86 $this->leastSquareFit($yValues, $xValues, $const);
93 * @param float[] $xValues The set of X-values for this regression
96 public function __construct($yValues, $xValues = array(), $const = true) argument
98 if (parent::__construct($yValues, $xValues) !== false) {
99 $this->linearRegression($yValues, $xValues, $const);
H A DpowerBestFitClass.php99 * @param float[] $xValues The set of X-values for this regression
102 private function powerRegression($yValues, $xValues, $const) argument
104 foreach ($xValues as &$value) {
121 $this->leastSquareFit($yValues, $xValues, $const);
129 * @param float[] $xValues The set of X-values for this regression
132 public function __construct($yValues, $xValues = array(), $const = true) argument
134 if (parent::__construct($yValues, $xValues) !== false) {
135 $this->powerRegression($yValues, $xValues, $const);
/dports/finance/prestashop/prestashop/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/
H A DLogarithmicBestFit.php58 * @param float[] $xValues The set of X-values for this regression
61 private function logarithmicRegression($yValues, $xValues, $const) argument
63 foreach ($xValues as &$value) {
72 $this->leastSquareFit($yValues, $xValues, $const);
79 * @param float[] $xValues The set of X-values for this regression
82 public function __construct($yValues, $xValues = [], $const = true) argument
84 parent::__construct($yValues, $xValues);
87 $this->logarithmicRegression($yValues, $xValues, $const);
H A DPowerBestFit.php74 * @param float[] $xValues The set of X-values for this regression
77 private function powerRegression($yValues, $xValues, $const) argument
79 foreach ($xValues as &$value) {
96 $this->leastSquareFit($yValues, $xValues, $const);
103 * @param float[] $xValues The set of X-values for this regression
106 public function __construct($yValues, $xValues = [], $const = true) argument
108 parent::__construct($yValues, $xValues);
111 $this->powerRegression($yValues, $xValues, $const);
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/includes/phpoffice/PhpSpreadsheet/Shared/Trend/
H A DLogarithmicBestFit.php58 * @param float[] $xValues The set of X-values for this regression
61 private function logarithmicRegression($yValues, $xValues, $const) argument
63 foreach ($xValues as &$value) {
72 $this->leastSquareFit($yValues, $xValues, $const);
79 * @param float[] $xValues The set of X-values for this regression
82 public function __construct($yValues, $xValues = [], $const = true) argument
84 if (parent::__construct($yValues, $xValues) !== false) {
85 $this->logarithmicRegression($yValues, $xValues, $const);
H A DPowerBestFit.php74 * @param float[] $xValues The set of X-values for this regression
77 private function powerRegression($yValues, $xValues, $const) argument
79 foreach ($xValues as &$value) {
96 $this->leastSquareFit($yValues, $xValues, $const);
103 * @param float[] $xValues The set of X-values for this regression
106 public function __construct($yValues, $xValues = [], $const = true) argument
108 if (parent::__construct($yValues, $xValues) !== false) {
109 $this->powerRegression($yValues, $xValues, $const);
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/
H A DLogarithmicBestFit.php58 * @param float[] $xValues The set of X-values for this regression
61 private function logarithmicRegression($yValues, $xValues, $const) argument
63 foreach ($xValues as &$value) {
72 $this->leastSquareFit($yValues, $xValues, $const);
79 * @param float[] $xValues The set of X-values for this regression
82 public function __construct($yValues, $xValues = [], $const = true) argument
84 parent::__construct($yValues, $xValues);
87 $this->logarithmicRegression($yValues, $xValues, $const);
H A DPowerBestFit.php74 * @param float[] $xValues The set of X-values for this regression
77 private function powerRegression($yValues, $xValues, $const) argument
79 foreach ($xValues as &$value) {
96 $this->leastSquareFit($yValues, $xValues, $const);
103 * @param float[] $xValues The set of X-values for this regression
106 public function __construct($yValues, $xValues = [], $const = true) argument
108 parent::__construct($yValues, $xValues);
111 $this->powerRegression($yValues, $xValues, $const);
/dports/www/groupoffice/groupoffice-6.4.231-php-71/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/
H A DLogarithmicBestFit.php58 * @param float[] $xValues The set of X-values for this regression
61 private function logarithmicRegression($yValues, $xValues, $const): void argument
63 foreach ($xValues as &$value) {
72 $this->leastSquareFit($yValues, $xValues, $const);
79 * @param float[] $xValues The set of X-values for this regression
82 public function __construct($yValues, $xValues = [], $const = true) argument
84 parent::__construct($yValues, $xValues);
87 $this->logarithmicRegression($yValues, $xValues, $const);
H A DPowerBestFit.php74 * @param float[] $xValues The set of X-values for this regression
77 private function powerRegression($yValues, $xValues, $const): void argument
79 foreach ($xValues as &$value) {
96 $this->leastSquareFit($yValues, $xValues, $const);
103 * @param float[] $xValues The set of X-values for this regression
106 public function __construct($yValues, $xValues = [], $const = true) argument
108 parent::__construct($yValues, $xValues);
111 $this->powerRegression($yValues, $xValues, $const);

1234567891011