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

◆ zeros_array()

std::vector< double > stan::math::zeros_array ( int  K)
inline

Return an array of zeros.

Parameters
Ksize of the array
Returns
an array of size K with all elements initialized to 0.
Exceptions
std::domain_errorif K is negative.

Definition at line 17 of file zeros_array.hpp.