翻訳と辞書
Words near each other
・ isps
・ ist
・ istar
・ istm
・ isv
・ iswim
・ it
・ it's a feature
・ itar
・ iterated function system
iteration
・ iterative deepening
・ iterator
・ iternet
・ ithaca
・ itil
・ itp
・ its
・ itsp
・ itu


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

iteration : FOLDOC
iteration
Repetition of a sequence of instructions. A fundamental part of many algorithms. Iteration is characterised by a set of initial conditions, an iterative step and a termination condition.
A well known example of iteration in mathematics is Newton-Raphson iteration. Iteration in programs is expressed using loops, e.g. in C:
new_x = n/2;
do
{
x = new_x;
new_x = 0.5 * (x + n/x);
} while (abs(new_x-x) > epsilon);

Iteration can be expressed in functional languages using recursion:
solve x n = if abs(new_x-x) > epsilon
then solve new_x n
else new_x
where new_x = 0.5 * (x + n/x)

solve n/2 n

(1998-04-04)



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.