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

◆ add() [1/4]

template<typename T , typename = void>
template<typename S , typename = require_stan_scalar_t<S>>
void stan::math::accumulator< T, typename >::add ( x)
inline

Add the specified arithmetic type value to the buffer after static casting it to the class type T.

See the std library doc for std::is_arithmetic for information on what counts as an arithmetic type.

Template Parameters
SType of argument
Parameters
xValue to add

Definition at line 40 of file accumulator.hpp.