Secant routine to find minimum value of dispersion relation function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex | :: | func |
Function to evaluate. |
|||
| complex | :: | x1 |
Lower bracket value of solution refinement. |
|||
| complex | :: | x2 |
Upper bracket value of solution refinement. |
|||
| real | :: | xacc |
Solution tolerance. |
|||
| integer | :: | iflag |
flag for tracking iteration. |