Rdocumentation
powered by
Learn R Programming
rmngb (version 0.6-1)
invDiag: Matrix Diagonals with a useless(?) twist
Description
Construct a diagonal matrix, with a pi/2 rotation.
Usage
invDiag(x)
Arguments
x
scalar integer. Returns a square matrix of size given by the scalar.
Value
A square matrix.
Details
Probably useless.
See Also
diag
.
Examples
Run this code
invDiag(
5
)
Run the code above in your browser using
DataLab