Skip to content

bryand4140/FORTRAN-Root-Finding-Toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FORTRAN-roots

Description

A modern FORTRAN library for finding the roots of single variable functions and nth-order polynomials.

Compiling and Executing

A Makefile is provided to build the code and has been written to be compatible with Windows and Linux OS. The Makefile has been configured to use main or test as the default executable. To build the code, use

make main.exe

By default, the code is built with double precision (real64). This can be changed within the module MOD_Select_Real_Kind.f90. After the code is built, module and executable files will be placed in a build directory. Use

./main

to run the code with your main program. Additionally, a fpm.toml file has been provided for users of the FORTRAN Package Manager (FPM) Fortran Package Manager.

Methods

The code currently contains the following codes:

  • fun_zero - Finding the root of a single-valued function within a bounded interval
  • poly_roots- Finds the real and complex roots of an nth-degree polynomial

Detailed documentation on how to use the codes is provided in the PDF "FORTRAN_Roots_User_Guide.pdf"

About

A Modern FORTRAN library for finding roots of single variable functions and polynomials.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published