MATRIX commands
PROGRAM NAME
mreplicate - Replicate a Given Matrix as Submatrices of a Larger Matrix
DESCRIPTION
mreplicate
replicates the input matrix as a rectangular array of submatrices to form
a larger matrix. The input maybe of any dimension NxM as long as N>1 and M>1.
The output matrix will be (R*N)x(C*M) where R is the number of times the
input matrix is to be replicated along the row dimension and C is the number of
times the input matrix is to be replicated along the column dimension.
The output data type is the same as the input data type.
REQUIRED ARGUMENTS
- -i
-
type: infile
desc: Input mmatrix data object
- -o
-
type: outfile
desc: Resulting matrix output data object
OPTIONAL ARGUMENTS
- -r
-
type: integer
desc: replica count along rows
default: 1
bounds: value > 0
- -c
-
type: integer
desc: replica count along columns
default: 1
bounds: value > 0
EXAMPLES
% mreplicate -i image:moon -o blah -r 2 -c 3
Produces an image of the moon replicated 3 times in the horizontal direction
and 2 times in the vertical direction.
SEE ALSO
RESTRICTIONS
REFERENCES
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.