Rev Language Reference


diagonalMatrix

Building a identity/diagonal matrix with 'n' columns and rows.

Usage

diagonalMatrix(Natural n)

Arguments

n : Natural (pass by value)
The number of rows/columns (dimension).

Return Type