What is the function of a vector?

Function Description dot_product (vector_a, vector_b) This function returns a scalar product of two input vectors, which must have the same length. matmul (matrix_a, matrix_b) It returns the matrix product of two matrices, which must be consistent, i.e. have the dimensions like (m, k) and (k, n)
For More Information Please Refer:
https://www.tutorialspoint.com/fortran/vector_and_matrix_multiplication.htm
You May Also Like to Read: