grad_func Interface

interface
private subroutine grad_func(me, x, g)

Arguments

Type IntentOptional Attributes Name
class(nlesolver_type), intent(inout) :: me
real(kind=wp), intent(in), dimension(:) :: x
real(kind=wp), intent(out), dimension(:,:) :: g

Description

compute the gradient of the function (Jacobian). Dense version.