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

Class: Math_Numerical_RootFinding_NewtonRaphson2

Source Location: /Math_Numerical_RootFinding-1.0.0/Math/Numerical/RootFinding/NewtonRaphson2.php

Class Overview

Math_Numerical_RootFinding_Common
   |
   --Math_Numerical_RootFinding_NewtonRaphson2

Newton-Raphson 2 method class.


Author(s):

Version:

  • Release: 1.0.0

Copyright:

  • Copyright (c) 2004-2006 Firman Wandayandi

Methods


Inherited Variables

Inherited Methods


Class Details

[line 79]
Newton-Raphson 2 method class.
  • Author: Firman Wandayandi <firman@php.net>
  • Version: Release: 1.0.0
  • Copyright: Copyright (c) 2004-2006 Firman Wandayandi
  • License: BSD License


[ Top ]


Method Detail

Math_Numerical_RootFinding_NewtonRaphson2 (Constructor)   [line 92]

Math_Numerical_RootFinding_NewtonRaphson2 Math_Numerical_RootFinding_NewtonRaphson2( [array $options = null])

Constructor.

Parameters:

array   $options   —  (optional) Options.

[ Top ]

compute   [line 148]

float|PEAR_Error compute( callback $fxFunction, callback $dfx1Function, callback $dfx2Function, float $xR)

Newton-Raphson method for calculate double root (twin root).

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

Parameters:

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

[ Top ]

infoCompute   [line 105]

void infoCompute( )

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

[ Top ]


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