C program for marix

haditya

Joined Jan 19, 2004
220
that should be relatively easy..u check for a11 to be no zero..if yes then make it one and reduce all elements below it to zero...if a11 is zero then interchange a1 row with some row havin non zero 1st element.. and carry out the operation on the new matrix...
the same can be repeated for other rows where u chk for a[j][k] ,k> the k of the preceeding row to be non zero and all element in that column belo row to be zero
recursion shud make your job easy
 
Top