Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
UMFPACK-rs
Some UMFPACK bindings for rust.
The umfpack-rs
library provides unsafe bindings and safe wrappers to some of the
SuiteSparse UMFPACK routines. You can use the wrappers to solve a sparse linear system
that is either real-values (f64
) with umfpack_di_{symbolic,numeric,solve}
or complex
valued (Complex64
) using umfpack_zi_{symbolic,numeric,solve}
.
Example
Note that the rust wrappers attempt to be as close as possible to the SuiteSparse C-code while hiding unsafe operations. This means the exposed API might not be as clean as one might expect.
symbolic walltime: 0.000018095000086759683
numeric walltime: 0.0004187900001397793
solve walltime: 0.000003099999958067201
x [0] = 1.0
x [1] = 2.0
x [2] = 3.0
x [3] = 4.0
x [4] = 5.0
You can find more examples in the examples
folder (sometimes alongside with the C++
equivalent). To learn more on how to use UMFPACK, read the user guide
or quick start pdf.
Installation
License & Credits
© Floris Laporte 2023, LGPL-2.1
This library vendors, wraps and statically links to SuiteSparse, LGPL-2.1.