comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Bug in IDL CONVOL procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Bug in IDL CONVOL procedure [message #4744] Fri, 14 July 1995 00:00 Go to previous message
Ulrik Kjems is currently offline  Ulrik Kjems
Messages: 1
Registered: July 1995
Junior Member
There seems to be a (several) bugs in the CONVOL library routine.

IDL> a=[0,1,1,1,0]
IDL> b=[1,1,1]
IDL> print,convol(a,b)
0 2 3 2 0
I believe, that the result should be
1 2 3 2 1
according to the reference manual p. 1-55.

Further, when convolving in 3D:
IDL> a=replicate(1.0,5,5,5)
IDL> b=replicate(1.0,3,3,3)
IDL> c=convol(a,b,/edge_wrap)
IDL> print,c
[Message index]
 
Read Message
Read Message
Previous Topic: FORTRAN (f77) DIRECT ACCESS FOR FILES
Next Topic: POLYSHADE X,Y out of range

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 07:06:23 PDT 2025

Total time taken to generate the page: 1.08286 seconds