![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
The fused multiply-add function for a variable, value, and variable (C99).
This function returns the product of the first two arguments plus the third argument.
The partial derivatives are
\(\frac{\partial}{\partial x} (x * y) + z = y\), and
\(\frac{\partial}{\partial z} (x * y) + z = 1\).
| Ta | type of the first multiplicand |
| Tb | type of the second multiplicand |
| Tc | type of the summand |
| x | First multiplicand. |
| y | Second multiplicand. |
| z | Summand. |