Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
The fused multiply-add function for two variables and a value (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 y} (x * y) + z = x\).
Tc | type of the summand |
x | First multiplicand. |
y | Second multiplicand. |
z | Summand. |