samedi 15 juillet 2017

how to deal with preforated matrix by linked lists

please can anyone code this program for me Question: We call the matrix where there is a matrix of zeros perforated so it is stored and the dimensions of the matrix elements of non-zero only in a linear series

Where val: the value of the item in the line i and column J The required language c + +: Determine the structure of the data and writing the necessary software required partial

readhmat: read the matrix elements of income and stores it in a variable pattern of holemat writehmat: writes matrix pattern of holemat ( different elements from zero only) addhmat: combines two matrices of pattern holemat and puts the output in a matrix of the same pattern sumhmat: combines all the elements of the matrix pattern holemat maxmat: gives the largest element of the matrix elements of style holemat

Aucun commentaire:

Enregistrer un commentaire