function out=sd(W,Nit)
Input:
- W:
matrix containing initial guess for eigensolutions
- Nit: Number of iterations desired
Output:
- out: Result of Nit iterations of steepest descents
- DISPLAY: with each iteration, print the result of getE() on current solutions
Provide a function of the above prototype which performs Nit
iterations of the steepest descents algorithm with a step size of
. (You may wish to play with
later
to see if you can find a better value.)
Subsections
Tomas Arias
2005-04-03