Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
RequireInitialization 

stan::math::fvar requires initialization

ReadCost 

twice the cost to copy a double

AddCost 

2 * AddCost
(a + b) = a + b
(a + b)' = a' + b'

MulCost 

3 * MulCost + AddCost
(a * b) = a * b
(a * b)' = a' * b + a * b'

Definition at line 19 of file Eigen_NumTraits.hpp.