Fast generation of a matrix by replicating a matrix row- and column-wise in a block-like fashion

1 |

`x` |
A matrix with dimensions r*c. |

`nrow` |
An integer giving the number of times the matrix is replicated row-wise |

`ncol` |
An integer giving the number of times the matrix is replicated column-wise |

A matrix with dimensions (r*nrow) x (c*ncol)

Claus Ekstrom <claus@rprimer.dk>

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.