1#ifndef STAN_MATH_PRIM_ERR_IS_MATCHING_SIZE_HPP
2#define STAN_MATH_PRIM_ERR_IS_MATCHING_SIZE_HPP
23template <
typename T_y1,
typename T_y2>
bool is_size_match(T_size1 i, T_size2 j)
Return true if the provided sizes match.
bool is_matching_size(const T_y1 &y1, const T_y2 &y2)
Return true if two structures are the same size.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...