MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
MathUtil.f90 File Reference

Go to the source code of this file.

Data Types

interface  mathutilmodule::mod_offset
interface  mathutilmodule::f1d

Modules

module  mathutilmodule

Functions/Subroutines

pure logical function, public mathutilmodule::is_close (a, b, rtol, atol, symmetric)
 Check if a real value is approximately equal to another.
pure integer(i4b) function mathutilmodule::mod_offset_int (a, n, d)
 Modulo with offset for integer values.
pure real(dp) function mathutilmodule::mod_offset_dbl (a, n, d)
 Modulo with offset for double precision values.
real(dp) function, public mathutilmodule::zero_ch (x0, x1, f, epsa)
 Compute zeros on an interval using Chadrupatla's method.
real(dp) function, public mathutilmodule::zero_br (ax, bx, f, tol)
 Compute a zero of the function f(x) in the interval (x0, x1).
real(dp) function, public mathutilmodule::get_perturbation (x)
 Calculate a numerical perturbation given the value of x.
pure real(dp) function, dimension(:), allocatable, public mathutilmodule::arange (start, stop, step)
 Return reals separated by the given step over the given interval.
pure real(dp) function, dimension(:), allocatable, public mathutilmodule::linspace (start, stop, num)
 Return evenly spaced reals over the given interval.