PHPExcel_Shared_Best_Fit
[ class tree: PHPExcel_Shared_Best_Fit ] [ index: PHPExcel_Shared_Best_Fit ] [ all elements ]

Class: PHPExcel_Polynomial_Best_Fit

Source Location: /PHPExcel/Shared/trend/polynomialBestFitClass.php

Class Overview

PHPExcel_Best_Fit
   |
   --PHPExcel_Polynomial_Best_Fit

PHPExcel_Polynomial_Best_Fit


Author(s):

Copyright:

  • Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 48]
PHPExcel_Polynomial_Best_Fit

PHPExcel_Polynomial_Best_Fit




Tags:

copyright:  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)


[ Top ]


Class Variables

$_bestFitType =  'polynomial'

[line 50]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]

$_order =  0

[line 52]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 160]

PHPExcel_Polynomial_Best_Fit __construct( $order, $yValues, [ $xValues = array()], [ $const = True])



Overrides PHPExcel_Best_Fit::__construct() (parent method not documented)

Parameters:

   $order  
   $yValues  
   $xValues  
   $const  

[ Top ]

method getCoefficients [line 106]

void getCoefficients( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getEquation [line 77]

void getEquation( [ $dp = 0])



Tags:

access:  public


Overrides PHPExcel_Best_Fit::getEquation() (parent method not documented)

Parameters:

   $dp  

[ Top ]

method getOrder [line 55]

void getOrder( )



Tags:

access:  public


[ Top ]

method getSlope [line 94]

void getSlope( [ $dp = 0])



Tags:

access:  public


Overrides PHPExcel_Best_Fit::getSlope() (parent method not documented)

Parameters:

   $dp  

[ Top ]

method getValueOfXForY [line 72]

void getValueOfXForY( $yValue)



Tags:

access:  public


Overrides PHPExcel_Best_Fit::getValueOfXForY() (parent method not documented)

Parameters:

   $yValue  

[ Top ]

method getValueOfYForX [line 60]

void getValueOfYForX( $xValue)



Tags:

access:  public


Overrides PHPExcel_Best_Fit::getValueOfYForX() (parent method not documented)

Parameters:

   $xValue  

[ Top ]

method _polynomial_regression [line 111]

void _polynomial_regression( $order, $yValues, $xValues, $const)



Tags:

access:  private


Parameters:

   $order  
   $yValues  
   $xValues  
   $const  

[ Top ]


Documentation generated on Mon, 11 Jan 2010 08:13:01 +0100 by phpDocumentor 1.4.1