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: sum xdiag

Macro: spur
Description: computes the trace of the matrix

Usage: y = spur(x)
Input:
x n x n matrix,
Output:
x scalar, the trace of the matrix

Example:
library("multi")
randomize(1000)
x = normal(3,3)
y = spur(x)
y 
Result:
[1,] 0.361443

Library: multi
See also: sum xdiag

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: Hafner, Sperlich 971022
(C) MD*TECH Method and Data Technologies, 28.6.1999