Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. vesyyr

    matrix inverse

    for (x = 2; x <= n; x++) { for (z = 1; z <= n; z++){ if (z==i) {z++} if (z==n+1) {break} M[k,j]= a[x,z] j++} should fix the problem. But there must be more something wrong. With 4*4 matrix still gives wrong answer.
  2. vesyyr

    matrix inverse

    I got something done, but it only works for 2*2 and 3*3 matrices. There must be a mistake. I used the code I found somewhere: int determinant(int b[5][5],int m) //FUNCTION TO CALCULATE DETERMINANT { int i,j,sum = 0,c[5][5]; if(m==2) { //BASE...
  3. vesyyr

    matrix inverse

    I need to inverse a matrix given in a file. The problem is I'm stuck with writing determinant finding algoritm into code. I found this algoritm about finding determinant of nxn matrix. This is what i need: http://www.maths.surrey.ac.uk/explore/emmaspages/option1.html#top and here: a11 a12...

Part and Inventory Search

Back
Top