rootstest.f90 File Reference
Go to the source code of this file.
Functions/Subroutines | |
program | rootstest |
subroutine | printresults (method, root, ref_root, error, iter) |
pure subroutine | func (x, fx, plist) |
pure subroutine | funcd (x, fx, dfx, plist) |
Function/Subroutine Documentation
◆ func()
pure subroutine func | ( | real, intent(in) | x, |
real, intent(out) | fx, | ||
real, dimension(:), intent(in), optional | plist | ||
) |
◆ funcd()
pure subroutine funcd | ( | real, intent(in) | x, |
real, intent(out) | fx, | ||
real, intent(out) | dfx, | ||
real, dimension(:), intent(in), optional | plist | ||
) |
Definition at line 229 of file rootstest.f90.
◆ printresults()
subroutine rootstest::printresults | ( | character(len=*), intent(in) | method, |
real, intent(in) | root, | ||
double precision, intent(in) | ref_root, | ||
integer, intent(in) | error, | ||
integer, intent(in) | iter | ||
) |
Definition at line 158 of file rootstest.f90.
Here is the call graph for this function:

Here is the caller graph for this function:

◆ rootstest()
program rootstest |
- Test:
- Check solutions of root finding algorithms
The examples are taken from the book [13] .
Definition at line 32 of file rootstest.f90.
Here is the call graph for this function:
