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

Macro: 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:

[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, 28.6.1999