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

Class: trendClass

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

Class Overview




Variables

Constants

Methods



Class Details

[line 10]


[ Top ]


Class Variables

static $_trendCache = array()

[line 36]



Tags:

access:  private

Type:   mixed


[ Top ]

static $_trendTypePolyOrders = array( self::TREND_POLYNOMIAL_2,
                                      self::TREND_POLYNOMIAL_3,
                                      self::TREND_POLYNOMIAL_4,
                                      self::TREND_POLYNOMIAL_5,
                                      self::TREND_POLYNOMIAL_6
                                     )

[line 29]



Tags:

access:  private

Type:   mixed


[ Top ]

static $_trendTypes = array( self::TREND_LINEAR,
                               self::TREND_LOGARITHMIC,
                               self::TREND_EXPONENTIAL,
                               self::TREND_POWER
                              )

[line 24]



Tags:

access:  private

Type:   mixed


[ Top ]



Class Methods


static method calculate [line 39]

static void calculate( [ $trendType = self::TREND_BEST_FIT], $yValues, [ $xValues = array()], [ $const = True])



Tags:

access:  public


Parameters:

   $trendType  
   $yValues  
   $xValues  
   $const  

[ Top ]


Class Constants

TREND_BEST_FIT =  'Bestfit'

[line 21]


[ Top ]

TREND_BEST_FIT_NO_POLY =  'Bestfit_no_Polynomials'

[line 22]


[ Top ]

TREND_EXPONENTIAL =  'Exponential'

[line 14]


[ Top ]

TREND_LINEAR =  'Linear'

[line 12]


[ Top ]

TREND_LOGARITHMIC =  'Logarithmic'

[line 13]


[ Top ]

TREND_POLYNOMIAL_2 =  'Polynomial_2'

[line 16]


[ Top ]

TREND_POLYNOMIAL_3 =  'Polynomial_3'

[line 17]


[ Top ]

TREND_POLYNOMIAL_4 =  'Polynomial_4'

[line 18]


[ Top ]

TREND_POLYNOMIAL_5 =  'Polynomial_5'

[line 19]


[ Top ]

TREND_POLYNOMIAL_6 =  'Polynomial_6'

[line 20]


[ Top ]

TREND_POWER =  'Power'

[line 15]


[ Top ]



Documentation generated on Wed, 22 Apr 2009 09:03:50 +0200 by phpDocumentor 1.4.1