1#ifndef STAN_MATH_REV_CORE_OPERATOR_EQUAL_HPP
2#define STAN_MATH_REV_CORE_OPERATOR_EQUAL_HPP
28 return a.val() == b.val();
41template <
typename Arith, require_arithmetic_t<Arith>* =
nullptr>
55template <
typename Arith, require_arithmetic_t<Arith>* =
nullptr>
70 return x == z.real() && 0 == z.imag();
83 return z.real() == y && z.imag() == 0;
bool operator==(const fvar< T > &x, const fvar< T > &y)
Return true if the specified variables have equal values as defined by ==.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...