Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ operator>=() [6/8]

bool stan::math::operator>= ( const var a,
const var b 
)
inline

Greater than or equal operator comparing two variables' values (C++).

\[ \mbox{operator\textgreater=}(x, y) = \begin{cases} 0 & \mbox{if } x < y\\ 1 & \mbox{if } x \geq y \\[6pt] 0 & \mbox{if } x = \textrm{NaN or } y = \textrm{NaN} \end{cases} \]

Parameters
aFirst variable.
bSecond variable.
Returns
True if first variable's value is greater than or equal to the second's.

Definition at line 28 of file operator_greater_than_or_equal.hpp.