docs: public static int rank(SingularValueDecomposition_F64 svd , double threshold ) {
          int numRank=0;
  
          double w[]= svd.getSingularValues();
  
          int N = svd.numberOfSingularValues();
  
          for( int j = 0; j < N; j++ ) {
              if( w[j] > threshold)
                  numRank++;
          }
  
          return numRank;
      }