Description Usage Arguments See Also Examples
Creates an Identity Matrix I and a Matrix of Ones J.
I
(): Creates an identity matrix where the number of columns is n. This is a diagonal matrix with all equal to one (1). An identity matrix is usually written as I. Names of rows and columns (dimnames
) are included.
J
(): Creates a matrix of ones with any number of rows and columns. Names of rows and columns (dimnames
) are included.
1 2 3 |
n |
Number of rows in I or J. |
m |
Number of columns in J. Default: Same as number of rows. |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.