Physical Units for Matrices. How Hard Can It Be?
summary
Presents a C++ implementation that integrates the mpusz/units (P1935) physical units system with matrix libraries Eigen, blaze and the P1385 effort, allowing matrix elements to carry units, coordinate-frame and quantity-kind annotations. The approach supports matrices whose elements may have mixed units, enables compile-time checks to catch many bugs, and is reported as deployed in Bosch self-driving projects (i.e., implemented and used in practice).
AI-written summary · about
chapters (7)
- 0:00Introduction
- 5:14Physical units for matrices
- 18:21Real-world applications
- 29:15Unit-aware matrices
- 38:23Performance and compatibility
- 48:01Future directions
- 57:12Q&A
related talks
01h 02mStandardizing a linear algebra library
01h 03mExploration of Strongly-typed Units in C++: A Case Study from Digital Audio
01h 02mUnits Libraries and Autonomous Vehicles: Lessons from the Trenches
01h 04mThe Au C++ Units Library: Handling Physical Units Safely, Quickly, & Broadly
58mProgramming challenges in converting R to C++
47mIs C++23 std::mdspan a Zero-overhead Abstraction?
01h 10mThe Three Little Dots and the Big Bad Lambdas
36mScience tools borrow Rust
