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 | ||
) |
Definition at line 191 of file rootstest.f90.
◆ 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.
◆ rootstest()
program rootstest | ( | ) |
- Test:
- Check solutions of root finding algorithms
The examples are taken from the book [engeln2011] .
Definition at line 32 of file rootstest.f90.