slu.core.loadSuperLUModule
Load and initialize the SuperLU WASM module.
Syntax
slu.core.loadSuperLUModule()
Description
Load and initialize the SuperLU WASM module. This is the main entry point for using SuperLU. Call this function once during your application's initialization to load the WebAssembly module. Subsequent calls return the same module instance (idempotent). The function automatically detects the runtime environment (Node.js or browser) and uses the appropriate loading strategy. In browsers, you can customize the WASM file location using before calling this. **Performance**: Loading is async and may take a few hundred milliseconds depending on network conditions and WASM file size (~1-2MB). Consider loading during application startup or showing a loading indicator.
Returns
Promise<SuperLUModule>