Description Usage Arguments Value See Also Examples
Create a matrix filled with the value x
.
1 2 3 4 5 6 7 8 9 |
x |
The (single) value to fill the matrix with. |
nrow |
The desired number of rows. |
ncol |
The desired number of columns. |
... |
Further dimensions of the array. |
atleast_2d |
Logical indicating whether or not to force column vectors
to have a second dimension equal to one. Defaults to |
A matrix or array filled with the value x
.
ones
, zeros
, falses
,
trues
, mat
, matrix
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.