Student[LinearAlgebra] - Maple Programming Help

Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : Queries : Student/LinearAlgebra/Rank

Student[LinearAlgebra]

 Rank
 compute the rank of a Matrix

 Calling Sequence Rank(A)

Parameters

 A - Matrix

Description

 • If A does not have a floating-point data type, then the Rank(A) command computes the rank of A by performing Gaussian elimination on the rows of A.
 The rank of Matrix A is the number of nonzero rows in the resulting Matrix.
 • If Matrix A has a floating-point data type, a singular value decomposition and analysis is performed.

Examples

 > $\mathrm{with}\left(\mathrm{Student}[\mathrm{LinearAlgebra}]\right):$
 > $A≔⟨⟨-7,1,2⟩|⟨2,1,-1⟩|⟨3,0,-1⟩|⟨2,7,-3⟩⟩$
 ${A}{:=}\left[\begin{array}{rrrr}{-}{7}& {2}& {3}& {2}\\ {1}& {1}& {0}& {7}\\ {2}& {-}{1}& {-}{1}& {-}{3}\end{array}\right]$ (1)
 > $\mathrm{Rank}\left(A\right)$
 ${2}$ (2)
 > $\mathrm{numelems}\left(\mathrm{RowSpace}\left(A\right)\right)$
 ${2}$ (3)