liba 0.1.15

An algorithm library based on C/C++
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import * as a from "liba.so";
function assert(expr) {
    if (!eval(expr)) {
        throw Error(expr);
    }
}
var ctx = new a.lpf(10, 0.01);
ctx.gen(10, 0.01);
ctx.iter(1);
assert("ctx.alpha != undefined");
assert("ctx.output != undefined");
var ctx = new a.lpf(0.1);
ctx.gen(0.1);
ctx.iter(1);
assert("ctx.alpha != undefined");
assert("ctx.output != undefined");
ctx.zero();