Design a method that can compute the vector inner product.
You must define Vector class in the first place.
Write a demo program to verify your program works.
You should use constructors to initialize the two vectors.
Hint: The inner product is not a vector. It is a number (scalar).
沒有留言:
張貼留言