Guide to Linear Algebra With the Eigen C++ Library - Daniel Hanson - CppCon 2024 @CppCon
Guide to Linear Algebra With the Eigen C++ Library - Daniel Hanson - CppCon 2024  @CppCon
Uploaded April 2025 | Updated November 2026, 1 day ago
cppcon.org
---

Guide to Linear Algebra With the Eigen C++ Library - Daniel Hanson - CppCon 2024
---

Linear algebra is an essential part of scientific programming, particularly in domains such as quantitative finance, data science, physics, and medical research. It is also relevant to imaging in game development. As C++ did not have all the convenient built-in multidimensional array capabilities and supporting libraries that came with typical Fortran platforms, scientific programmers making the transition to C++ back in the late 1990’s and early 2000's often found themselves in an inconvenient situation with limited options. These included building up this functionality mostly from scratch, wrestling with interfaces to numerical Fortran libraries such as BLAS and LAPACK, or somehow convincing management to invest in a third-party commercial C++ linear algebra library.

The situation has improved substantially over the years with the development of several well-regarded open-source linear algebra libraries for C++. One in particular that has become popular, first released in 2006, is the Eigen library. It has been adopted for use within both the TensorFlow machine learning library and the Stan Math Library, as well as at CERN, and it can also be found in the implementation of high-performance quantitative trading strategies in C++.

In this talk, we will examine the setup and basics of the Eigen library, followed by a discussion of some of its more advanced features, including applications of matrix decompositions frequently used in quantitative work, as well as its compatibility with STL algorithms. It will conclude with an overview of how it can be used within the context of the C++26 BLAS interface proposal (P1673), via an interface with std::mdspan now available in C++23.
---

Slides: github.com/CppCon/CppCon2024/blob/main/Presentations/Linear_Algebra_with_The_Eigen_Cpp_Library.pdf

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Daniel Hanson

Former faculty, Dept of Applied Mathematics/Computational Finance & Risk Management, University of Washington, Seattle. Remains active in computational applications of C++ and supporting the CppCon student program.
---

CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#linearalgebra #cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #programming #programmer
Guide to Linear Algebra With the Eigen C++ Library - Daniel Hanson - CppCon 2024Lambdas, Ranges and trivially_copyable: Why This Matters for Parallel Algorithms - Ruslan ArutyunyanC++ ♥ Python - Alex Dathskovsky - CppCon 2025How I made chess move generation 20x faster #programming #chessengine #codingHow To Build Robust C++ Inter-Process Queues - Jody Hagins - CppCon 2025Can Modern C++ SPEED UP Your Bundle Adjustment Pipeline? - Vishnu Sudheer MenonLeveraging C++ for Efficient Motion Planning: RRT Algorithm for Robotic Arms - Aditi Pawaskar - 2024Real-Time Control, Simulation, and Visualization in C++23 With CUDA and Unreal Engine - Kevin GomezLightning Talk: Poor Man’s Autocomplete for Template Arguments - Max Sagebaum - CppCon 2025Agentic C++ Debugging Live! - Without a Safety Net - Daisy Hollman & Mark Williamson - CppCon 2025Can Standard C++ Replace CUDA for GPU Acceleration? - Elmar Westphal - CppCon 2025Lightning Talk: C++ and Rust Bindings - Mixing It Best With CMake - Damien Buhl - CppCon 2024
CppCon |

Guide to Linear Algebra With the Eigen C++ Library - Daniel Hanson - CppCon 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER