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: xplore
See also: svd eigsm sum

Macro: rankm
Description: Computes the rank r of a matrix x.

Usage: r = rankm(x)
Input:
x n x d matrix,
Output:
r integer, the rank of the matrix

Example:
library("xplore")
x = (1~0~0)|(0~2~0)|(0~0~3)|(0~0~4)
rankm(x)
Result:

Contents of r
[1,]        3 

Library: xplore
See also: svd eigsm sum

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: CH, StSp 971027, WH 980514, Marlene Mueller 980519
(C) MD*TECH Method and Data Technologies, 17.8.2000