mat.I: Forms a unit matrix

Description Usage Arguments Value Author(s) See Also Examples

Description

Form the unit or identity matrix of order order.

Usage

1

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

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

dae documentation built on July 5, 2017, 5:02 p.m.