Stan Math Library
4.9.0
Automatic Differentiation
|
The fused multiply-add function for three variables (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\), and
\(\frac{\partial}{\partial z} (x * y) + z = 1\).
x | First multiplicand. |
y | Second multiplicand. |
z | Summand. |