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