9.80. DOT_PRODUCT

9.80 DOT_PRODUCT — Dot product function

Description:
DOT_PRODUCT(VECTOR_A, VECTOR_B) computes the dot product multiplication of two vectors VECTOR_A and VECTOR_B. The two vectors may be either numeric or logical and must be arrays of rank one and of equal size. If the vectors are INTEGER or REAL, the result is SUM(VECTOR_A*VECTOR_B). If the vectors are COMPLEX, the result is SUM(CONJG(VECTOR_A)*VECTOR_B). If the vectors are LOGICAL, the result is ANY(VECTOR_A .AND. VECTOR_B).
Standard:
Fortran 95 and later
Class:
Transformational function
Syntax:
RESULT = DOT_PRODUCT(VECTOR_A, VECTOR_B)
Arguments:
VECTOR_A The type shall