Searches for the simple poles of a function by finding the zeros of its reciprocal (definition of a pole). The user has to specify the range of random numbers that are used as the inital values of the search since the process employs optimisations.
1 2 |
func |
A function whose simple poles to be sought. |
R |
The radius of the disc on the complex plane within which random numbers are drawn to start the optimisation process. |
track.plot |
If TRUE, a plot of the searching process is displayed. Legend of the plot: |
control |
This is a list of search settings: |
The search employs optimisations that searches for the zeros of the function's reciprocal. As such, the initial value used in the search process is crucial. To ensure that the initial values are drawn uniformly, the user specified range (the radius of the disc) is segmented. The segmentation is done by having concentric circles and these circles are further divided into sectors. The radii of the concentric circles are determined in the way that all sectors are of the same size. Since the argument unit.concentric refers to the number of concentric circles in a unit circle, the number of segments in the range of initial values will be R\timesunit.concentric\timessector and the total number of random numbers to be drawn as initial values is then R\timesunit.concentric\timessector\timesdraw. This way of determining the number of concentric circle allows the number of segments to be adjusted when changing the radius of the range,R.
A list of simple poles. NULL is returned if no simple poles found.
Char Leung
1 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.