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

◆ zeros_vector()

auto stan::math::zeros_vector ( int  K)
inline

Return a vector of zeros.

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

Definition at line 17 of file zeros_vector.hpp.