Description Usage Arguments Details Value Author(s) References Examples
Mimics some of the behavior of the Riffle
function
(http://reference.wolfram.com/mathematica/ref/Riffle.html) in
Mathematica. For matrices, it interleaves the columns. For vectors, it
interleaves differently according to whether the subsequent values are
presented as separate values or whether they are grouped with c()
.
1 |
... |
The objects or values that need to be interleaved. |
It is expected that all matrices to be interleaved would have the same number of rows, though they may have differing numbers of columns. If they have differing numbers of columns, they are all made to conform to the same dimension before proceeding by recycling the existing columns.
A vector or a matrix depending on the input. If one or more input objects is a matrix, the result will also be a matrix.
Ananda Mahto
http://stackoverflow.com/q/21347207/1270695
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.