octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34893] conv2 produces different results for s


From: Sunghyun Cho
Subject: [Octave-bug-tracker] [bug #34893] conv2 produces different results for shape 'valid' depending on the orientation of matrix B
Date: Sun, 22 Apr 2012 03:11:47 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19

Follow-up Comment #15, bug #34893 (project octave):

I'd like to add a little bit more to my previous comment.
Both algorithms, scattering and gathering, are right ways to compute
convolutions, and if you want to make the results exactly same, you may need
to convert either one to use the same algorithm with the other one, as
computing floating-point numbers actually depends on the order of
computation.
Previously, I think the order of two different computation luckily matched and
produced the same results, as *conv2i computed convolution in a wrong
(reversed) way.

Thanks,
Sunghyun


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34893>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]