Convolution (computer Science) - Example

Example

Given the three words and, fish and be where |and| is 3, |fish| is 4 and |be| is 2. Let denote the longest word which is fish; . The convolution of and, fish, be is then 4 tuples of elements:

where # is a symbol not in the original alphabet. In Haskell which truncates to shortest sequence, where :

zip3 "and" "fish" "be" --

Read more about this topic:  Convolution (computer Science)

Famous quotes containing the word example:

    Our intellect is not the most subtle, the most powerful, the most appropriate, instrument for revealing the truth. It is life that, little by little, example by example, permits us to see that what is most important to our heart, or to our mind, is learned not by reasoning but through other agencies. Then it is that the intellect, observing their superiority, abdicates its control to them upon reasoned grounds and agrees to become their collaborator and lackey.
    Marcel Proust (1871–1922)