rowReduce

rowReduce(A, a)[source]

Eliminates dependent rows from A & a where \(A x = a\)

Usage

[AA, aa, pp, rankA, p] = rowReduce(A, a)

Input

  • A – from \(A x = a\)

Optional input

  • a – from \(A x = a\)

Outputs

  • AA – row reduced A
  • aa – row reduced a i.e. aa = a(pp)
  • pp – 1:rankA indices of independent rows
  • rankA – rank of A
  • p – row permutation which leaves first 1:rankA rows independent and last rows dependent