template<typename U , typename V , typename = require_any_autodiff_scalar_t<U, V>>
| bool stan::math::operator== |
( |
const U & |
x, |
|
|
const std::complex< V > & |
y |
|
) |
| |
|
inline |
Return true if the first argument is equal to the real part of the second argument and the imaginary part of the second argument is zero.
- Template Parameters
-
| U | type of first argument |
| V | value type of second argument |
- Parameters
-
| x | first argument |
| y | second argument |
- Returns
true if the arguments are equal
Definition at line 55 of file operator_equal_equal.hpp.