Home
last modified time | relevance | path

Searched refs:eig (Results 1 – 25 of 31) sorted by relevance

12

/external/eigen/test/
Deigensolver_generic.cpp16 void check_eigensolver_for_given_mat(const EigType &eig, const MatType& a) in check_eigensolver_for_given_mat() argument
22 VERIFY_IS_EQUAL(eig.info(), Success); in check_eigensolver_for_given_mat()
23 …VERIFY_IS_APPROX(a * eig.pseudoEigenvectors(), eig.pseudoEigenvectors() * eig.pseudoEigenvalueMatr… in check_eigensolver_for_given_mat()
24 VERIFY_IS_APPROX(a.template cast<Complex>() * eig.eigenvectors(), in check_eigensolver_for_given_mat()
25 eig.eigenvectors() * eig.eigenvalues().asDiagonal()); in check_eigensolver_for_given_mat()
26 VERIFY_IS_APPROX(eig.eigenvectors().colwise().norm(), RealVectorType::Ones(n).transpose()); in check_eigensolver_for_given_mat()
27 VERIFY_IS_APPROX(a.eigenvalues(), eig.eigenvalues()); in check_eigensolver_for_given_mat()
84 EigenSolver<MatrixType> eig(a.adjoint() * a); in eigensolver() local
85 eig.compute(a.adjoint() * a); in eigensolver()
100 EigenSolver<MatrixType> eig; in eigensolver_verify_assert() local
[all …]
Deigensolver_generalized_real.cpp38 GeneralizedEigenSolver<MatrixType> eig(spdA, spdB); in generalized_eigensolver_real() local
40 VERIFY_IS_EQUAL(eig.eigenvalues().imag().cwiseAbs().maxCoeff(), 0); in generalized_eigensolver_real()
42 VectorType realEigenvalues = eig.eigenvalues().real(); in generalized_eigensolver_real()
47 … typename GeneralizedEigenSolver<MatrixType>::EigenvectorsType D = eig.eigenvalues().asDiagonal(); in generalized_eigensolver_real()
48 typename GeneralizedEigenSolver<MatrixType>::EigenvectorsType V = eig.eigenvectors(); in generalized_eigensolver_real()
54 GeneralizedEigenSolver<MatrixType> eig(rows); in generalized_eigensolver_real() local
57 eig.compute(a,b); in generalized_eigensolver_real()
61 …Matrix<ComplexScalar,Dynamic,Dynamic> tmp = (eig.betas()(k)*a).template cast<ComplexScalar>() - ei… in generalized_eigensolver_real()
67 … typename GeneralizedEigenSolver<MatrixType>::EigenvectorsType D = eig.eigenvalues().asDiagonal(); in generalized_eigensolver_real()
68 typename GeneralizedEigenSolver<MatrixType>::EigenvectorsType V = eig.eigenvectors(); in generalized_eigensolver_real()
Deigensolver_complex.cpp130 ComplexEigenSolver<MatrixType> eig(a.adjoint() * a); in eigensolver() local
131 eig.compute(a.adjoint() * a); in eigensolver()
146 ComplexEigenSolver<MatrixType> eig; in eigensolver_verify_assert() local
147 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
148 VERIFY_RAISES_ASSERT(eig.eigenvalues()); in eigensolver_verify_assert()
151 eig.compute(a, false); in eigensolver_verify_assert()
152 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
Dgpu_basic.cu311 SelfAdjointEigenSolver<T> eig; in operator ()() local
312 eig.computeDirect(A); in operator ()()
313 res = eig.eigenvalues(); in operator ()()
327 SelfAdjointEigenSolver<T> eig; in operator ()() local
328 eig.compute(A); in operator ()()
329 res = eig.eigenvalues(); in operator ()()
Deigensolver_selfadjoint.cpp179 SelfAdjointEigenSolver<MatrixType> eig(a.adjoint() * a); in selfadjointeigensolver() local
180 eig.compute(a.adjoint() * a); in selfadjointeigensolver()
230 SelfAdjointEigenSolver<Eigen::SparseMatrix<double> > eig(A); in bug_1204() local
/external/eigen/lapack/
Deigenvalues.cpp46 …SelfAdjointEigenSolver<PlainMatrixType> eig(mat,computeVectors?ComputeEigenvectors:EigenvaluesOnly… variable
48 if(eig.info()==NoConvergence)
57 make_vector(w,*n) = eig.eigenvalues();
59 matrix(a,*n,*n,*lda) = eig.eigenvectors();
/external/eigen/unsupported/test/
Dmpreal_support.cpp55 SelfAdjointEigenSolver<MatrixXmp> eig(S); in EIGEN_DECLARE_TEST() local
56 VERIFY_IS_EQUAL(eig.info(), Success); in EIGEN_DECLARE_TEST()
57 …VERIFY( (S.selfadjointView<Lower>() * eig.eigenvectors()).isApprox(eig.eigenvectors() * eig.eigenv… in EIGEN_DECLARE_TEST()
/external/tensorflow/tensorflow/core/kernels/linalg/
Dself_adjoint_eig_v2_op_impl.h71 Eigen::SelfAdjointEigenSolver<Matrix> eig( in ComputeMatrix()
76 context, eig.info() == Eigen::Success, in ComputeMatrix()
80 outputs->at(0) = eig.eigenvalues().template cast<Scalar>(); in ComputeMatrix()
82 outputs->at(1) = eig.eigenvectors(); in ComputeMatrix()
Deig_op_impl.h81 EigenSolver eig(inputs[0], /*computeEigenvectors=*/compute_v_); in ComputeMatrix()
84 context, eig.info() == Eigen::Success, in ComputeMatrix()
88 outputs->at(0) = eig.eigenvalues().template cast<OutputScalar>(); in ComputeMatrix()
90 outputs->at(1) = eig.eigenvectors(); in ComputeMatrix()
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Deig_op_test.py48 linalg_ops.eig(scalar)
51 linalg_ops.eig(vector)
61 e1, v1 = linalg_ops.eig(matrix1)
62 e2, v2 = linalg_ops.eig(matrix2)
98 gen_linalg_ops.eig(
176 np_e, np_v = np.linalg.eig(a)
179 tf_e, tf_v = linalg_ops.eig(constant_op.constant(a))
236 e, v = linalg_ops.eig(x)
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DDGMRES.h398 ComplexVector eig(it);
404 eig(j) = std::complex<RealScalar>(T(j,j),RealScalar(0));
409 eig(j) = std::complex<RealScalar>(T(j,j),T(j+1,j));
410 eig(j+1) = std::complex<RealScalar>(T(j,j+1),T(j+1,j+1));
414 if (j < it-1) eig(j) = std::complex<RealScalar>(T(j,j),RealScalar(0));
415 return eig;
428 ComplexVector eig(it);
430 eig = this->schurValues(schurofH);
434 for (Index j=0; j<it; ++j) modulEig(j) = std::abs(eig(j));
446 if(eig(perm(it-nbrEig-1)).imag() == RealScalar(0)) nbrEig++;
/external/eigen/bench/
Deig33.cpp177 SelfAdjointEigenSolver<Mat> eig(A); in main() local
178 BENCH(t, tries, rep, eig.compute(A)); in main()
181 BENCH(t, tries, rep, eig.computeDirect(A)); in main()
/external/libaom/av1/encoder/
Doptical_flow.c244 static void eigenvalues_2x2(const double *matrix, double *eig) { in eigenvalues_2x2() argument
250 eig[0] = (-b - sqrt(discriminant)) / (2.0 * a); in eigenvalues_2x2()
251 eig[1] = (-b + sqrt(discriminant)) / (2.0 * a); in eigenvalues_2x2()
253 if (fabs(eig[0]) > fabs(eig[1])) { in eigenvalues_2x2()
254 double tmp = eig[0]; in eigenvalues_2x2()
255 eig[0] = eig[1]; in eigenvalues_2x2()
256 eig[1] = tmp; in eigenvalues_2x2()
265 double eig[2]; in corner_score() local
277 eigenvalues_2x2(M, eig); in corner_score()
278 return fabs(eig[0]); in corner_score()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Eig.pbtxt41 e, v = eig(a)
42 e = eig(a, compute_v=False)
/external/eigen/failtest/
Deigensolver_int.cpp13 EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main() local
Deigensolver_cplx.cpp13 EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10)); in main() local
/external/eigen/doc/
DAsciiQuickReference.txt222 A.eigenvalues(); // eig(A);
223 EigenSolver<Matrix3d> eig(A); // [vec val] = eig(A)
224 eig.eigenvalues(); // diag(val)
225 eig.eigenvectors(); // vec
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_util.h40 Eigen::TensorMap<Eigen::Tensor<T, kTensorSliceMaxRank, Eigen::RowMajor>> eig( in GetEigenTensorMapFromTensorShape()
42 return eig; in GetEigenTensorMapFromTensorShape()
/external/tensorflow/tensorflow/python/ops/
Dlinalg_ops.py380 def eig(tensor, name=None): function
406 e, v = gen_linalg_ops.eig(tensor, Tout=out_dtype, compute_v=True, name=name)
433 e, _ = gen_linalg_ops.eig(tensor, Tout=out_dtype, compute_v=False, name=name)
Dlinalg_grad.py761 _, v = linalg_ops.eig(op.inputs[0])
/external/eigen/Eigen/src/Eigenvalues/
DSelfAdjointEigenSolver.h578 static inline void run(SolverType& eig, const typename SolverType::MatrixType& A, int options)
579 { eig.compute(A,options); }
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.linalg.pbtxt128 name: "eig"
Dtensorflow.pbtxt620 name: "eig"
/external/hyphenation-patterns/cy/
Dhyph-cy.pat.txt1822 2eig
/external/hyphenation-patterns/de/
Dhyph-de-1996.pat.txt4700 2eig.
4703 2eigä

12