![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Subtraction operator for scalar and variable.
The derivative for the variable is
\(\frac{\partial}{\partial y} (c-y) = -1\), and
| Var | value type of a var |
| Arith | An arithmetic type |
| a | First scalar operand. |
| b | Second variable operand. |
Definition at line 101 of file operator_subtraction.hpp.