다음은 행렬 곱셈을 수행하는 C++ 언어 소스이다. 행의 수, 열의 수. 그리고 두 행렬의 요소들을 모두 컨솔에서 입력해야 한다. 소스는 http://www.physics.utah.edu/~detar/lessons/c++/matrices/node4.html 의 것을 다소 수정한 것이다. // Filename: testSomeMat-03.cpp // // Copmpile: cl /EHsc testSomeMat-03.cpp // Execute: testSomeMat-03 // // Date: 2003.9. 20. #include #include #include using namespace std; typedef vector Vec; typedef vector Mat; Vec operator*(const Ma..