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

Class: Math_Numerical_RootFinding_Secant

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

Class Overview

Math_Numerical_RootFinding_Common
   |
   --Math_Numerical_RootFinding_Secant

Secant 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]
Secant 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_Secant (Constructor)   [line 92]

Math_Numerical_RootFinding_Secant Math_Numerical_RootFinding_Secant( [array $options = null])

Constructor.

Parameters:

array   $options   —  (optional) Options.

[ Top ]

compute   [line 141]

float|PEAR_Error compute( callback $fxFunction, float $xR0, float $xR1)

Secant method.

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

Parameters:

callback   $fxFunction   —  Callback f(x) equation function or object/method tuple.
float   $xR0   —  First initial guess.
float   $xR1   —  Second 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.