I am solving a linear system of equation currently i am using
numpy.linalg.solve
It returns the solution of the linear system. I want to have a control such that i can execute iterations
Considering another option
scipy.optimize.minimize
Documentation describes that we can specify a function which is called after every iteration and we could have current parameters. I am not sure if they meant that we could get the current resultant vector. e.g Simply I want to access x after every iteration, while we are solving Ax=b
I am wondering if somebody has worked with it and can explain!
Thanks