an [x,f(x)] cached pair.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=wp), | private, | dimension(:), allocatable | :: | x |
vector of input values |
||
real(kind=wp), | private, | dimension(:), allocatable | :: | f |
vector of output functions |
||
integer, | private, | dimension(:), allocatable | :: | ifs |
elements of |
type :: fx !! an [x,f(x)] cached pair. private real(wp),dimension(:),allocatable :: x !! vector of input values real(wp),dimension(:),allocatable :: f !! vector of output functions `f(x)` !! note: only the elements indicated by `ifs` !! will have valid values. The others will !! be dummy values. integer,dimension(:),allocatable :: ifs !! elements of `f` present in the cache !! (this is just an array of the indices !! present in `f`) end type fx