Numerical Tools  1.0
Numerical tools from SciPy and Numerical Methods in Physics with Python
NumericalTools.NumPhysPy Class Reference

Code adapted from numphyspy.org by Alex Gezerlis and the book "Numerical Methods in Physics with Python" by Cambrudge University Press More...

Public Member Functions

delegate double Function (double x)
 

Static Public Member Functions

static double [] BackSub (double[,] U, double[] bs)
 
static double [] GaussElimPivot (double[,] inA, double[] inBs)
 
static double Secant (Function f, double x0, double x1, int kmax=200, double tol=1E-8)
 Secant root finder. More...
 

Detailed Description

Code adapted from numphyspy.org by Alex Gezerlis and the book "Numerical Methods in Physics with Python" by Cambrudge University Press

Member Function Documentation

◆ Secant()

static double NumericalTools.NumPhysPy.Secant ( Function  f,
double  x0,
double  x1,
int  kmax = 200,
double  tol = 1E-8 
)
inlinestatic

Secant root finder.

Parameters
fFunction to find root of (delegate)
x0An point on the function
x1A second point on the function (near x0)
kmaxMax iterations
tolTolerance for solution
Returns

The documentation for this class was generated from the following file: