mat.I: Forms a unit matrix

mat.IR Documentation

Forms a unit matrix

Description

Form the unit or identity matrix of order order.

Usage

mat.I(order)

Arguments

order

The order of the matrix to be formed.

Value

A square matrix whose diagonal elements are one and its off-diagonal are zero.

Author(s)

Chris Brien

See Also

mat.J, mat.ar1

Examples

    col.I <- mat.I(order=4)

briencj/dae documentation built on Dec. 4, 2024, 1:13 a.m.