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

◆ add() [2/4]

template<typename T , typename = void>
template<typename S , require_matrix_t< S > * = nullptr>
void stan::math::accumulator< T, typename >::add ( const S &  m)
inline

Add each entry in the specified matrix, vector, or row vector of values to the buffer.

Template Parameters
Stype of the matrix
Parameters
mMatrix of values to add

Definition at line 52 of file accumulator.hpp.