Back to Sparse Direct Solver (SuperLU)
slu.core.allocateInts
Allocate an Int32Array in WASM memory and optionally initialize with values.
Syntax
slu.core.allocateInts(module, values, size?)
Description
Allocate an Int32Array in WASM memory and optionally initialize with values.
Parameters
| Name | Description |
|---|---|
| module | - SuperLU WASM module |
| values | - Initial values, or null for uninitialized allocation |
| size(optional) | - Size to allocate (defaults to values.length) |
Returns
number