Skip to content

Instantly share code, notes, and snippets.

@PhotonEE
PhotonEE / conv.js
Created November 27, 2013 07:39
Javascript implementation of convolution function
// a function to calculate the convolution of two vectors
// or to multiply the two algebraic expressions.
/*
**
idea :
------
vec1 = [2,3,4]
vec2 = [1,2,3]