Registry / other / wg21-linear-algebra

wg21-linear-algebra

JSON →
library0.7.3vcpkgunverified

A linear algebra proposal for the C++ standard library

vcpkg install wg21-linear-algebra
INSTALL
IMPORT
SIG · WG21-LINEAR-ALGEBR
W
wg21-linear-algebra
othercppv0.7.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

linalg/linalg.h
#include <linalg/linalg.h>

Add two 2x2 matrices using linalg

#include <linalg/linalg.h> #include <iostream> #include <vector> int main() { std::vector<double> A = {1.0, 2.0, 3.0, 4.0}; std::vector<double> B = {5.0, 6.0, 7.0, 8.0}; std::vector<double> C(4); linalg::add(2, 2, A.data(), 2, B.data(), 2, C.data(), 2); std::cout << "Result: " << C[0] << " " << C[1] << " " << C[2] << " " << C[3] << std::endl; return 0; }
Debug
Known issues
breakingExperimental; API may change
fix
Check for updates to the proposal before using in production
affects: <1.0
Upgrade
Version history
0.7.3latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources

No resource links recorded.

wg21-linear-algebra — pip install wg21-linear-algebra · libregistry