Direct vs Iterative Solver
Could anyone tell me abt the diff between direct and iterative solver? Like which one is preferred under what conditions?
Regards,
You might use iterative solving when the calculation is too complex for using direct calculation. Particularly when calculating an answer changes the parameters of the equation.
Example, what is the resistance developed by a zener diode when it is used as a conventional voltage regulator? Known values are zener voltage, the load resistance, and the topmost limiting resistor (conventional layout).
The first answer is easy and straighforward. However it is not the correct answer. The parameters of the nodal connection have been altered. This creates a new equation.
Two or more repeat calculations must be performed, before the same answer starts to emerge (to however many decimal places you want).
Another example. There is an equation for creating each pixel of a fractal image (I believe it's the Mandelbrot set). Not surprising. However the value of the pixel is based not on an equation yielding a particular value, but on how many times the equation must be iterated before converging on the solution.
.