Description Usage Arguments Details Value Note Author(s) Examples
Replicates a multidimensional object a number of times along given dimensions.
1 2 3 4 5 |
x |
a |
nreps |
an l-vector of positive integers, representing how many times to copy the object. |
newdim |
an l-vector of positive integers of the new dimension of the output object. These must be integer multiples of the input dimensions. |
Given a k-dimensional object, and an l-vector of positive integers, for l >= k, copy the input object l_i times in the ith dimension. Useful for replication and (slow, fake) outer products.
repto
replicates to the given dimension, assuming the
given dimension are integer multiples of the input dimensions.
A madness
object replicated out.
An error will be thrown if nreps
or newdim
are improper.
Steven E. Pav shabbychef@gmail.com
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.