Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Taking Static Type-Safety to the Next Level: Physical Units for Matrices

CppCon via YouTube

Overview

Explore a groundbreaking solution for incorporating distinct physical unit types into vector and matrix types from linear algebra libraries in this CppCon 2022 conference talk. Discover how to leverage C++'s strong type system to provide physical unit annotations for matrix elements, enabling coordinate frame and quantity kind annotations. Learn the optimal representation of these annotations, their propagation through linear algebra operations, and how they determine valid operations on each type. Gain insights into efficient C++ implementation techniques, with a focus on C++20's game-changing features. Understand how this approach leads to more expressive code with fewer errors, caught primarily at compile-time. Ideal for developers working in robotics, computer graphics, automated driving, and other domains involving physical units, coordinate frames, and matrix operations.

Syllabus

Taking Static Type-Safety to the Next Level - Physical Units for Matrices - Daniel Withopf CppCon 22

Taught by

CppCon

Reviews

Start your review of Taking Static Type-Safety to the Next Level: Physical Units for Matrices

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.