Serving the Quantitative Finance Community

 
User avatar
caperover
Topic Author
Posts: 49
Joined: June 25th, 2005, 4:54 pm

Convoluation algorithm

June 11th, 2008, 12:18 pm

Hi, All,Anyone knows very fast convoluaton algorithm? I don't want to bother FFT.Thanks,CR
Last edited by caperover on June 10th, 2008, 10:00 pm, edited 1 time in total.
 
User avatar
katastrofa
Posts: 7954
Joined: August 16th, 2007, 5:36 am
Location: Event Horizon

Convoluation algorithm

June 11th, 2008, 5:38 pm

In the general case, I'd use FFT (it's not hard...).When one of the convoluted sequences has mostly zeros, a straightforward calculation will be faster.
 
User avatar
blondie
Posts: 0
Joined: June 11th, 2007, 1:34 pm

Convoluation algorithm

June 11th, 2008, 7:44 pm

QuoteOriginally posted by: caperoverHi, All,Anyone knows very fast convoluaton algorithm? I don't want to bother FFT.Thanks,CRI'm not a specialist but it seems to me that speed is an issue for you.FFT is what you need. It is, for instance, already implemented in the GSL.What language do you use? What speed do you need? (How large data structures and how many times the calculation?)blondie.
 
User avatar
zarnywhoop
Posts: 0
Joined: December 2nd, 2004, 5:39 pm

Convoluation algorithm

June 12th, 2008, 3:34 pm

QuoteOriginally posted by: caperoverHi, All,Anyone knows very fast convoluaton algorithm? I don't want to bother FFT.Thanks,CRFFT is the very fast algorithm
 
User avatar
Etuka
Posts: 1
Joined: January 1st, 2002, 7:40 pm

Convoluation algorithm

June 13th, 2008, 9:19 am

What the others said.
 
User avatar
tonney
Posts: 0
Joined: June 6th, 2008, 2:36 am

Convoluation algorithm

June 15th, 2008, 10:06 pm

FFT is much faster than directly implementing convolution. Never heard that people do convolution without using FFT. FFT in matlab is super-easy as only one command, should not be complex in GSL. Good luck.
Last edited by tonney on June 15th, 2008, 10:00 pm, edited 1 time in total.
 
User avatar
katastrofa
Posts: 7954
Joined: August 16th, 2007, 5:36 am
Location: Event Horizon

Convoluation algorithm

June 23rd, 2008, 6:33 pm

In Matlab convolution via FFT is faster. In Java, I've observed that when one distribution had only 2 non-zero elements (and I knew it), it was faster to do it directly.