1#ifndef STAN_MATH_REV_FUN_AS_COLUMN_VECTOR_OR_SCALAR_HPP
2#define STAN_MATH_REV_FUN_AS_COLUMN_VECTOR_OR_SCALAR_HPP
18template <
typename T, require_var_col_vector_t<T>* =
nullptr>
20 return std::forward<T>(a);
30template <
typename T, require_var_row_vector_t<T>* =
nullptr,
31 require_not_var_col_vector_t<T>* =
nullptr>
auto as_column_vector_or_scalar(T &&a)
as_column_vector_or_scalar of a kernel generator expression.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...