$trendTypes $trendTypes : array<mixed,string> Names of the best-fit Trend analysis methods. Type array<mixed,string>
$trendTypePolynomialOrders $trendTypePolynomialOrders : array<mixed,string> Names of the best-fit Trend polynomial orders. Type array<mixed,string>
$trendCache $trendCache : array<mixed,\PhpOffice\PhpSpreadsheet\Shared\Trend\bestFit> Cached results for each method when trying to identify which provides the best fit. Type array<mixed,\PhpOffice\PhpSpreadsheet\Shared\Trend\bestFit>
calculate() calculate( $trendType = self::TREND_BEST_FIT, $yValues = array(), $xValues = array(), $const = true) Parameters $trendType $yValues $xValues $const