Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacobwilliams/nlesolver-fortran

Nonlinear Equation Solver with Modern Fortran
https://github.com/jacobwilliams/nlesolver-fortran

broyden-method differential-correction-algorithm fortran fortran-package-manager lsmr lsqr lusol minimum-norm newton-raphson nonlinear-equation-solver nonlinear-equations quasi-newton

Last synced: about 1 month ago
JSON representation

Nonlinear Equation Solver with Modern Fortran

Awesome Lists containing this project

README

        

![nlesolver-fortran](media/logo.png)
============

Nonlinear Equation Solver with Modern Fortran.

A basic Newton-Raphson type nonlinear equation solver for dense systems with `m` functions of `n` input variables.

A work in progress.

### Status

[![Language](https://img.shields.io/badge/-Fortran-734f96?logo=fortran&logoColor=white)](https://github.com/topics/fortran)
[![CI Status](https://github.com/jacobwilliams/nlesolver-fortran/actions/workflows/CI.yml/badge.svg)](https://github.com/jacobwilliams/nlesolver-fortran/actions)
[![GitHub release](https://img.shields.io/github/release/jacobwilliams/nlesolver-fortran.svg)](https://github.com/jacobwilliams/nlesolver-fortran/releases/latest)
[![codecov](https://codecov.io/gh/jacobwilliams/nlesolver-fortran/branch/master/graph/badge.svg)](https://codecov.io/gh/jacobwilliams/nlesolver-fortran)
[![last-commit](https://img.shields.io/github/last-commit/jacobwilliams/nlesolver-fortran)](https://github.com/jacobwilliams/nlesolver-fortran/commits/master)

### Features

* Is object-oriented.
* Works with square, under-determined, or over-determined systems.
* Can use different methods to solve the linear system:
1. [LAPACK](https://www.netlib.org/lapack/) routines (`dgesv` or `dgels`) for dense systems: If `n=m`, uses `dgesv` (LU decomposition). If `n/=m`, uses `dgels` (if `m>n` uses QR factorization, if `m