Mercurial > octave
comparison scripts/general/repmat.m @ 21521:02cbd95095cc
doc: shorten repmat one-line description so it appears in "lookfor repeat".
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Tue, 22 Mar 2016 17:22:00 +0000 |
parents | a4faec57f4c8 |
children | a4551d2b5da5 |
comparison
equal
deleted
inserted
replaced
21520:e1c921322ba2 | 21521:02cbd95095cc |
---|---|
22 ## @deftypefn {} {} repmat (@var{A}, @var{m}) | 22 ## @deftypefn {} {} repmat (@var{A}, @var{m}) |
23 ## @deftypefnx {} {} repmat (@var{A}, @var{m}, @var{n}) | 23 ## @deftypefnx {} {} repmat (@var{A}, @var{m}, @var{n}) |
24 ## @deftypefnx {} {} repmat (@var{A}, @var{m}, @var{n}, @var{p} @dots{}) | 24 ## @deftypefnx {} {} repmat (@var{A}, @var{m}, @var{n}, @var{p} @dots{}) |
25 ## @deftypefnx {} {} repmat (@var{A}, [@var{m} @var{n}]) | 25 ## @deftypefnx {} {} repmat (@var{A}, [@var{m} @var{n}]) |
26 ## @deftypefnx {} {} repmat (@var{A}, [@var{m} @var{n} @var{p} @dots{}]) | 26 ## @deftypefnx {} {} repmat (@var{A}, [@var{m} @var{n} @var{p} @dots{}]) |
27 ## Repeat matrix or N-D array. | |
28 ## | |
27 ## Form a block matrix of size @var{m} by @var{n}, with a copy of matrix | 29 ## Form a block matrix of size @var{m} by @var{n}, with a copy of matrix |
28 ## @var{A} as each element. | 30 ## @var{A} as each element. |
29 ## | 31 ## |
30 ## If @var{n} is not specified, form an @var{m} by @var{m} block matrix. For | 32 ## If @var{n} is not specified, form an @var{m} by @var{m} block matrix. For |
31 ## copying along more than two dimensions, specify the number of times to copy | 33 ## copying along more than two dimensions, specify the number of times to copy |
32 ## across each dimension @var{m}, @var{n}, @var{p}, @dots{}, in a vector in the | 34 ## across each dimension @var{m}, @var{n}, @var{p}, @dots{}, in a vector in the |
33 ## second argument. | 35 ## second argument. |
34 ## @seealso{repelems} | 36 ## |
37 ## @seealso{bsxfun, kron, repelems} | |
35 ## @end deftypefn | 38 ## @end deftypefn |
36 | 39 |
37 ## Author: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> | 40 ## Author: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
38 ## Created: July 2000 | 41 ## Created: July 2000 |
39 | 42 |