Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Eigenvalues/
DSelfAdjointEigenSolver.h24 ComputationInfo computeFromTridiagonal_impl(DiagType& diag, SubDiagType& subdiag, const Index maxIt…
238 …omputeFromTridiagonal(const RealVectorType& diag, const SubDiagonalType& subdiag , int options=Com…
393 static void tridiagonal_qr_step(RealScalar* diag, RealScalar* subdiag, Index start, Index end, Scal…
451 ::computeFromTridiagonal(const RealVectorType& diag, const SubDiagonalType& subdiag , int options)
457 m_subdiag = subdiag;
482 ComputationInfo computeFromTridiagonal_impl(DiagType& diag, SubDiagType& subdiag, const Index maxIt…
501 …if (internal::isMuchSmallerThan(abs(subdiag[i]),(abs(diag[i])+abs(diag[i+1])),precision) || abs(su…
502 subdiag[i] = 0;
505 while (end>0 && subdiag[end-1]==RealScalar(0))
517 while (start>0 && subdiag[start-1]!=0)
[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);
442 static void run(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ)
447 subdiag = mat.template diagonal<-1>().real();
466 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;
/external/tensorflow/tensorflow/core/kernels/
Dtridiagonal_solve_op.cc91 const auto& subdiag = diagonals.row(2); in ComputeMatrix() local
120 if (std::abs(u(i)) >= std::abs(subdiag(i + 1))) { in ComputeMatrix()
123 const Scalar factor = subdiag(i + 1) / u(i, 0); in ComputeMatrix()
132 const Scalar factor = u(i, 0) / subdiag(i + 1); in ComputeMatrix()
133 u(i, 0) = subdiag(i + 1); in ComputeMatrix()
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinalg_impl.py420 superdiag, maindiag, subdiag = diagonals
421 if (not subdiag.shape[:-1].is_compatible_with(maindiag.shape[:-1]) or
426 subdiag.shape, maindiag.shape, superdiag.shape))
441 subdiag = pad_if_necessary(subdiag, 'subdiagonal', [1, 0])
444 diagonals = array_ops.stack((superdiag, maindiag, subdiag), axis=-2)
/external/tensorflow/tensorflow/python/kernel_tests/
Dtridiagonal_solve_op_test.py405 subdiag = array_ops.placeholder(dtypes.float64, shape=[None])
408 x = linalg_impl.tridiagonal_solve((superdiag, diag, subdiag),
415 subdiag: [20, 1, -1, 1],