vec_msub
Purpose
Returns a vector containing the results of performing a multiply-subtract operation using the given vectors.
Syntax
d=vec_msub(a, b, c)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a | b | c |
---|---|---|---|
vector float | vector float | vector float | vector float |
vector double | vector double | vector double | vector double |
Result value
This function multiplies each element in a by the corresponding element in b and then subtracts the corresponding element in c from the result.