Registry / utility / clapack

clapack

JSON →
library3.2.1vcpkgunverified

CLAPACK (f2c'ed version of LAPACK)

vcpkg install clapack
INSTALL
IMPORT
SIG · CLAPACK
C
clapack
utilitycppv3.2.1
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.

clapack.h
#include <clapack.h>

Solve a linear system using CLAPACK's dgesv

#include <clapack.h> #include <iostream> int main() { // Example: solve linear system using dgesv integer n = 3, nrhs = 1, lda = 3, ldb = 3, info; double a[9] = {1, 2, 3, 0, 1, 4, 5, 6, 0}; double b[3] = {1, 2, 3}; integer ipiv[3]; dgesv_(&n, &nrhs, a, &lda, ipiv, b, &ldb, &info); std::cout << "Solution: " << b[0] << " " << b[1] << " " << b[2] << std::endl; return 0; }
Debug
Known issues
gotchaUses Fortran-style column-major ordering and f2c calling conventions
fix
Ensure arrays are column-major and use pass-by-reference with trailing underscores
affects: *
Upgrade
Version history
3.2.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources

No resource links recorded.

clapack — pip install clapack · libregistry