Theme

The thread: Whose fault is it — page 12

Essays 265 to 292 of the 351 on this theme, in the same order.
10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹110¹isotropic share εtread width over εseparable, 13.37mixture, 1.73dashed: first order · dots: measured, 10 × 10four digits from the symbols Structure, and the solver that cannot see it

The slopes were in the symbols

A separable BTTB kernel with a small isotropic part ε, preconditioned by the separable part's symbol circulant alone, has sixty-four eigenvalues at one that spread as ε grows — 13 times ε wide and shifted 7.7 times ε — while the mixture's own symbol spreads them only 1.7 times ε. Both slopes were predicted to follow, to five per cent, from first-order perturbation of that sixty-four-dimensional eigenspace: the shift as the mean of the perturbation's eigenvalues on it, the width as their spread. The widths come out at 13.372 and 1.732, matching the measurements to four digits. The shift does not come out as the mean, which is 5.77; it comes out as the midpoint of the extremes, 7.671, because that is what the measurement reads. And the decomposition says what the cheap preconditioner costs: the circulant part of the isotropic correction, which the separable symbol leaves in, carries ninety-nine per cent of its width. What looked like first order failing at a hundredth was the tread's centre moving, not its eigenvalues.

0102030405060radius 0.11graph 1cliquegraph 2cliquegraph 3cliquegraph 4cliquegraph 5cliquegraph 6cliquegraph 7cliquegraph 8cliqueradius 0.13graph 1cliquegraph 2cliquegraph 3cliquegraph 4cliquegraph 5cliquegraph 6cliquegraph 7cliquegraph 8cliqueradius 0.16graph 1cliquegraph 2cliquegraph 3cliquegraph 4cliquegraph 5cliquegraph 6cliquegraph 7cliquegraph 8cliqueseparator vertices; dark: touching only one sideevery one a clique, at every densityspare vertices, no broken clique Sparsity, and what elimination costs

The spare vertices lean one way

Every separator a dissection drew on grids and sparse geometric graphs was a clique once its pieces were eliminated, so the order inside it changed nothing; only a separator two rows thick, built by hand, was not. On geometric graphs at twice the density, level-set separators were predicted to come out several vertices thick where the level crosses a dense patch, with vertices touching only one side — failing the clique condition, making their order matter by more than five per cent, and paying more for trimming than for any order. On twenty-four graphs at three densities the spare vertices are there: up to thirteen in one separator. Not one separator fails the clique condition, because on every graph the spare vertices all touch the same piece, and two vertices that share a piece are joined through it. No shuffle of any separator moves the fill or the work by a single entry. Trimming the spare vertices into the piece they touch shortens the critical path by up to 48 per cent — and denser graphs have fewer of them, not more.

03103010030012 vertices, degree 4, 1 insideoutward 3, divisible by 3403413 vertices, degree 4, 1 insideoutward 3, divisible by 33412 vertices, degree 5, 2 insideoutward 3, divisible by 315432214 vertices, degree 5, 1 insideoutward 406214 vertices, degree 5, 2 insideoutward 3, divisible by 302switches giving a new graph, logarithmicdark: heard · light: silent1,500 graphs a caseonly when divisible, not always then The matrix that is a graph

Three is where it can hear

A Godsil–McKay switch on four vertices conjugates by a matrix of halves, and the critical group hears it at the prime two exactly when the switching set's indicator is a Laplacian null vector modulo two. On six vertices the matrix is of thirds, and the switch was predicted to be heard only at three, only when every vertex of the set has an outward degree divisible by three — and, on cubic graphs, whenever the set has no edge inside. On 621 switches of random quartic and quintic graphs, the first two clauses hold on every one: 197 are heard, all at three alone, all with outward degree three. But divisibility is no longer enough — it is heard on 54 per cent of the quartic switches and 32 per cent of the quintic — and the rank of the Laplacian modulo three, not the outward degree, is what tells the heard from the silent, on all but two. The cubic clause has nothing to apply to: a six-vertex switching set on a cubic graph forces the graph's order to be 8, 10 or 12, and every one of 9,985 such switches gives back the graph it started from.

