Registry / Library

library · v0.1.1
Lag Product
Compute the unnormalized autocorrelation sum at a nonnegative integer lag. A missing overlap contributes zero.
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
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 74c7562f3e | ec767d8a6981c6b1e425b13138a08276a3bd27f02ff499615d922b47a48457d0 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | 77fd4991583b52855703b101fe7cb43e875835a889288b0b5148f8fd9a78c25a |