Template Function Karana::Math::getIndepRowColIndices

Template Function Karana::Math::getIndepRowColIndices#

Function Documentation#

template<typename Derived>
std::pair<std::vector<unsigned int>, std::vector<unsigned int>> Karana::Math::getIndepRowColIndices(const Eigen::MatrixBase<Derived> &mat, double threshold = 1e-12)#

Return the pair of indices lists of indices of independent rows and columns in the input matrix.

Parameters:
  • mat – The input matrix

  • threshold – the threshold to use for rank check

Returns:

the pair of indices lists of independent rows and columns