blocks of 232 states×40 states×48 states×56 states×64 states×blocks of 432 states×40 states×48 states×56 states×64 states×blocks of 832 states×40 states×48 states×56 states×64 states×020406080100120barrier depth, octaves×the predicted lineblock window under an octaveblock window emptyfirst stops being exactexacta stored rate is zeroE4M3, every depth from 2 to 120the block fails where its window empties The arithmetic underneath

Twice the block, half the depth

An eight-bit chain kept exact by a window per step was predicted to keep exactness with one exponent shared by two states, and to lose it with four from the depth where four of its steepest steps span more than the narrowest window, 4.8 octaves. Blocks of two fail on four chains of five, at 66 to 114 octaves. Blocks of four fail at 35 to 66, two to three times deeper than the predicted 13 to 26. Every block size fails within three octaves of the depth where its block's window empties, and that depth is 4.0 to 4.6 octaves for each state a block holds.

0102030405060blur 1.5, noise 1%past 60blur 2.5, noise 1%blur 4, noise 1%blur 1.5, noise 0.1%past 60blur 2.5, noise 0.1%blur 4, noise 0.1%the short recurrenceone vector held offevery vector, formed at 10⁻¹³every vector, formed at 10⁻⁸first Ritz value convergedsecond convergedstep at which m parts from the reorthogonalised run'smedians and ranges over twelve drawsone vector buys a step at most Methods that were designed apart

The second value was not late

Holding conjugate gradients' new basis vectors off the first Ritz vector to converge was predicted to keep its filter power within 10⁻⁶ of a fully reorthogonalised run until the second Ritz value converged, six to twelve steps later. It removes every copy of the largest value, as predicted, on all seventy-two draws. It holds the power for at most one step. The second value converges one or two steps after the first, the third and fourth with it, and the basis loses orthogonality toward all of them at once. Holding off every Ritz vector as it converges holds the two runs together ten steps longer at least, and to the end of the run on the narrowest blur.

110¹110¹the order cut's needfirst-level readingthe kept pairings' ratiodearest kept overcheapest of alldashed: equaldotted: a factor 1.5seven tensors, sixty networksthe offer does not show the need Where the flop count stopped predicting the time

The need is set further on

A beam over contraction orders needs a wide tolerance at its partial-order cut, a median factor of 2.33 at seven tensors, and the beam was predicted to see that need in its own first level — the ratio of the dearest prefix it is offered to the cheapest, within a factor of 1.5 on four networks in five. The best such ratio is within 1.5 on 32 of 60, and none ranks the networks better than chance. A beam that sets its tolerance from its first level lands on the line the fixed tolerances draw. The ratio is exact where the need is set at the first level, and 35 of 60 networks set it later.

24685055606570758085decay's fall a trace after the turn, hundredthsspread used, % of the truemeasuredthe last ratio, squaredlast ratio over the nextmedians over 400 sequencesthe square holds only when the turn is symmetric Randomised, and the guarantee that changes kind

The fall sets the undershoot

A trend-carried spread meets a turn sharper than the drift before it — the decay rising 0.02 a trace and then falling 0.06 — and the prediction was a spread about 0.6 of the truth on the trace after the turn, coverage under 55 per cent, a fresh pilot there restoring it, and the sequence's average within two points. All four hold: 0.617, 48.5 per cent, 71.0 per cent, and 67.7 against the table's 68.3. What fails is the rule the earlier essay gave for the error, the square of the last ratio. The undershoot is the last ratio over the next one, and the coverage it costs is the normal table's at that fraction.

the geometric rule: 61% of n²the best possible: 30% of n²kept wholerank up to 6up to 20above 20n = 256 · ε = 10⁻⁸ · the same treethe rule cannot see the kernel Neither sparse nor dense

A far pair is not a smooth pair

The admissibility test reads four numbers per pair of clusters and not one entry of the matrix, which was presented as its great economy. It is also an assumption: that distance from the diagonal is smoothness. On the kernel it was built for it lands within an eighth of the least storage any partition of the same tree has. Move the singularity onto a line off the diagonal and it stores twice the least, admitting blocks of rank 35 that cost more than their entries. Put no singularity anywhere and it stores nearly six times the least, carefully refusing pairs that needed no refusal. A random probe of a few entries finds the best partition, and a larger one can miss the singular line altogether and store the whole matrix as one block of rank 165, unless it checks the rank before believing it.

10⁻¹⁶10⁻¹²10⁻⁸10⁻⁴1aligned, floor 10⁻⁸, κ(P)κ(Q) 1e+16square-root routeproduct routerotated, floor 10⁻⁸, κ(P)κ(Q) 1e+16square-root routeproduct routealigned, floor 10⁻¹², κ(P)κ(Q) 1e+24square-root routeproduct routerotated, floor 10⁻¹², κ(P)κ(Q) 1e+24square-root routeproduct routerelative error in the smallest σone κ(P)κ(Q) on each pairthe rotation, not the number Reduction, and what a model is for

The coordinates set the number

κ(P)κ(Q) was read as useless for saying how reducible a model is, with one use left to it: it decides between two routes to the Hankel singular values, and past the square of one over the roundoff the route through the product has nothing left. Both halves depend on the state coordinates. Spread those coordinates over six decades and κ(P)κ(Q) moves from 10¹⁶ to 2·10³⁰ on a model whose Hankel values do not change, and every value is still read to five digits, by both routes, within a factor of a few of each other. Rotate the same model by an orthogonal matrix instead and κ(P)κ(Q) stays at 10¹⁶, while the product route's smallest value goes from thirteen digits to two. And one solve's own diagonals give the coordinates back: a second solve undoes the whole spread.

110¹10²110¹10²root of the pointwise ratio's spreaditerationsbump, fit in the normbump, in the logarithmridge, in the normridge, in the logarithmthe spread bounds κ, on any gridthe number the preconditioner reads When the index is a tuple

The nearest product is not the nearest operator

A Kronecker sum is solved by one eigendecomposition per axis, and a variable-coefficient operator almost never is one. So the natural move is to solve the nearest separable problem instead and use it as a preconditioner, with the coefficient's first singular value saying how near. That number predicts nothing. A bump at contrast six has 99.9 per cent of its norm in its first singular value and takes 123 iterations, seven times what it takes at a share of 95 per cent, because a fit in the norm chases the peak and leaves the rest of the domain wrong by a factor of 167. Fit the logarithm instead and the misfit is a ratio, the iterations fall by more than half, and one number accounts for them on every case tried: the root of the spread of the pointwise ratio.

02468101210⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1inner steprelative energy error12 unknowns, κ(H) 10⁴9 unknowns, κ(H) 10²12 unknowns, κ(H) 10²conjugate gradients from zerothe accuracy arrives in the last step The matrix a constraint makes

The step was coarser than the test

Conjugate gradients stopped at a residual tolerance hands back energy errors far below what was asked, and that was read as the fault of the test. So the inner solve here stops on an estimate of the error itself, which was predicted to make the outer step rule count within one on 180 of 198 runs. It counts 154, against 156 for the residual. The estimate is honest: with two steps of look-ahead no run overshoots tenfold. But on 82 of 132 runs the two tests land on the same iterate to within a factor of two, because on these blocks the error falls gently for nine or eleven steps and then drops by orders in the last. A second prediction fails too: a fixed perturbation on the three smallest eigenvectors matches the real solve on four systems of twelve, no more than one spread evenly, and under two per cent of the real error lies on them.

040801201602002400.60.70.80.911.11.21.31.41.5draws, in order of the first estimateestimate over the true noisecorrected onceread again1.25 samples per unknown · 240 drawsthe bottom lifts, the middle rises Regularisation, and the answer that is chosen

The share read twice moves the middle

Leave-one-out's noise estimate, with the fit's degrees of freedom taken out, was nearly unbiased in the median and low on a third of 960 draws, down to 0.645 of the noise. The prediction was that the low draws are those whose leave-one-out λ sat furthest left of the oracle's, so that the degrees of freedom were read too high, and that reading them again at the discrepancy principle's own λ would lift every one above 0.85 without moving the median by more than two per cent. Nine of the twelve lowest draws do sit far left; three sit six decades to the right. One more reading lifts the lowest to 0.783 and leaves seven draws under 0.85, not none. And it moves the median by up to 6.2 per cent, because it lowers the share it takes out from every draw, not only the low ones. The rule told the new estimate is no better on any cell.

051015202530354010⁻³10⁻¹10¹GMRES steprelative residualthe two curves are the same curvea number re-derived, not carriedworst reported/actual factor1.8at step40‖VᵀV − I‖ of the basis1.4reported at the last step0.041actual at the last step0.074the same family of methodsand only one of them lies Iterating, instead of factorising

The number that is re-derived

GMRES prints a residual it never computes from its answer either. On the matrix that sends a conjugate gradient recurrence 7.3·10¹⁰ wrong, and on two others chosen to be worse, its number is never more than a factor of 2.86 out — while the basis it is computed from has lost orthogonality entirely. The disease is not iterative methods, and it is not floating point.

110¹05101520253035largest singular value over the secondstep, medianholding one vector, partssecond value convergesshort recurrence, partsfirst value convergessix problems, 72 draws · this blur, 24the repair goes back to the blur's own step Methods that were designed apart

The hold ends where the blur parted

Holding conjugate gradients' basis off its first converged Ritz vector failed on the blurs because their second value converges a step or two behind the first, and it was predicted to work on an operator whose top singular value stands at twice the second. At twice the second it fails on all seventy-two draws: the delay is eight steps against a gap of ten. It starts to succeed only near four times, and it does so without the repaired run going one step further. The repaired run parts at about step 30, 20 and 14 on the three blurs at every ratio from 1.25 to 32, within two steps of where the unaltered blur parted to begin with. Pulling the top value away moves the failure earlier; the repair only takes it back.

110¹10²10⁶10⁷10⁸10⁹right-hand sidesmultiplications in totaldense factorisationconjugate gradientspreconditioned at ε = 10⁻²hierarchical, ε = 10⁻⁸n = 512 · the same counter throughoutdirect passes the coarse iteration near 21 Where the flop count stopped predicting the time

The second right-hand side

A hierarchical solve was priced at 0.16 of a dense factorisation at 512 unknowns, for one right-hand side. The second right-hand side costs one fifty-eighth of the first, and against the iteration the same format makes possible that is what decides everything. Plain conjugate gradients is overtaken after three right-hand sides on the easiest matrix and at the first on the harder ones. A coarse format inside the iteration holds out for twenty-one, at the same accuracy, and for one or two when the kernel is soft enough. The count was never a property of the method: it runs from under one to twenty-one on one size of matrix and depends on the conditioning.

10²10³06121824samplesdraws of 24 still connectedexact resistancesketched, 8 solvessketched, 2 solvesdegrees onlyuniformtwo cliques of 20, one bridgeonly resistance sees the bridge The matrix that is a graph

What the resistance was for

Sampling edges by effective resistance kept every eigenvalue of a complete graph's Laplacian within a factor of 1.7, and that was credited to the probability. On a complete graph every edge has the same resistance, so the probability was uniform. On a grid, uniform sampling gives the same band at 480 samples within one per cent. What separates the rules is the edge nothing else can see. On two cliques joined by one bridge, resistance keeps the graph connected on every draw from 240 samples, and uniform and degree-based sampling lose it on 14 and 15 draws of 24, and still on two or three at 960. The resistance is a cut's survival rate. And a crude one will do: two solves find the bridge, at a band nearly twice as wide.

04812162024283210⁻¹10¹10³10⁵10⁷10⁹10¹¹10¹³10¹⁵power iterationsdraws' spread over partitionings' spreaddecay 0.7decay 0.78decay 0.82decay 0.88decay 0.94floored at a tentha factor of 10¹⁴ is one setting The answer that depends on the machine

The seed stops mattering first

A randomised low-rank approximation's error moved by 31 per cent between draws and by 10⁻¹⁵ between partitionings of one draw, so a seeded method was called reproducible in the term that matters by a factor of 10¹⁴. That is true at no power iterations. Each pass cuts the spread between draws by a fixed factor and leaves the partitioning's spread where it was, so the two lines cross: at two passes on a decay of 0.7, at sixteen on 0.94. Past that point a recorded seed settles nothing a recorded machine does not, and a bitwise test is the only thing left that can tell two runs apart. The vectors take longer: at sixteen passes the error has settled to rounding while the leading subspace still differs between draws by 3·10⁻⁵.

110¹110¹sketch width over dimensionκ(SQ), median of 16Gaussian4 nonzeros2 nonzeros1 nonzero (CountSketch)dimension 16 · 1,000 rows · cut at 40only leverage separates the sketches Randomised, and the guarantee that changes kind

One nonzero is a birthday problem

A sketched preconditioner's quality is one number, how well the sketch preserves one subspace, and the sketch that ships has one nonzero in each column. It was said to supply the needed distortion at its own width. On an incoherent basis its own width is everyone else's: at four times the dimension CountSketch, uniform sampling and a Gaussian all read κ of 2.6. Put each direction of the basis on a single row and CountSketch is singular on 14 draws of 16 at the same width, by the formula for shared birthdays, and needs the dimension squared to escape it. Two nonzeros reduce that to three draws in sixteen at twice the dimension and none at four. Four nonzeros are a Gaussian for this purpose, at about a sixteenth of its cost to apply.

110¹0510152025303540vectors kept; none is drawn at a halfiterations on the last memberrank 2rank 4rank 8rank 16rank 3280 unknowns · 24 membersr + 1, less one for each vector When the problem arrives again

A kept vector buys one iteration

A kept Cholesky factor with a drift of rank r in the matrix takes exactly r + 1 iterations at every member, at any drift rate, because the preconditioned matrix is the identity plus a rank-r term. The run has found those directions and throws them away. Keep some from one member to the next and each one removes exactly one iteration: keep sixteen on a drift of rank sixteen and every later member takes one. Each vector also costs half an iteration a member, so the saving is half what it looks like, and past the rank it is all cost. On a drift across half the spectrum there is no rank to reach: sixteen vectors halve the iterations and save a fifth of the work, and rebuilding the factor still wins until a rebuild costs more than a hundred iterations.

02000400060008000naturalthe graph's count8019kept at a hundredth, 8 iterations2898kept at a tenth, 15 iterations1466reverse Cuthill–McKeethe graph's count5910kept at a hundredth, 7 iterations2569kept at a tenth, 14 iterations1484minimum degreethe graph's count3729kept at a hundredth, 7 iterations2813kept at a tenth, 20 iterations1599nested dissectionthe graph's count5129kept at a hundredth, 8 iterations3554kept at a tenth, 26 iterations1242entries in the factor400 unknownsthe ranking does not survive Sparsity, and what elimination costs

A count of fill is not a size

The fill of a sparse factor can be counted from the graph alone, before any arithmetic runs, and the count is exact: on a grid Laplacian not one of the entries the graph marks is zero. But a count holds every entry at one number. In the natural order, three quarters of the fill of a 20-by-20 grid is below a hundredth of its column's diagonal, and fifteen per cent is below 10⁻⁴. The better orderings remove exactly that part: under nested dissection almost nothing is that small. So the count's ranking stops meaning what it says once a factor is dropped. Minimum degree has the least fill of the four orderings, and at a threshold of a tenth it takes 20 iterations on more kept entries than the reverse Cuthill–McKee factor takes 14.

110¹10²10³10⁴10⁵10⁶110¹10²10³10⁴10⁵10⁶products‖QᵀQ − I‖ in units of the roundoffone factor repeateda pool of 4a pool of 64a pool of 1024a fresh factor each timebinary32 · order 3 · five drawsa fixed defect is a straight line Orthogonality, measured

A repeated rotation drifts in a straight line

Composing rotation matrices drifts away from orthogonality, which is why graphics and robotics code re-orthonormalises. Rounding errors have no preferred sign, so a product of k rotations should lose orthogonality like the root of k, and it does when every factor is new: slope 0.52 over a million products. Multiply by the same factor every step, as a fixed-step integrator does, and the slope is 1.00. The factor's own rounding is one defect met in the same direction every time. At a million products in binary32 that is 622,000 units of roundoff against 2,400, a loss of 3.7 per cent. One polar step removes it at any period from ten products to ten thousand, the error in the rotation falling twenty times and hardly moving with how often it is run. Gram–Schmidt every ten products is six times worse, and for a reason that is not rounding.

10²10⁴10⁶10⁸10¹⁰10¹²10¹⁴10⁻¹⁸10⁻¹⁶10⁻¹⁴10⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²condition numberbackward error, median of twelveinverse, b = Axinverse, b randomLU, b = Axorder 30 · matrices with known singular valuesthe earlier sweep is the red line only Elimination, and the swap

The test that made the answer small

Solving by a computed inverse was measured twelve orders of magnitude less backward stable than solving by LU at a condition number of 10¹⁴, on a right-hand side built as b = Ax from a random x. That construction is how a known answer is arranged, and it makes the answer about as small as it can be. On a random right-hand side the inverse route's backward error is 2·10⁻¹⁷, the same as LU's, at every condition number measured. The backward error is about a tenth of the roundoff over ρ, the answer's size over its largest possible, and across 200 random right-hand sides ρ never falls below 0.016. The instability is real, and it belongs to right-hand sides whose answers are small, which is a class that includes most tests and many applications.

110²10⁴10⁶10⁸110¹10²10³10⁴10⁵10⁶κ(X)backward error over residualcommuting, Bartels–Stewartnot commuting, Kroneckernot commuting, Bartels–Stewartorder 8 · C at the scale of 10⁻⁶ · three seedsthe gap belonged to the commuting family Structure, and the solver that cannot see it

What the commuting family was hiding

A Sylvester solve's structured backward error climbed 26,000 times above its residual while its forward error did not move, on a family built so that X commutes with A and B. Replace X by a random matrix with the same singular values, and the backward error is within a factor of eleven of the residual at every setting, on both routes. The structured product and the residual's estimate agree too, within 45 and 9 times the forward error. So that gap, the prediction said, was the family's geometry, and it was. But the perturbation's share on C does not fall below a half as predicted: it rises to 88 and 99 per cent. And a residual in the Schur bases that costs nothing is not the residual: it is a twentieth of it, because what is left is the Schur factorisations' own rounding.

10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²10⁻¹10⁻⁰.⁵110⁰.⁵10¹target, as a relative errordelivered over the targetenergy stop, worstenergy stop, medianresidual stop, medianresidual stop, lowest400 unknowns · κ = 10⁴ · even spectrumone is on target The matrix a constraint makes

On a block with room, the residual was honest

Conjugate gradients stopped at a relative residual inside a block preconditioner had delivered energy errors ten to a billion times below its tolerance, and a stop on the estimated energy error changed almost nothing, because blocks of a dozen unknowns converge by orders at their last step. The prediction for a block of 400 unknowns with evenly spread eigenvalues was that the energy stop would land within a factor of three of its target and the residual stop at least ten times below. The energy stop does, on every draw. So does the residual stop, within a factor of five, in the same number of steps. On an even spectrum the residual is already an estimate of the energy error. A geometric spectrum is where the two part, and there the cheap energy estimate overshoots its target fourfold.

told, η = 0.8: 31.2% of n²the least: 29.5% of n²kept wholerank up to 6up to 20above 20n = 256 · ε = 10⁻⁸ · the line supplied by the callera distance to the right line Neither sparse nor dense

The rule told where to look

Told the line its kernel is singular on, the admissibility rule stores within six per cent of the least any partition of its tree has, and keeps that margin as the matrix doubles while the untold rule's overpayment grows from 1.7 to 2.6. Its other failure was never the geometry: at η = 1, where two touching clusters first pass, it is the least itself on both kernels singular on the diagonal, and the textbook 0.8 was costing an eighth to a quarter. On a smooth kernel nothing rescues it, because the dense diagonal it always keeps is, by itself, the whole of the least. And a probe that reads each block's ends sees only its corners, which is where the diagonal touches a block and not where a line crosses one.

4681012141610⁻²10⁻¹110¹10²10³10⁴k, the tail's entries are two to the minus kerror in units of the roundoffsquares added in ordersquares added pairwisebinary32 · length 4,096 · floored at a hundredtha cliff at almost every depth The arithmetic underneath

Every equal tail has a cliff

A scaled binary32 norm of one entry of size one and 4,095 entries of two to the minus twelve is wrong by 2,047 units of roundoff, and that was read as a depth: a square half a spacing below the running sum is lost. It is not a depth. An equal tail at 0.003, eight bits shallower, loses 1,965 units, and 88 per cent of all depths between four and twelve lose more than a hundred. The error is one addition's rounding repeated once per entry, so a test that counts small entries misses nearly all of it, and a spread tail does not average it away. Adding the same squares pairwise, with the same number of additions, leaves under five units on everything measured.

110¹05101520253035ratio of the first to the second, and of the second to the thirdstep, medianholding two, partsthird convergesholding one, partssecond convergesshort recurrence, partssix problems, 72 draws · this blur, 24each hold waits for the next value Methods that were designed apart

The lag belongs to the value it follows

Conjugate gradients on a blur, held off its first converged Ritz vector, parts from the reorthogonalised run a fixed lag after the second value converges, and the account offered was one clock per value with the blur setting the lag. Held off two vectors, it parts on the third value's clock on all 72 draws at every ratio measured, as predicted. Held off one, it meets the second value's clock only at the ratio the prediction named, and misses a third of the draws at two and at eight. The reason is that the lag is not the blur's: it is 11 steps after a second value that stands at 1.5 times the third and 4 after one at eight, on every blur, so lifting the second value moves the parting about twice as far as it moves the convergence.

10²10³10⁴10⁵10⁶110¹10²10³10⁴10⁵10⁶number of productsloss of orthogonality, in unitsnearest binary32best of 512 neighboursgreedy, within 8 ulpsrounded afresh at randombinary32 · order three · rotation 1 of fivethree lines and a walk Orthogonality, measured

A rounding chosen once is still repeated

One binary32 rotation multiplied into itself a million times loses orthogonality in a straight line, 622,126 units of roundoff on the first of five rotations, because its rounding defect is the same every time. The prediction was that choosing the best of the factor's representable neighbours would cut that rate tenfold and leave the angle alone. The best of 512 neighbours cuts it by 1 to 5 per cent. A greedy search eight ulps wide cuts it at most by half, and where it does, it moves the factor off the rotation and multiplies the angle's error by up to five. What works is to stop repeating the rounding: rounded afresh at random each product, the same factor loses 1,717 to 3,377 units at a million, and its angle is two hundred times nearer the truth than any fixed choice.

All themes