X = fma(A, B, C)
computes A.*B+C using a fused
multiply add approach. Fused multiply add operations round only once, often making the
result more accurate than performing a multiplication operation followed by an
addition.
Input array, specified as a floating-point scalar, vector, matrix, or
multidimensional array. When A and B are
matrices, fma performs element-wise multiplication followed by
addition.
Input array, specified as a floating-point scalar, vector, matrix, or
multidimensional array. When A and B are
matrices, fma performs element-wise multiplication followed by
addition.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.