Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
zeros_vector()
auto stan::math::zeros_vector
(
int
K
)
inline
Return a vector of zeros.
Parameters
K
size of the vector
Returns
A vector of size K with all elements initialized to 0.
Exceptions
std::domain_error
if K is negative.
Definition at line
17
of file
zeros_vector.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.