~/talk

Why You Should Care about Sparse Matrices

Talkat C++Now 2019 · 2019-05-05..05-10· [machine-learning]
slides:none on file

Dense 4x4 matrices use 16 units of storage and constant‑time indexing, but graphs and nearest‑neighbor meshes scale quadratically while informative entries grow linearly, so storage and runtime must be proportional to nonzeros. Using compressed sparse row removes zeros, adds column indices, and forces log time access via binary search; element lookup may need to return a value not a reference (can't return a reference). Best sparse libraries remain Fortran/C, and the C++ standard should allow sparse row/column accessors that iterate only nonzeros.

AI-written summary · about

  1. 0:00Introduction
  2. 0:10Constant Time Access
  3. 0:35Memory By Row
  4. 0:45Constant Time
  5. 0:55Sparse matrices
  6. 1:28Practical examples
  7. 1:50Key considerations
  8. 2:14Squeeze out zeros
  9. 2:39Compressed sparse rows
  10. 3:04Efficiency
  11. 3:44Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.