1 #ifndef STAN_MATH_PRIM_MAT_ERR_CHECK_MULTIPLICABLE_HPP
2 #define STAN_MATH_PRIM_MAT_ERR_CHECK_MULTIPLICABLE_HPP
32 template <
typename T1,
typename T2>
41 "Columns of ", name1, y1.cols(),
42 "Rows of ", name2, y2.rows());
bool check_positive_size(const char *function, const char *name, const char *expr, const int size)
Return true if size is positive.
bool check_multiplicable(const char *function, const char *name1, const T1 &y1, const char *name2, const T2 &y2)
Return true if the matrices can be multiplied.
bool check_size_match(const char *function, const char *name_i, T_size1 i, const char *name_j, T_size2 j)
Return true if the provided sizes match.