Skip to content

add 1-D convolution #16

@philipp-baumann

Description

@philipp-baumann

from https://twitter.com/BenOgorek/status/1696855672548167842/photo/1

w <- c(0, 0, 1, 1, 0)
y <- c(1, 2, 3, 4, 5)

convolve(y, rev(w), type = "open")[2:(length(y) + 1)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions