English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-12-09 23:22:22 · 2 answers · asked by You Know Who Must Not Be Named 3 in Science & Mathematics Mathematics

2 answers

There is no one program, and the fact that you asked for "the" program suggests that you haven't a clue what you are asking for.

Check out the "Numerical Recipes" series and find out:
http://www.nrbook.com/nr3/

2007-12-15 17:49:47 · answer #1 · answered by simplicitus 7 · 0 1

A matrix is in simple terms a multi-dimensional array. to make specific, that's a 2-dimensional array. So in elementary terms a pair arrays to hold this type of archives you go with will artwork. anticipate you're making a be conscious seek for for and choose a 20x20 matrix. you may desire to define it as char myMatrix[20][20]; ok - you at recent have a 20x20 matrix. gaining get right of entry to to each and each place is difficulty-loose... myMatrix[10][10] = 'A'; we've incredibly located the letter a indoors the midst of the matrix. To fill the full matrix with the letter A, do incredibly some element like: for (x=0; x<20; x++) { for (y=0; y<20; y++) matrix[x][y]='A'; } you're in a position to have a matrix of any datatype - that's as lots as you. And to make it worldwide or now no longer is likewise as lots as you.

2016-11-14 07:13:29 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers