fortran-lang / minpack

Modernized Minpack: for solving nonlinear equations and nonlinear least squares problems
https://fortran-lang.github.io/minpack/
Other
97 stars 20 forks source link

Modernize the examples #62

Closed jacobwilliams closed 2 years ago

jacobwilliams commented 2 years ago

Similar to what was done for the tests.

Should we move the examples into the test folder? Or is there a reason to keep them separate?

epagone commented 2 years ago

Should we move the examples into the test folder? Or is there a reason to keep them separate?

fpm has separate concepts (and directories) for tests and examples. I personally think, as a perspective user, that this is the right way to go because they fulfil different goals.

ivan-pi commented 2 years ago

I also think these are separate concepts. Examples should really be mini-apps, showing how MINPACK is used in practice. Examples should be commented heavily and have more of a "tutorial" purpose. In the future, examples could also be adapted to run in a dynamic environment such as Jupyter.