Description Usage Arguments Examples
Extract or replace the antidiagonal of a matrix, or construct a antidiagonal matrix.
1 2 3 |
x |
matrix, vector or 1D array, or missing. |
nrow |
number of rows (optional; when x is not a matrix) |
ncol |
number of columns (optional; when x is not a matrix) |
value |
either a single value or a vector of length equal to that of the current antidiagonal. Should be of a mode which can be coerced to that of x. |
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.