Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/conv2.cc @ 10840:89f4d7e294cc
Grammarcheck .cc files
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 31 Jul 2010 11:18:11 -0700 |
parents | 8615b55b5caf |
children | bb8bf77f2242 |
comparison
equal
deleted
inserted
replaced
10839:65bc065bec95 | 10840:89f4d7e294cc |
---|---|
49 */ | 49 */ |
50 | 50 |
51 | 51 |
52 DEFUN_DLD (conv2, args, , | 52 DEFUN_DLD (conv2, args, , |
53 "-*- texinfo -*-\n\ | 53 "-*- texinfo -*-\n\ |
54 @deftypefn {Loadable Function} {y =} conv2 (@var{a}, @var{b}, @var{shape})\n\ | 54 @deftypefn {Loadable Function} {y =} conv2 (@var{a}, @var{b}, @var{shape})\n\ |
55 @deftypefnx {Loadable Function} {y =} conv2 (@var{v1}, @var{v2}, @var{M}, @var{shape})\n\ | 55 @deftypefnx {Loadable Function} {y =} conv2 (@var{v1}, @var{v2}, @var{M}, @var{shape})\n\ |
56 \n\ | 56 \n\ |
57 Returns 2D convolution of @var{a} and @var{b} where the size\n\ | 57 Returns 2D convolution of @var{a} and @var{b} where the size\n\ |
58 of @var{c} is given by\n\ | 58 of @var{c} is given by\n\ |
59 \n\ | 59 \n\ |
60 @table @asis\n\ | 60 @table @asis\n\ |
61 @item @var{shape} = 'full'\n\ | 61 @item @var{shape} = 'full'\n\ |
62 returns full 2-D convolution\n\ | 62 returns full 2-D convolution\n\ |
63 \n\ | |
63 @item @var{shape} = 'same'\n\ | 64 @item @var{shape} = 'same'\n\ |
64 same size as a. 'central' part of convolution\n\ | 65 same size as a. 'central' part of convolution\n\ |
66 \n\ | |
65 @item @var{shape} = 'valid'\n\ | 67 @item @var{shape} = 'valid'\n\ |
66 only parts which do not include zero-padded edges\n\ | 68 only parts which do not include zero-padded edges\n\ |
67 @end table\n\ | 69 @end table\n\ |
68 \n\ | 70 \n\ |
69 By default @var{shape} is 'full'. When the third argument is a matrix\n\ | 71 By default @var{shape} is 'full'. When the third argument is a matrix\n\ |
244 of @var{c} is given by\n\ | 246 of @var{c} is given by\n\ |
245 \n\ | 247 \n\ |
246 @table @asis\n\ | 248 @table @asis\n\ |
247 @item @var{shape} = 'full'\n\ | 249 @item @var{shape} = 'full'\n\ |
248 returns full n-D convolution\n\ | 250 returns full n-D convolution\n\ |
251 \n\ | |
249 @item @var{shape} = 'same'\n\ | 252 @item @var{shape} = 'same'\n\ |
250 same size as a. 'central' part of convolution\n\ | 253 same size as a. 'central' part of convolution\n\ |
254 \n\ | |
251 @item @var{shape} = 'valid'\n\ | 255 @item @var{shape} = 'valid'\n\ |
252 only parts which do not include zero-padded edges\n\ | 256 only parts which do not include zero-padded edges\n\ |
253 @end table\n\ | 257 @end table\n\ |
254 \n\ | 258 \n\ |
255 By default @var{shape} is 'full'.\n\ | 259 By default @var{shape} is 'full'.\n\ |