1#ifndef STAN_MATH_PRIM_FUN_MAX_SIZE_HPP
2#define STAN_MATH_PRIM_FUN_MAX_SIZE_HPP
19template <
typename T1,
typename... Ts>
20inline int64_t
max_size(
const T1& x1,
const Ts&... xs) {
int64_t size(const T &m)
Returns the size (number of the elements) of a matrix_cl or var_value<matrix_cl<T>>.
int64_t max_size(const T1 &x1, const Ts &... xs)
Calculate the size of the largest input.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...