Blyx Nest Blyx language
Registry / Library
library · v0.1.1

Lag Product

Compute the unnormalized autocorrelation sum at a nonnegative integer lag. A missing overlap contributes zero.

Source repository · Package JSON

Use Lag Product

use vendor::lag_product::lag_product;

Run the example

nest demo lag_product@0.1.1
blyxc native-run lag_product-demo/main.blyx
Example source and expected output
use vendor::lag_product::lag_product;

fn main() {
    println!(lag_product([1,2,3],1));
}

Expected output

8

Published versions

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files74c7562f3eec767d8a6981c6b1e425b13138a08276a3bd27f02ff499615d922b47a48457d0
0.1.0Download ZIP · Browse files6349f2378477fd4991583b52855703b101fe7cb43e875835a889288b0b5148f8fd9a78c25a