Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Game Program Other Games
Title: juzhenxiangcheng Download
  • Category:
  • Other Games
  • Tags:
  • File Size:
  • 11kb
  • Update:
  • 2013-02-23
  • Downloads:
  • 0 Times
  • Uploaded by:
  • 458893957
 Description: Write a program, you can achieve the m* n matrix and n* p matrix multiplied. m, n, p are less than 10, the matrix elements are integers. Analysis: First of all, we can write the function header according to the meaning of the questions. As void MatrixMutiply (int m, int n, int p, long lMatrix1 [MAX] [MAX], long lMatrix2 [MAX] [MAX], long lMatrixResult [MAX] [MAX]) of which lMatrix1 and lMatrix2, are input m* N matrix and n* p matrix, lMatrixResult is the output of m* p matrix. M, n and p are unknown quantity, the size of the matrix to be processed is variable. However, we can define a large two-dimensional arrays, which use only part of the array elements. M* p nested relatively simple matrix multiplication algorithm, the input of an m* n matrix, and an n* p matrix, the inevitable result is a matrix of m* p, there are m* p elements, each element needs to be calculated and can be used loop calculation. Matrix multiplication formula: cycle directly apply the above formula to calculate ea
 Downloaders recently: [More information of uploader 458893957]
 To Search:
File list (Check if you may need any files):
 

矩阵相乘.docx
    

CodeBus www.codebus.net