public interface d_dx
It gives a numerical derivative.
Module Procedures
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
public function func(x)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=real64),
|
intent(in) |
|
|
:: |
x |
|
Return Value
real(kind=real64)
|
real(kind=real64),
|
intent(in) |
|
|
:: |
x |
|
real(kind=real64),
|
intent(in), |
optional |
|
:: |
eps |
|
Return Value
real(kind=real64)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
public function func(x) result(ret)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=real64),
|
intent(in) |
|
|
:: |
x(:) |
|
Return Value
real(kind=real64), allocatable, (:)
|
real(kind=real64),
|
intent(in) |
|
|
:: |
x(1:dim_num) |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
dim_num |
|
real(kind=real64),
|
intent(in), |
optional |
|
:: |
eps |
|
Return Value
real(kind=real64), allocatable, (:)