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

Class: Math_Numerical_RootFinding_Bisection

Source Location: /Math_Numerical_RootFinding-1.1.0a2/Math/Numerical/RootFinding/Bisection.php

Class Overview

Math_Numerical_RootFinding_Common
   |
   --Math_Numerical_RootFinding_Bisection

Bisection/Binary Chopping/Interval Halving/Bolzano method class.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2004-2008 Firman Wandayandi

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
Bisection/Binary Chopping/Interval Halving/Bolzano method class.


[ Top ]


Method Detail

Math_Numerical_RootFinding_Bisection (Constructor)   [line 59]

Math_Numerical_RootFinding_Bisection Math_Numerical_RootFinding_Bisection( [array $options = null])

Constructor.

Parameters:

array   $options   —  (optional) Options.

[ Top ]

compute   [line 108]

float|PEAR_Error compute( callback $fxFunction, float $xL, float $xU)

Bisection/Binary Chopping/Interval Halving/Bolzano method.
  • Return: Root value on success or PEAR_Error on failure.
  • See: Math_Numerical_RootFinding_Falseposition::compute()
  • See: Math_Numerical_RootFinding::getEqResult()
  • See: Math_Numerical_RootFinding::validateEqFunction()
  • Access: public

Overrides Math_Numerical_RootFinding_Common::compute() (Compute the root.)

Parameters:

callback   $fxFunction   —  Callback f(x) equation function or object/method tuple.
float   $xL   —  Lower guess.
float   $xU   —  Upper guess.

[ Top ]

infoCompute   [line 73]

void infoCompute( )

Print out parameters description for compute() function.
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.