An alternative implementation of the secant method, adapted from PLUME.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| double complex | :: | func |
Function whose roots are to be identified. For ALPS, this is the dispersion relation. |
|||
| double complex | :: | xin |
Initial Guess for complex frequency. |
|||
| integer, | intent(in) | :: | in |
Root number |
||
| integer | :: | iflag |
Flag for number of steps taken. |