[Numpy-discussion] Problem with correlate

Robert Kern robert.kern at gmail.com
Mon Jun 1 23:54:29 EDT 2009

On Mon, Jun 1, 2009 at 22:33, David Cournapeau
<david at ar.media.kyoto-u.ac.jp> wrote:
> Charles R Harris wrote:
>> On Mon, Jun 1, 2009 at 11:48 AM, Charles R Harris
>> <charlesr.harris at gmail.com <mailto:charlesr.harris at gmail.com>> wrote:
>>     On Mon, Jun 1, 2009 at 10:35 AM, Robert Kern
>>     <robert.kern at gmail.com <mailto:robert.kern at gmail.com>> wrote:
>>         On Mon, Jun 1, 2009 at 00:05, David Cournapeau
>>         <david at ar.media.kyoto-u.ac.jp
>>         <mailto:david at ar.media.kyoto-u.ac.jp>> wrote:
>>         > I think we should just fix it to use conjugate - I will do
>>         this in the
>>         > branch, and I will integrate it in the trunk later unless
>>         someone stands
>>         > up vehemently against the change. I opened up a ticket to
>>         track this,
>>         > though,
>>         It breaks everyone's code that works around the current behavior.
>>     Maybe we need a new function. But what to call it?
>> How about introducing acorrelate and deprecating the old version?
> This does not solve the C function problem (PyArray_Correlate). The easy
> solution would be to keep the current C version, deal with the problem
> in python for acorrelate for the time being, and replace the old C
> function with the 'correct' one once we remove the deprecated correlate ?

No, you do the same thing at the C level.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list