Registry / other / cblas
library2025-10-29vcpkgunverified

Metapackage for packages which provide CBLAS (C interface to BLAS).

vcpkg install cblas
INSTALL
IMPORT
SIG · CBLAS
C
cblas
othercppv2025-10-29
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.

cblas.h
#include <cblas.h>

Perform matrix multiplication using CBLAS.

#include <cblas.h> #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, 0.0); cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 2, 2, 2, 1.0, A.data(), 2, B.data(), 2, 0.0, C.data(), 2); return 0; }
Debug
Known issues
gotchaThis is a metapackage; actual BLAS implementation must be installed separately.
fix
Install a BLAS library like OpenBLAS, ATLAS, or MKL.
affects: *
Upgrade
Version history
2025-10-29latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources

No resource links recorded.

cblas — pip install cblas · libregistry