Matrix Rank
Matrix Algebra DS practice problem on Onlearn.
Difficulty: medium.
Topics: Understanding the dimension of the vector space generated by the rows or columns of a matrix., Pivoting, Elementary Row Operations, Floating Point Epsilon, Basis Vectors, Determinants, Linear Algebra, Matrix Theory, Vector Spaces, Numerical Analysis, Computational Mathematics, Row Echelon Form, Linear Independence, Gaussian Elimination, Null Space, Column Space.
Implement a function that calculates the rank of a given matrix represented as a list of lists. The rank is the number of linearly independent rows or columns in the matrix.