TriMat

所属分类:数据结构
开发工具:Visual C++
文件大小:572KB
下载次数:3
上传日期:2006-06-01 09:28:25
上 传 者vegaliming
说明:  在目录“\上三角矩阵类的实现”中给定了文件triMat.cpp、triMat.h,请把triMat.h文件中的9个填空位置补上正确的代码,使triMat.cpp能完成上三角矩阵的加、减、乘运算。要求输入: 输入矩阵维数:4 输入矩阵a的元素(包括0): 1 2 3 4 0 1 2 3 0 0 1 2 0 0 0 1 输入矩阵b的元素(包括0): 1 2 3 4 0 1 2 3 0 0 1 2 0 0 0 1
(in the directory "\ triangular matrices on the achievement," given the document triMat.cpp. triMat.h invited to triMat.h documents fill up the nine positions make up the correct code, so triMat.cpp complete triangular matrix on the addition, subtraction, multiplication. Importation : input matrix dimension : a four input matrix elements (including 0) : 1 2 3 4 0 1 2 3 0 0 1 2 0 0 0 1 b of the input matrix elements (including 0) : 1 2 3 4 0 1 2 3 0 0 1 2 0 0 0 1)

文件列表:
ex4\StdAfx.h (667, 2006-05-24)
ex4\StdAfx.cpp (290, 2006-05-24)
ex4\ex4.dsp (4500, 2006-05-24)
ex4\ex4.dsw (531, 2006-05-24)
ex4\ex4.ncb (41984, 2006-05-25)
ex4\TriMat.h (3416, 2006-05-22)
ex4\ex4.plg (1319, 2006-05-24)
ex4\ex4.cpp (532, 2006-05-24)
ex4\ex4.opt (53760, 2006-05-25)
ex4\Debug (0, 2006-05-29)
ex4 (0, 2006-05-29)

======================================================================== CONSOLE APPLICATION : ex4 ======================================================================== AppWizard has created this ex4 application for you. This file contains a summary of what you will find in each of the files that make up your ex4 application. ex4.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. ex4.cpp This is the main application source file. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named ex4.pch and a precompiled types file named StdAfx.obj. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. /////////////////////////////////////////////////////////////////////////////

近期下载者

相关文件


收藏者