Stan Math Library
5.0.0
Automatic Differentiation
|
Greater than operator comparing variables' values (C++).
\[ \mbox{operator\textgreater}(x, y) = \begin{cases} 0 & \mbox{if } x \leq y\\ 1 & \mbox{if } x > y \\[6pt] 0 & \mbox{if } x = \textrm{NaN or } y = \textrm{NaN} \end{cases} \]
a | First variable. |
b | Second variable. |
Definition at line 26 of file operator_greater_than.hpp.