Description Usage Arguments Value Author(s) References See Also Examples
Construct an identity matrix.
1 | identityMat(n)
|
n |
a numeric describes the dimension of the identity matrix. |
This function returns a matrix with the diagonal elements equal to one and the off-diagonal elements equal to zero.
Kevin
John J, Williams E (1987). Cyclic and computer generated Designs. Second edition. Chapman & Hall.
1 | identityMat(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.