Function Utils::containsRow

Function Documentation

bool Utils::containsRow(const arma::sp_mat &A, const arma::vec &row, const double tol = 1e-6)

Check if A contains a row row.

Parameters
  • A – The input matrix

  • row – The input row

  • tol – A numerical tolerance

Returns

True if the row was found