MCPcopy Create free account
hub / github.com/autodiff/autodiff / f

Function f

examples/forward/example-forward-multi-variable-function.cpp:9–12  ·  view source on GitHub ↗

The multi-variable function for which derivatives are needed

Source from the content-addressed store, hash-verified

7
8// The multi-variable function for which derivatives are needed
9dual f(dual x, dual y, dual z)
10{
11 return 1 + x + y + z + x*y + y*z + x*z + x*y*z + exp(x/y + y/z);
12}
13
14int main()
15{

Callers 1

mainFunction · 0.70

Calls 1

expFunction · 0.50

Tested by

no test coverage detected