identity

fun <N : Nat> identity(size: N): Matrix<N, N>(source)

Creates an identity matrix with dimensions size x size.