conv: Function to do convolution of two vectors

View source: R/dd_utils.R

convR Documentation

Function to do convolution of two vectors

Description

Convolution of two vectors

Usage

conv(x, y)

Arguments

x

first vector

y

second vector

Value

vector that is the convolution of x and y

Author(s)

Rampal S. Etienne

References

- Etienne, R.S. et al. 2012, Proc. Roy. Soc. B 279: 1300-1309, doi: 10.1098/rspb.2011.1439
- Etienne, R.S. & B. Haegeman 2012. Am. Nat. 180: E75-E89, doi: 10.1086/667574

Examples


conv(1:10,1:10)


DDD documentation built on July 26, 2023, 5:25 p.m.