1#ifndef STAN_MATH_PRIM_FUN_SD_HPP
2#define STAN_MATH_PRIM_FUN_SD_HPP
24template <
typename T, require_container_t<T>* =
nullptr,
25 require_not_st_var<T>* =
nullptr>
26inline auto sd(
const T& m) {
double variance(const T &a)
Return the sample variance of the var_value matrix Raise domain error if size is not greater than zer...
fvar< T > sqrt(const fvar< T > &x)
void check_nonzero_size(const char *function, const char *name, const T_y &y)
Check if the specified matrix/vector is of non-zero size.
double sd(const T &a)
Returns the unbiased sample standard deviation of the coefficients in the specified std vector,...
typename scalar_type< T >::type scalar_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...