![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
Returns the minimum of a scalar and variable, promoting the scalar to a variable if it is larger (C99).
For fmin(a, b), if a is less than b's value, then a fresh variable implementation wrapping a is returned, otherwise b is returned.
| a | First value. | 
| b | Second variable. |