gradientfcn Interface

interface
public subroutine gradientfcn(x, g)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:) :: x

An N-element array containing the independent variables.

real(kind=real64), intent(out), dimension(:) :: g

An N-element array where the gradient vector will be written as output.

Description

Describes a routine capable of computing the gradient vector of an equation of N variables.