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

Class: Math_Numerical_RootFinding_Newtonraphson

Source Location: /Math_Numerical_RootFinding-0.3.0/Math/Numerical/RootFinding/Newtonraphson.php

Class Overview

Math_Numerical_RootFinding_Common
   |
   --Math_Numerical_RootFinding_Newtonraphson

Newton-Raphson method class.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 74]
Newton-Raphson method class.


[ Top ]


Method Detail

Math_Numerical_RootFinding_Newtonraphson (Constructor)   [line 86]

Math_Numerical_RootFinding_Newtonraphson Math_Numerical_RootFinding_Newtonraphson( [array $options = null])

PHP4 compatible constructor.
  • Access: public

Parameters:

array   $options   —  Options.

[ Top ]

compute   [line 139]

float|PEAR_Error compute( callback $fxFunction, callback $dfxFunction, float $xR)

Netwon-Raphson method.

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

Parameters:

callback   $fxFunction   —  Callback f(x) equation function or object/method tuple.
callback   $dfxFunction   —  Callback f'(x) equation function or object/method tuple.
float   $xR   —  Initial guess.

[ Top ]

infoCompute   [line 99]

void infoCompute( )

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

[ Top ]


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