Introducing a matrix class to the C++ standard library
summary
Proposal P1385 adds a concrete P1385 matrix class to the C++ standard with static and dynamic mdspan extents storage engines, selectable row-major/column-major layouts, custom allocators and operation traits that perform compile-time element and engine promotion so e.g. float+double matrices yield double results. Implementations can use SSE2/AVX intrinsics or BLAS backends and choose algorithms (naive or Strassen). Example uses: color-space transforms (srgb ↔ xyz) expressed as matrix multiplies; matrices are dense by default.
AI-written summary · about
chapters (4)
- 0:00Start
- 1:54What is linear algebra?
- 8:48What is a Linear Algebra Library?
- 26:37Customising the library
related talks
01h 18mC++ and Linear Algebra
01h 15mstd::linalg: Linear Algebra Coming to Standard C++
55mTaking Static Type-safety to the Next Level: Physical Units for Matrices
01h 07mMultidimensional C++
57mGraphBLAS: Building a C++ Matrix API for Graph Algorithms
01h 24mTyped Linear Algebra - How to Not Crash on Mars
01h 03mTaking Static Type-Safety to the Next Level - Physical Units for Matrices
22mMatrix Extensions for RISC-VDelivering on the Promise
