Lines Matching refs:diffs
16 template<typename MatrixType> bool find_pivot(typename MatrixType::Scalar tol, MatrixType &diffs, I… in find_pivot() argument
18 bool match = diffs.diagonal().sum() <= tol; in find_pivot()
19 if(match || col==diffs.cols()) in find_pivot()
25 Index n = diffs.cols(); in find_pivot()
30 if(diffs.col(col).segment(col,n-i).minCoeff(&best_index) > tol) in find_pivot()
35 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
36 if(find_pivot(tol,diffs,col+1)) return true; in find_pivot()
37 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
40 diffs.row(n-(i-col)-1).swap(diffs.row(best_index)); in find_pivot()
45 diffs.row(transpositions[k].first).swap(diffs.row(transpositions[k].second)); in find_pivot()
66 …Matrix<RealScalar,Dynamic,Dynamic> diffs = (vec1.rowwise().replicate(n) - vec2.rowwise().replicate… in verify_is_approx_upto_permutation() local
68 VERIFY( find_pivot(tol, diffs) ); in verify_is_approx_upto_permutation()