superlu 0.3.2 copy "superlu: ^0.3.2" to clipboard
superlu: ^0.3.2 copied to clipboard

Dart 1 only

Sparse linear system solver

SuperLU #

A Dart package for the direct solution of large, sparse, symmetric systems of linear equations Ax = b using SuperLU.

Usage #

Include the appropriate Emscripten module in your page:

<script src="packages/superlu/zsuperlu.js"></script>

Compute the factorization of a matrix in compressed column form. Solve for one or more right-hand-sides. Free up the LU matrices. rhs is overwritten with the solution:

var factors = new Factors(vals, rowind, colptr);
factors.solve(n, 1, rhs);
factors.free();

Async #

SuperLU may also be run in a separate thread using the Web Worker API:

var superlu = new SuperLU();
var factors = await superlu.factor(a, asub, xa);
var x = await factors.solve(n, 1, rhs);
factors.free();
0
likes
0
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

Sparse linear system solver

License

unknown (license)

Dependencies

emscripten

More

Packages that depend on superlu