Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Inequality operator comparing two variables' values (C++).
\[ \mbox{operator!=}(x, y) = \begin{cases} 0 & \mbox{if } x = y\\ 1 & \mbox{if } x \neq y \\[6pt] 0 & \mbox{if } x = \textrm{NaN or } y = \textrm{NaN} \end{cases} \]
a | First variable. |
b | Second variable. |
Definition at line 30 of file operator_not_equal.hpp.