blob: cf7b5523a95b5f6adfb6567f437bf89b06fbc286 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { instantiate } from '../build/out.js';
import url from '../build/out.wasm';
export const {
memory,
mathS, mathV, mathSS, mathSV, mathVS, mathVV,
linspace,
intersperse,
unzip,
fft,
} = await instantiate(await WebAssembly.compileStreaming(fetch(url)), {});
|