• Home
  • Raw
  • Download

Lines Matching refs:iu

195     Index findSmallSubdiagEntry(Index iu, Scalar norm);
196 void splitOffTwoRows(Index iu, bool computeU, Scalar exshift);
197 void computeShift(Index iu, Index iter, Scalar& exshift, Vector3s& shiftInfo);
198 …void initFrancisQRStep(Index il, Index iu, const Vector3s& shiftInfo, Index& im, Vector3s& firstHo…
199 …void performFrancisQRStep(Index il, Index im, Index iu, bool computeU, const Vector3s& firstHouseh…
222 Index iu = m_matT.cols() - 1; in compute() local
229 while (iu >= 0) in compute()
231 Index il = findSmallSubdiagEntry(iu, norm); in compute()
234 if (il == iu) // One root found in compute()
236 m_matT.coeffRef(iu,iu) = m_matT.coeff(iu,iu) + exshift; in compute()
237 if (iu > 0) in compute()
238 m_matT.coeffRef(iu, iu-1) = Scalar(0); in compute()
239 iu--; in compute()
242 else if (il == iu-1) // Two roots found in compute()
244 splitOffTwoRows(iu, computeU, exshift); in compute()
245 iu -= 2; in compute()
252 computeShift(iu, iter, exshift, shiftInfo); in compute()
256 initFrancisQRStep(il, iu, shiftInfo, im, firstHouseholderVector); in compute()
257 performFrancisQRStep(il, im, iu, computeU, firstHouseholderVector, workspace); in compute()
287 inline typename MatrixType::Index RealSchur<MatrixType>::findSmallSubdiagEntry(Index iu, Scalar nor… in findSmallSubdiagEntry() argument
289 Index res = iu; in findSmallSubdiagEntry()
304 inline void RealSchur<MatrixType>::splitOffTwoRows(Index iu, bool computeU, Scalar exshift) in splitOffTwoRows() argument
310 Scalar p = Scalar(0.5) * (m_matT.coeff(iu-1,iu-1) - m_matT.coeff(iu,iu)); in splitOffTwoRows()
311 …Scalar q = p * p + m_matT.coeff(iu,iu-1) * m_matT.coeff(iu-1,iu); // q = tr^2 / 4 - det = discr/4 in splitOffTwoRows()
312 m_matT.coeffRef(iu,iu) += exshift; in splitOffTwoRows()
313 m_matT.coeffRef(iu-1,iu-1) += exshift; in splitOffTwoRows()
320 rot.makeGivens(p + z, m_matT.coeff(iu, iu-1)); in splitOffTwoRows()
322 rot.makeGivens(p - z, m_matT.coeff(iu, iu-1)); in splitOffTwoRows()
324 m_matT.rightCols(size-iu+1).applyOnTheLeft(iu-1, iu, rot.adjoint()); in splitOffTwoRows()
325 m_matT.topRows(iu+1).applyOnTheRight(iu-1, iu, rot); in splitOffTwoRows()
326 m_matT.coeffRef(iu, iu-1) = Scalar(0); in splitOffTwoRows()
328 m_matU.applyOnTheRight(iu-1, iu, rot); in splitOffTwoRows()
331 if (iu > 1) in splitOffTwoRows()
332 m_matT.coeffRef(iu-1, iu-2) = Scalar(0); in splitOffTwoRows()
337 inline void RealSchur<MatrixType>::computeShift(Index iu, Index iter, Scalar& exshift, Vector3s& sh… in computeShift() argument
339 shiftInfo.coeffRef(0) = m_matT.coeff(iu,iu); in computeShift()
340 shiftInfo.coeffRef(1) = m_matT.coeff(iu-1,iu-1); in computeShift()
341 shiftInfo.coeffRef(2) = m_matT.coeff(iu,iu-1) * m_matT.coeff(iu-1,iu); in computeShift()
347 for (Index i = 0; i <= iu; ++i) in computeShift()
349 Scalar s = internal::abs(m_matT.coeff(iu,iu-1)) + internal::abs(m_matT.coeff(iu-1,iu-2)); in computeShift()
368 for (Index i = 0; i <= iu; ++i) in computeShift()
377 inline void RealSchur<MatrixType>::initFrancisQRStep(Index il, Index iu, const Vector3s& shiftInfo,… in initFrancisQRStep() argument
381 for (im = iu-2; im >= il; --im) in initFrancisQRStep()
403 inline void RealSchur<MatrixType>::performFrancisQRStep(Index il, Index im, Index iu, bool computeU… in performFrancisQRStep() argument
406 assert(im <= iu-2); in performFrancisQRStep()
410 for (Index k = im; k <= iu-2; ++k) in performFrancisQRStep()
433 m_matT.block(0, k, (std::min)(iu,k+3) + 1, 3).applyHouseholderOnTheRight(ess, tau, workspace); in performFrancisQRStep()
439 Matrix<Scalar, 2, 1> v = m_matT.template block<2,1>(iu-1, iu-2); in performFrancisQRStep()
446 m_matT.coeffRef(iu-1, iu-2) = beta; in performFrancisQRStep()
447 m_matT.block(iu-1, iu-1, 2, size-iu+1).applyHouseholderOnTheLeft(ess, tau, workspace); in performFrancisQRStep()
448 m_matT.block(0, iu-1, iu+1, 2).applyHouseholderOnTheRight(ess, tau, workspace); in performFrancisQRStep()
450 m_matU.block(0, iu-1, size, 2).applyHouseholderOnTheRight(ess, tau, workspace); in performFrancisQRStep()
454 for (Index i = im+2; i <= iu; ++i) in performFrancisQRStep()