[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Implementation of convn
From: |
Søren Hauberg |
Subject: |
Implementation of convn |
Date: |
Sun, 23 Mar 2008 22:35:00 +0100 |
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.
Søren
__convn__.cc
Description: Text Data
convn.m
Description: Text Data
- Implementation of convn,
Søren Hauberg <=
- Re: Implementation of convn, Søren Hauberg, 2008/03/23
- 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