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

Function f

examples/reverse/example-reverse-single-variable-function.cpp:10–13  ·  view source on GitHub ↗

The single-variable function for which derivatives are needed

Source from the content-addressed store, hash-verified

8
9// The single-variable function for which derivatives are needed
10var f(var x)
11{
12 return 1 + x + x*x + 1/x + log(x);
13}
14
15int main()
16{

Callers 1

mainFunction · 0.70

Calls 1

logFunction · 0.50

Tested by

no test coverage detected