REPMAT

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Replicate and tile array

Usage

Jacket for M Language
    Supported Syntax
    
B = repmat(A,m,n)
B = repmat(A,[m n])
B = repmat(A,[m n p...])
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   GUINT32   COMPLEX 

Types Not Supported

-  GINT8   GUINT8 

CPU usageJacket only contains GPU computing functions. To run functions on the CPU, try one of the MathWorks products:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/repmat.html

Notes

  • Currently supported for at most a 3-D input
  • REPMAT can create at most a 3-dimensional tiling of an input. This means the statement: REPMAT(A, [M, N, P, Q]) would not work in Jacket

See Also

RESHAPE, BSXFUN, NAN, INF, GONES, GZEROS

Views
Personal tools