Using NR (Newton Raphson) for complex variables


coolsaravanan
07-13-2005, 07:57 PM
Hi,

I am new to the NR forum and it is interesting to read all the questions that get answered in this forum..:) ...

I have a question of my own...

Using the Newton-Raphson routine provided in the book, I modified my code to work to calculate the roots of a function in complex variables (using constant real parameters).

My goal is to minimize the function to obtain the best set of real parameters. This leads to the situation of linking the Simplex and the complex-variable newton raphson subroutine, that is just killing the living hell out of me....The problem occurs in the subroutine 'LU decomposition' where the matrix becomes singular...

Has anybody worked in this lines before?..If so can I get a few tips so that I don't piss the code off....:p

--Saravanan:confused: