diff --git a/README.md b/README.md index d53c87b..5d10e5a 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,38 @@ This version is a modernization of the original Fortran 77 code. This is a work Further updates are planned... +### Decision trees + +#### Decision tree for systems of nonlinear equations + +```mermaid +flowchart TB + start[Is the Jacobian matrix available?] + start--Yes-->middle1[Is flexibility required?] + start--No-->middle2[Is flexibility required?] + middle1--Yes-->b1[hybrj] + middle1--No-->b2[hybrj1] + middle2--Yes-->b3[hybrd] + middle2--No-->b4[hybrd1] +``` + +#### Decision tree for nonlinear least squares problems + +```mermaid +flowchart TB + start[Is the Jacobian matrix available?] + start--Yes-->m1[Is storage limited?] + start--No-->m2[Is flexibility required?] + m1--Yes-->ml1[Is flexibility required?] + m1--No-->ml2[Is flexibility required?] + ml1--Yes-->b1[lmstr] + ml1--No-->b2[lmstr1] + ml2--Yes-->b3[lmder] + ml2--No-->b4[lmder1] + m2--Yes-->mr1[lmdif] + m2--No-->mr2[lmdif1] +``` + ### Documentation * The API documentation for the latest default branch can be found [here](https://fortran-lang.github.io/minpack/). This is generated by processing the source files with [FORD](https://github.com/Fortran-FOSS-Programmers/ford).