Stan Math Library
5.0.0
Automatic Differentiation
|
Returns the maximum of the variable and scalar, promoting the scalar to a variable if it is larger (C99).
For fmax(a, b)
, if a's value is greater than b, then a is returned, otherwise a fresh variable implementation wrapping the value b is returned.
a | First variable. |
b | Second value |