need urgent help on a function

this might sound utterly trivial but i have no idea how to extract a row or a column from a matrix and put it in a C function...can anyone please help??
I need to be able to use a function, which,when called should extract each row of a matrix at a time and after all the rows are done, proceed to the columns...
[316 byte] By [lassys] at [2007-11-19 20:54:38]
# 1 Re: need urgent help on a function
make a dry run of your program .and try to find out what's your requirement and how u can achieve this.

First make a matrix on some paper now see how to extract a row from matrix.

That's all u have to do
Thankyou
humptydumpty at 2007-11-10 3:45:53 >
# 2 Re: need urgent help on a function
Hi...what I need to do in C is to write a code to extract a row from a mtrix and perform a calculation on it and then take the next row and do the same and so on...then take the columns one by one and perform calculations on them...after that,the resultant matrix shd be all these row and column vectors brought together...I know how to do it on paper but not on a C program...can u help with that? anyone?
lassys at 2007-11-10 3:46:53 >
# 3 Re: need urgent help on a function
if u r able to perform this operation on paper then what's the problem in case of writing a program in C simply u have to use only for loop nothing else
humptydumpty at 2007-11-10 3:47:51 >
# 4 Re: need urgent help on a function
Hi...what I need to do in C is to write a code to extract a row from a mtrix and perform a calculation on it and then take the next row and do the same and so on...then take the columns one by one and perform calculations on them...after that,the resultant matrix shd be all these row and column vectors brought together...I know how to do it on paper but not on a C program...can u help with that? anyone?

Put your pseudo-code here and I can help you with the C code.
ablaye at 2007-11-10 3:48:56 >