VEC_NMSUB(ARG1, ARG2, ARG3)

Purpose

Returns a vector containing the results of performing a negative multiply-subtract operation on the given vectors.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) real vector.
ARG2
An INTENT(IN) vector of the same type as ARG1.
ARG3
An INTENT(IN) vector of the same type as ARG1.

Result type and attributes

The result is a vector of the same type as ARG1.

Result value

The value of each element of the result is the product of the corresponding elements of ARG1 and ARG2, subtracted from the corresponding element of ARG3.