A13 Numerical methods · Practice
Sparse matrices
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 9 kinds solid
Check
A sparse matrix has 100000 rows and 5 nonzeros per row. About how much memory does CSR take (8-byte values, 4-byte indices)?
Check
How many operations does one sparse matrix-vector product take, with 100000 rows of 5 nonzeros?
Check
About how many operations does LU of a banded matrix take, with n = 10000 and bandwidth 10 (use )?
Check
The Laplacian on a 2D grid has n = 1000000 unknowns. About how many operations does sparse LU with nested-dissection ordering take ()?
Check
An arrow matrix of size 1000 has one hub node tied to all the others, which connect only to it. If the hub is eliminated first, about how many nonzeros does the remaining matrix have?
Check
A 2D grid of 100 × 100 unknowns is numbered row by row.
(a)
About how many operations does banded LU take, with b = N?
(b)
How many times more would dense LU take?
Check
CSR memory, 50000 rows, 4 per row?
Check
Banded LU operations, n = 20000, bandwidth 50?
Check
Fill from eliminating an arrow's hub first, n = 100?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in A13