defadj-methods: Define custom adjoint methods

Description Usage Arguments

Description

Define methods to take analytic gradients for a custom function

Usage

1
2
3
4
defadj(f, ...)

## S4 method for signature 'ANY'
defadj(f, ...)

Arguments

f

a custom function

...

list of functions that define how gradients are computed w.r.t the number of an argument


dirmeier/jar documentation built on Dec. 20, 2021, 12:03 a.m.