Basic linear algebra algorithms (since C++26) (original) (raw)

Basic linear algebra algorithms

Basic linear algebra algorithms are based on the dense Basic Linear Algebra Subroutines (BLAS) which corresponds to a subset of the BLAS Standard. These algorithms that access the elements of arrays view those elements through std::mdspan representing vector or matrix.

The BLAS algorithms are categorized into three sets of operations called levels, which generally correspond to the degree of the polynomial in the complexities of algorithms:

[edit] Notes

Feature-test macro Value Std Feature
__cpp_lib_linalg 202311L (C++26) Basic linear algebra algorithms (BLAS)

[edit] Example