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

CppNow via YouTube

Overview

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

Syllabus

Taking Static Type-safety to the Next Level: Physical Units for Matrices - Daniel Withopf CppNow 22

Taught by

CppNow

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.