Skip to content

Optional data argument for gradient and jacobian functions #9

@Nicholaswogan

Description

@Nicholaswogan

Would be nice if the gradient and jacobian functions accepted an optional data parameter. The interface would look something like this:

  abstract interface
     function dependent_function (x, dat) result (fx)
       import :: var
       type(var), intent(in) :: x(:)
       class(*), optional, intent(in) :: dat
       type(var) :: fx
     end function dependent_function
  end interface

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions