#include "defun-dld.h"
#include "error.h"
#include "oct-obj.h"
#include "utils.h"
Defines | |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
Enumerations | |
enum | Shape { SHAPE_FULL, SHAPE_SAME, SHAPE_VALID } |
Functions | |
MArray2< double > | conv2 (MArray< double > &, MArray< double > &, MArray2< double > &, Shape) |
MArray2< Complex > | conv2 (MArray< Complex > &, MArray< Complex > &, MArray2< Complex > &, Shape) |
MArray2< float > | conv2 (MArray< float > &, MArray< float > &, MArray2< float > &, Shape) |
MArray2< FloatComplex > | conv2 (MArray< FloatComplex > &, MArray< FloatComplex > &, MArray2< FloatComplex > &, Shape) |
template<class T > | |
MArray2< T > | conv2 (MArray< T > &R, MArray< T > &C, MArray2< T > &A, Shape ishape) |
MArray2< double > | conv2 (MArray2< double > &, MArray2< double > &, Shape) |
MArray2< Complex > | conv2 (MArray2< Complex > &, MArray2< Complex > &, Shape) |
MArray2< float > | conv2 (MArray2< float > &, MArray2< float > &, Shape) |
MArray2< FloatComplex > | conv2 (MArray2< FloatComplex > &, MArray2< FloatComplex > &, Shape) |
template<class T > | |
MArray2< T > | conv2 (MArray2< T > &A, MArray2< T > &B, Shape ishape) |
DEFUN_DLD (conv2, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {y =} conv2 (@var{a}, @var{b}, @var{shape})\n\ @deftypefnx {Loadable Function} {y =} conv2 (@var{v1}, @var{v2}, @var{M}, @var{shape})\n\ \n\ Returns 2D convolution of @var{a} and @var{b} where the size\n\ of @var{c} is given by\n\ \n\ @table @asis\n\ @item @var{shape}= 'full'\n\ returns full 2-D convolution\n\ @item @var{shape}= 'same'\n\ same size as a. 'central' part of convolution\n\ @item @var{shape}= 'valid'\n\ only parts which do not include zero-padded edges\n\ @end table\n\ \n\ By default @var{shape} is 'full'. When the third argument is a matrix\n\ returns the convolution of the matrix @var{M} by the vector @var{v1}\n\ in the column direction and by vector @var{v2} in the row direction\n\ @end deftypefn") |
#define MAX | ( | a, | |||
b | ) | ((a) > (b) ? (a) : (b)) |
enum Shape |
MArray2<FloatComplex> conv2 | ( | MArray2< FloatComplex > & | , | |
MArray2< FloatComplex > & | , | |||
Shape | ||||
) |
MArray2<T> conv2 | ( | MArray< T > & | R, | |
MArray< T > & | C, | |||
MArray2< T > & | A, | |||
Shape | ishape | |||
) | [inline] |
MArray2<FloatComplex> conv2 | ( | MArray< FloatComplex > & | , | |
MArray< FloatComplex > & | , | |||
MArray2< FloatComplex > & | , | |||
Shape | ||||
) |
template MArray2< Complex > conv2 | ( | MArray< Complex > & | , | |
MArray< Complex > & | , | |||
MArray2< Complex > & | , | |||
Shape | ||||
) |
template MArray2< double > conv2 | ( | MArray< double > & | , | |
MArray< double > & | , | |||
MArray2< double > & | , | |||
Shape | ||||
) |
DEFUN_DLD | ( | conv2 | , | |
args | ||||
) |