Maths encyclopedia and lessons  
Search

Mathematics Encyclopedia and Lessons

 
     
 

Lessons

Popular
Subjects

algebra
arithmetic
calculus
equations
geometry
differential equations
trigonometry
number theory
probability theory
more
 

References

applied mathematics
mathematical games
mathematicians
more
 
 

Convolution (computer science)

In computer science, specifically formal languages, a convolution is defined as follows:

Let ∑ be an alphabet, # a symbol not in ∑.

Let x1x2... x|x|, y1y2... y|y|, z1z2... z|z|, ... be n words over ∑*. Let l denote the maximum length.

The convolution of these words is

(x_1,y_1,\ldots)(x_2,y_2,\ldots)\ldots(x_l,y_l,\ldots)

where for any index i > |w|, the wi is #. This is a new word in

((\Sigma\cup\{\# \})^n)^*.

The convolution of x, y, z, ... is sometimes denoted conv( x, y, z, ...), or xyz ⋆ ...

Example

The convolution of and, fish, be is

(a,f,b)(n,i,e)(d,s,\#)(\#,h,\#)
01-04-2007 01:18:14
The contents of this article are licensed from Wikipedia.org
under the GNU Free Documentation License. How to see transparent copy