MCPcopy Create free account
hub / github.com/coin-or/CppAD / abs2

Function abs2

include/cppad/example/cppad_eigen.hpp:187–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 template <class Base> AD<Base> imag(const AD<Base>& x)
186 { return CppAD::AD<Base>(0.); }
187 template <class Base> AD<Base> abs2(const AD<Base>& x)
188 { return x * x; }
189}
190/* {xrst_code}
191{xrst_spell_on}

Callers 1

cppad_eigenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected