Fill growth under natural: the factor rises as n^1.49
At its defaults it draws fill growth under natural: the factor rises as n^1.49. A log-log plot of nonzero count against matrix dimension. The matrix's own count is a straight line of slope one; the factor's is steeper; a dense factor is steeper still.
fill-growth is one function in lib/figures/sparse.js —
sparsity — fill counted two ways, and the ordering that decides the memory. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
A log-log plot of nonzero count against matrix dimension. The matrix's own count is a straight line of slope one; the factor's is steeper; a dense factor is steeper still.
show: "fs-count"
The arguments are the ones A count of fill is not a size passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
natural: the graph's count 8019, kept at a hundredth, 8 iterations 2898, kept at a tenth, 15 iterations 1466; reverse Cuthill–McKee: the graph's count 5910, kept at a hundredth, 7 iterations 2569, kept at a tenth, 14 iterations 1484; minimum degree: the graph's count 3729, kept at a hundredth, 7 iterations 2813, kept at a tenth, 20 iterations 1599; nested dissection: the graph's count 5129, kept at a hundredth, 8 iterations 3554, kept at a tenth, 26 iterations 1242.
show: "fs-below", ordering2: "natural"
The arguments are the ones A count of fill is not a size passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
natural: 8019 entries, 6859 of them fill. 95.5 per cent below 0.1, 74.7 per cent below 0.01, 39.4 per cent below 0.001, 14.8 per cent below 0.0001, 3.2 per cent below 0.000001, 1.0 per cent below 1e-8, 0.2 per cent below 1e-10, 0.0 per cent below 1e-12, 0.0 per cent below 1e-14.
show: "fs-column"
The arguments are the ones A count of fill is not a size passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Column 190: 3.6e-1 at 1, 2.3e-2 at 2, 1.2e-2 at 3, 6.6e-3 at 4, 4.0e-3 at 5, 2.5e-3 at 6, 1.6e-3 at 7, 9.4e-4 at 8, 4.4e-4 at 9, 5.5e-4 at 10, 1.2e-3 at 11, 2.0e-3 at 12, 3.1e-3 at 13, 4.8e-3 at 14, 7.7e-3 at 15, 1.3e-2 at 16, 2.3e-2 at 17, 4.7e-2 at 18, 1.1e-1 at 19, 3.1e-1 at 20.
show: "fs-iters"
The arguments are the ones A count of fill is not a size passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
natural: 2, 3, 4, 8, 15; reverse Cuthill–McKee: 2, 3, 4, 7, 14; minimum degree: 2, 3, 4, 7, 20; nested dissection: 1, 3, 4, 8, 26 at thresholds 0.000001, 0.0001, 0.001, 0.01, 0.1.
show: "fs-trade"
The arguments are the ones A count of fill is not a size passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
natural: 15 iterations at 1466, 8 iterations at 2898, 4 iterations at 5319, 3 iterations at 7002, 2 iterations at 7800; reverse Cuthill–McKee: 14 iterations at 1484, 7 iterations at 2569, 4 iterations at 4166, 3 iterations at 5208, 2 iterations at 5848; minimum degree: 20 iterations at 1599, 7 iterations at 2813, 4 iterations at 3452, 3 iterations at 3661, 2 iterations at 3727; nested dissection: 26 iterations at 1242, 8 iterations at 3554, 4 iterations at 4940, 3 iterations at 5114, 1 iterations at 5129.
What it checked while drawing
Every figure above checked its own claims on the way to being drawn, and a claim that failed
would have stopped the picture rather than shipped a wrong one. Those checks used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
8 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
a grid the dial offers
an ordering the dial offers
an ordering this file uses
and its factor grows faster than linearly
at least one row
but below the dense exponent
curves with points on them
the matrix grows linearly in its dimension
Against the rule
The rule does not apply to it. It factorises nothing, so there is no residual it could be withholding. That is worth stating rather than leaving blank: a site that reported the rule as satisfied by every generator would be counting mostly generators the rule never reached.
Across the library: the rule bites on 217
of 397 generators —
199 print a residual and
18 are exempt with a published reason;
180 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
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.
Sparsity, and what elimination costsThe band is cheap only while it is rough
An incomplete Cholesky factor can be bounded by level of fill, keeping each entry by how many eliminations it took to create, instead of by its size. On a 20-by-20 Laplacian, Cuthill–McKee at one level keeps 1,521 entries for 15 iterations where minimum degree keeps 1,828 for 18, as predicted, and it stays ahead at every level up to five, at three sizes of grid. Then it falls behind and does not recover: minimum degree reaches six iterations on 3,280 entries and the band on 3,550, four on 3,677 against 4,964, and its complete factor needs 63 per cent of the band's. The prediction said the band would hold until minimum degree was complete. It holds for the rough factors, and where it stops moves to more iterations as the grid grows. At level zero, the same 1,160 entries in each ordering, minimum degree takes half again as many iterations as the band.
Sparsity, and what elimination costsThe factor is not sparse
A sparse matrix has a factor that is not sparse, and the gap between them is the entire reason iterative methods exist. The entries elimination creates can be counted before any arithmetic runs, from the graph alone.