Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 844 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 844 Bytes

libcg: Conjugate gradient for C in Julia

CI

This serves as a proof-of-concept for writing dynamic libraries for C or other languages in Julia.

It creates a library for performing solving a matrix-free linear system via the conjugate gradient method. It wraps the cg! function from IterativeSolvers.jl and exposes it as a C-callable interface using PackageCompiler.jl.

Examples are provided for calling this from C and Rust.