Jacobi Eigenvalue Algorithm - Cost

Cost

Each Jacobi rotation can be done in n steps when the pivot element p is known. However the search for p requires inspection of all N ≈ ½ n2 off-diag elements. We can reduce this to n steps too if we introduce an additional index array with the property that is the index of the largest element in row i, (i = 1, …, n − 1) of the current S. Then (k, l) must be one of the pairs . Since only columns k and l change, only must be updated, which again can be done in n steps. Thus each rotation has O(n) cost and one sweep has O(n3) cost which is equivalent to one matrix multiplication. Additionally the must be initialized before the process starts, this can be done in n2 steps.

Typically the Jacobi method converges within numerical precision after a small number of sweeps. Note that multiple eigenvalues reduce the number of iterations since .

Read more about this topic:  Jacobi Eigenvalue Algorithm

Famous quotes containing the word cost:

    I acknowledge that the balance I have achieved between work and family roles comes at a cost, and every day I must weigh whether I live with that cost happily or guiltily, or whether some other lifestyle entails trade-offs I might accept more readily. It is always my choice: to change what I cannot tolerate, or tolerate what I cannot—or will not—change.
    Melinda M. Marshall (20th century)

    In the early days of the world, the Almighty said to the first of our race “In the sweat of thy face shalt thou eat bread”; and since then, if we except the light and the air of heaven, no good thing has been, or can be enjoyed by us, without having first cost labour.
    Abraham Lincoln (1809–1865)

    If music in general is an imitation of history, opera in particular is an imitation of human willfulness; it is rooted in the fact that we not only have feelings but insist upon having them at whatever cost to ourselves.... The quality common to all the great operatic roles, e.g., Don Giovanni, Norma, Lucia, Tristan, Isolde, Brünnhilde, is that each of them is a passionate and willful state of being. In real life they would all be bores, even Don Giovanni.
    —W.H. (Wystan Hugh)