[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
convn.m
Description: Text Data
__convn__.cc
Description: Text Data
- Implementation of convn, Søren Hauberg, 2008/03/23
- Re: Implementation of convn,
Søren Hauberg <=
- Re: Implementation of convn, John W. Eaton, 2008/03/24
- Re: Implementation of convn, Søren Hauberg, 2008/03/24
- Re: Implementation of convn, John W. Eaton, 2008/03/24
- Re: Implementation of convn, Søren Hauberg, 2008/03/24
- Re: Implementation of convn, John W. Eaton, 2008/03/24
- Re: Implementation of convn, Søren Hauberg, 2008/03/25
- Re: Implementation of convn, John W. Eaton, 2008/03/25
- Re: Implementation of convn, Søren Hauberg, 2008/03/26
- Re: Implementation of convn, John W. Eaton, 2008/03/26
- Re: Implementation of convn, Søren Hauberg, 2008/03/27