<div>octave-3.2.4:1> conv2(1:3, 1:2, [1 2; 3 4; 5 6])</div><div>ans =</div><div><br></div><div> 1 4 7 6</div><div> 5 18 31 24</div><div> 11 36 61 42</div><div> 10 32 54 36</div><div>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 4:21 PM, Jordi Gutiérrez Hermoso <span dir="ltr"><<a href="mailto:jordigh@octave.org" target="_blank">jordigh@octave.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 12 November 2012 08:59, Sébastien Villemot <<a href="mailto:sebastien@debian.org">sebastien@debian.org</a>> wrote:<br>
> Rafael Laboissiere <<a href="mailto:rafael@laboissiere.net">rafael@laboissiere.net</a>> writes:<br>
><br>
>> I prepared version 2.0.0-1 in experimental for upload. I added two patches in<br>
>> this version:<br>
><br>
> Uploaded.<br>
><br>
>> 1. fftconv2-usage.patch: This removes one of the bogus usage of fftconv2. I<br>
>> discussed this with the upstream author Carnë Draug in the octave-dev mailing<br>
>> list. Feel free to revert my patch if you think it is not appropriate.<br>
><br>
> Since your patch fixes #664716, I kept it. I don't know how upstream<br>
> wants to solve the issue.<br>
<br>
Talking to Carnë in IRC, it seems clear that the problem isn't that<br>
the test is wrong but rather that fftconv2 is wrong here. It seems<br>
like an actual bug.<br>
<br>
OF list: fftconv2's vector-vector-matrix three-arg call seems<br>
incorrect and seems to have been incorrect for some time. Can anyone<br>
please confirm? These two calls should both be equal:<br>
<br>
octave:1> conv2(1:3, 1:2, [1 2; 3 4; 5 6])<br>
ans =<br>
<br>
1 4 4<br>
5 18 16<br>
14 48 40<br>
19 62 48<br>
15 48 36<br>
<br>
octave:2> fftconv2(1:3, 1:2, [1 2; 3 4; 5 6])<br>
ans =<br>
<br>
1 4 7 6<br>
5 18 31 24<br>
11 36 61 42<br>
10 32 54 36<br>
<br>
<br>
The upper result is correct. You can nobtain this result with<br>
fftconv2(fftconv2([1 2; 3 4; 5 6,1:2),1:3), so I think this should be<br>
fairly easy to fix.<br>
<br>
Patches, anyone?<br>
<br>
- Jordi G. H.<br>
<br>
------------------------------------------------------------------------------<br>
Monitor your physical, virtual and cloud infrastructure from a single<br>
web console. Get in-depth insight into apps, servers, databases, vmware,<br>
SAP, cloud infrastructure, etc. Download 30-day Free Trial.<br>
Pricing starts from $795 for 25 servers or applications!<br>
<a href="http://p.sf.net/sfu/zoho_dev2dev_nov" target="_blank">http://p.sf.net/sfu/zoho_dev2dev_nov</a><br>
_______________________________________________<br>
Octave-dev mailing list<br>
<a href="mailto:Octave-dev@lists.sourceforge.net">Octave-dev@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/octave-dev" target="_blank">https://lists.sourceforge.net/lists/listinfo/octave-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>DAS</div><div><br></div><a href="https://linuxcounter.net/user/206392.html" target="_blank">https://linuxcounter.net/user/206392.html</a><br>
</div>