[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/Shared/trend/ -> powerBestFitClass.php (summary)

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 142 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Power_Best_Fit:: (6 methods):
  getValueOfYForX()
  getValueOfXForY()
  getEquation()
  getIntersect()
  _power_regression()
  __construct()


Class: PHPExcel_Power_Best_Fit  - X-Ref

PHPExcel_Power_Best_Fit

getValueOfYForX($xValue)   X-Ref
Return the Y-Value for a specified value of X

param: float        $xValue            X-Value
return: float                        Y-Value

getValueOfXForY($yValue)   X-Ref
Return the X-Value for a specified value of Y

param: float        $yValue            Y-Value
return: float                        X-Value

getEquation($dp=0)   X-Ref
Return the Equation of the best-fit line

param: int        $dp        Number of places of decimal precision to display
return: string

getIntersect($dp=0)   X-Ref
Return the Value of X where it intersects Y = 0

param: int        $dp        Number of places of decimal precision to display
return: string

_power_regression($yValues, $xValues, $const)   X-Ref
Execute the regression and calculate the goodness of fit for a set of X and Y data values

param: float[]    $yValues    The set of Y-values for this regression
param: float[]    $xValues    The set of X-values for this regression
param: boolean    $const

__construct($yValues, $xValues=array()   X-Ref
Define the regression and calculate the goodness of fit for a set of X and Y data values

param: float[]    $yValues    The set of Y-values for this regression
param: float[]    $xValues    The set of X-values for this regression
param: boolean    $const



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1