Skip to content
Snippets Groups Projects

add support for computing the rank of matrices

Merged STEVAN Antoine requested to merge matrix-rank into main

this MR adds

  • a new rank implementation to Matrix
  • some tests

Note
the algorithm is basically the same as in the matrix inversion from invert, i.e. transform the matrix into echelon form and then count the number of non-zero rows

Note
the row-rank of a matrix is the same as its column-rank, so we can safely count the number of rows

Edited by STEVAN Antoine

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading