~/talk

Type Your Matrices for Great Good: A Haskell Library of Typed Matrices and Applications (Pearl)

Talkat Haskell 2020 · 2020-08-27..08-28· [haskell]
links:none on file
slides:none on file

An inductive, block-structured matrix type implements dimensions in the type system so matrices are correct-by-construction and common operations (matrix composition implemented in about five lines) manipulate blocks instead of indices. Equational laws (product/co-product, fusion, divide-and-conquer) let code be derived and simplified. Benchmarks show the library outperforms the common vector-of-vectors library linear by about an order of magnitude while BLAS/LAPACK-backed hmatrix remains faster. A Bayesian-net example computes grass-wet = 44.84%.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Table of contents
  3. 0:58Authors
  4. 1:41What is a matrix?
  5. 1:57Common computable representation
  6. 2:17On the other hand...
  7. 3:34What we will see
  8. 4:25Category Theory?
  9. 5:17Why does it matter?
  10. 6:17What about matrices?
  11. 8:51Linear Algebra of Programming
  12. 9:55First approach
  13. 11:08No wrong matrices
  14. 12:01Matrix construction and manipulation
  15. 13:28Equational Reasoning
  16. 14:24Some obstacles
  17. 14:49Proposed solution
  18. 15:12New-type wrappers
  19. 15:53Probabilistic Programming
  20. 16:38PP Code
  21. 17:13Combining distributions
  22. 19:08Performance
  23. 21:18To takeaway.
  24. 22:27Future work directions
~/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.