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