1#ifndef STAN_MATH_PRIM_ERR_IS_LESS_OR_EQUAL_HPP
2#define STAN_MATH_PRIM_ERR_IS_LESS_OR_EQUAL_HPP
25template <
typename T_y,
typename T_high>
28 const auto& y_ref =
to_ref(y);
30 if (!(
stan::get(y_ref, n) <= high_vec[n])) {
scalar_seq_view provides a uniform sequence-like wrapper around either a scalar or a sequence of scal...
T get(const T &x, size_t n)
Returns the provided element.
int64_t size(const T &m)
Returns the size (number of the elements) of a matrix_cl or var_value<matrix_cl<T>>.
ref_type_t< T && > to_ref(T &&a)
This evaluates expensive Eigen expressions.
bool is_less_or_equal(const T_y &y, const T_high &high)
Return true if y is less or equal to high.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...