HyperMath

Rank

Rank

Previous topic Next topic No expanding text in this topic  

Rank

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The rank of a matrix.

Syntax

r = Rank(m, tol)

Argument

Name

Description

 

m

A matrix.

 

Tol

(optional)

A real number used as the threshold for rounding off near zero singular values. The default is the largest dimension mulitiplied by Eps(s), where s is the largest singular value.

Output

Name

Description

 

r

The rank.

Example

Find the rank of matrix: [1,2,3;4,5,6;2,4,6].

 

Syntax

 

r = Rank([1,2,3;4,5,6;2,4,6])

 

Result

 

r = 2

Comments

The rank is the number of linearly independent rows or columns in a matrix.

See Also:

Cond

Det

Inv

Norm