matrixRank function Null safety

int matrixRank(
  1. Array2d a
)

Matrix rank return rank, obtained from SVD.

Implementation

int matrixRank(Array2d a) {
  return SVD(a).rank();
}