Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: multi
See also: diag xdiag matrix unit zeros

Quantlet: eye
Description: creating a d-dimensional identity matrix

Usage: x = eye(d)
Input:
d integer, dimension of matrix
Output:
x d x d unit matrix

Example:

library("multi")

eye(3)

Result:

Contents of x

[1,]   1   0   0 

[2,]   0   1   0 

[3,]   0   0   1 


Library: multi
See also: diag xdiag matrix unit zeros

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Christopher Kath, Sperlich 971022
(C) MD*TECH Method and Data Technologies, 21.9.2000