octave-maintainers
[Top][All Lists]
Advanced

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

Re: Implementation of convn


From: Søren Hauberg
Subject: Re: Implementation of convn
Date: Sun, 23 Mar 2008 23:58:37 +0100

søn, 23 03 2008 kl. 22:35 +0100, skrev Søren Hauberg:
> Hi,
>   Attached is a fairly simple implementation of 'convn'. The
> implementation consists of two files '__convn__.cc' and 'convn.m'. The
> '__convn__' function computes the valid part of the convolution, while
> the 'convn' function (the user interface) pads the data with zeros,
> depending on the 'shape' argument. This split keeps the code fairly
> simple, but it isn't as fast as humanly possible (fast enough though
> IMHO). Is this approach acceptable?
>   I should mention that the current code is missing
>     * documentation
>     * some optimisations to handle when B is larger than A
> I'll implement this later this evening, and resend the code.
Okay, attached is the updated code.

Søren

Attachment: convn.m
Description: Text Data

Attachment: __convn__.cc
Description: Text Data


reply via email to

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