Home
last modified time | relevance | path

Searched refs:subdiag (Results 1 – 4 of 4) sorted by relevance

/external/eigen/Eigen/src/Eigenvalues/
DSelfAdjointEigenSolver.h380 static void tridiagonal_qr_step(RealScalar* diag, RealScalar* subdiag, Index start, Index end, Scal…
750 static void tridiagonal_qr_step(RealScalar* diag, RealScalar* subdiag, Index start, Index end, Scal…
754 RealScalar e = subdiag[end-1];
765 RealScalar e2 = numext::abs2(subdiag[end-1]);
772 RealScalar z = subdiag[start];
779 RealScalar sdk = rot.s() * diag[k] + rot.c() * subdiag[k];
780 RealScalar dkp1 = rot.s() * subdiag[k] + rot.c() * diag[k+1];
782 …diag[k] = rot.c() * (rot.c() * diag[k] - rot.s() * subdiag[k]) - rot.s() * (rot.c() * subdiag[k] -…
784 subdiag[k] = rot.c() * sdk - rot.s() * dkp1;
788 subdiag[k - 1] = rot.c() * subdiag[k-1] - rot.s() * z;
[all …]
DTridiagonalization.h427 void tridiagonalization_inplace(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool…
429 eigen_assert(mat.cols()==mat.rows() && diag.size()==mat.rows() && subdiag.size()==mat.rows()-1);
430 tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, extractQ);
443 static void run(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ)
448 subdiag = mat.template diagonal<-1>().real();
467 static void run(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ)
476 subdiag[0] = mat(1,0);
477 subdiag[1] = mat(2,1);
490 subdiag[0] = beta;
491 subdiag[1] = mat(2,1) - m01 * q;
/external/eigen/doc/snippets/
DTridiagonalization_decomposeInPlace.cpp6 VectorXd subdiag(4); variable
7 internal::tridiagonalization_inplace(A, diag, subdiag, true);
10 cout << "The subdiagonal of the tridiagonal matrix T is:" << endl << subdiag << endl;
DTridiagonalization_diagonal.cpp12 VectorXd subdiag = triOfA.subDiagonal(); variable
13 cout << "The subdiagonal is:" << endl << subdiag << endl;