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).
Sample answer
電子三乙9426202蘇柏寬
回覆刪除電子三乙9426212黃嘉弘
回覆刪除9444162資管三甲陳怡如
回覆刪除電子三甲9426147吳尚毅
回覆刪除電子三丙9426364張家瑜
回覆刪除李文森 電子3乙 9426228
回覆刪除電子四乙9326246陳彥良
回覆刪除電子四乙9326206許鈞量
回覆刪除電子四乙 9326227 彭書敏
回覆刪除電子三甲9426130曾瑋書
回覆刪除電子四乙9326256劉緯宏
回覆刪除電子三丙9426324詹敬翔
回覆刪除電子四甲9326125曾韋碩
回覆刪除電子三甲 9426114 鄭安舜
回覆刪除9442234 莊淳雅 貿三乙
回覆刪除電子三乙9426219郭逸興
回覆刪除電子四丙 9326309 吳岱祐
回覆刪除電子三甲9426113陳明哲
回覆刪除電子4丙 梁彥
回覆刪除電子四乙 9326223 李其霖
回覆刪除醫工四甲9325121東峻平
回覆刪除電子四乙 9326222 黃璽祐 Homework 12/21/2007
回覆刪除