Questions tagged [fixed-point-iteration]

Questions about fixed-point iteration, a method for calculating fixed points of functions. For combinators used to encode recursion, use [fixpoint-combinators] instead. For fixed-point arithmetic, use [fixed-point] instead. For the fixedpoint engine of Z3, use [z3-fixedpoint] instead.

A fixed point of a function f(x) is a value c such that f(c) = c. In words, a function takes its fixed points to themselves. Fixed points can be computed by an iterative algorithm. Various numerical analysis problems can be expressed in terms of obtaining fixed points, one example being Newton's method for obtaining roots of an equation (see the tag).

47 questions
-3
votes
1 answer

Stopping criteria matlab iteration

I want to add an While-loop to my matlab-code so that it will stop when the iteration is good enough. With some kind of tolerance, eg. 1e-6. This is my code now. So i need to add some kind of stopping criteria, i have tried several times now but it…
jossis
  • 1
  • 1
  • 1
-4
votes
3 answers

Solve this equation with fixed point iteration method in python

f(x) = x^2- 2x - 3 = 0 How can I solve this equation non-linear, and used fixed point iteration method in Python ?
1 2 3
4