/external/opencv3/modules/core/src/ |
D | pca.cpp | 110 eigen( covar, eigenvalues, eigenvectors ); in operator ()() 129 gemm( eigenvectors, tmp_data, 1, Mat(), 0, evects1, in operator ()() 131 eigenvectors = evects1; in operator ()() 137 Mat vec = eigenvectors.row(i); in operator ()() 146 eigenvectors = eigenvectors.rowRange(0,out_count).clone(); in operator ()() 156 fs << "vectors" << eigenvectors; in write() 167 cv::read(fs["vectors"], eigenvectors); in read() 246 eigen( covar, eigenvalues, eigenvectors ); in operator ()() 265 gemm( eigenvectors, tmp_data, 1, Mat(), 0, evects1, in operator ()() 267 eigenvectors = evects1; in operator ()() [all …]
|
/external/eigen/test/ |
D | eigensolver_selfadjoint.cpp | 60 VERIFY((symmA.template selfadjointView<Lower>() * eiSymm.eigenvectors()).isApprox( in selfadjointeigensolver() 61 eiSymm.eigenvectors() * eiSymm.eigenvalues().asDiagonal(), largerEps)); in selfadjointeigensolver() 65 VERIFY((symmA.template selfadjointView<Lower>() * eiDirect.eigenvectors()).isApprox( in selfadjointeigensolver() 66 eiDirect.eigenvectors() * eiDirect.eigenvalues().asDiagonal(), largerEps)); in selfadjointeigensolver() 76 VERIFY((symmC.template selfadjointView<Lower>() * eiSymmGen.eigenvectors()).isApprox( in selfadjointeigensolver() 77 …symmB.template selfadjointView<Lower>() * (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDi… in selfadjointeigensolver() 82 …ointView<Lower>() * (symmC.template selfadjointView<Lower>() * eiSymmGen.eigenvectors())).isApprox( in selfadjointeigensolver() 83 (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); in selfadjointeigensolver() 88 …ointView<Lower>() * (symmB.template selfadjointView<Lower>() * eiSymmGen.eigenvectors())).isApprox( in selfadjointeigensolver() 89 (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); in selfadjointeigensolver() [all …]
|
D | eigensolver_complex.cpp | 50 VERIFY_IS_APPROX(symmA * ei0.eigenvectors(), ei0.eigenvectors() * ei0.eigenvalues().asDiagonal()); in eigensolver() 54 VERIFY_IS_APPROX(a * ei1.eigenvectors(), ei1.eigenvectors() * ei1.eigenvalues().asDiagonal()); in eigensolver() 62 VERIFY_IS_EQUAL(ei2.eigenvectors(), ei1.eigenvectors()); in eigensolver() 94 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert() 99 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
|
D | eigensolver_generic.cpp | 42 VERIFY_IS_APPROX(a.template cast<Complex>() * ei1.eigenvectors(), in eigensolver() 43 ei1.eigenvectors() * ei1.eigenvalues().asDiagonal()); in eigensolver() 44 VERIFY_IS_APPROX(ei1.eigenvectors().colwise().norm(), RealVectorType::Ones(rows).transpose()); in eigensolver() 50 VERIFY_IS_EQUAL(ei2.eigenvectors(), ei1.eigenvectors()); in eigensolver() 78 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert() 85 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert() 120 V(0,0) = solver.eigenvectors()(0,0).real(); in test_eigensolver_generic()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | EigenDecompositionImpl.java | 78 private ArrayRealVector[] eigenvectors; field in EigenDecompositionImpl 162 final int m = eigenvectors.length; in getV() 165 cachedV.setColumnVector(k, eigenvectors[k]); in getV() 186 final int m = eigenvectors.length; in getVT() 189 cachedVt.setRowVector(k, eigenvectors[k]); in getVT() 223 return eigenvectors[i].copy(); in getEigenvector() 240 return new Solver(realEigenvalues, imagEigenvalues, eigenvectors); in getSolver() 253 private final ArrayRealVector[] eigenvectors; field in EigenDecompositionImpl.Solver 266 final ArrayRealVector[] eigenvectors) { in Solver() argument 269 this.eigenvectors = eigenvectors; in Solver() [all …]
|
/external/eigen/test/eigen2/ |
D | eigen2_eigensolver.cpp | 67 VERIFY_IS_APPROX(_evec.cwise().abs(), eiSymm.eigenvectors().cwise().abs()); in selfadjointeigensolver() 77 …MatrixType normalized_eivec = eiSymmGen.eigenvectors()*eiSymmGen.eigenvectors().colwise().norm().a… in selfadjointeigensolver() 88 VERIFY((symmA * eiSymm.eigenvectors()).isApprox( in selfadjointeigensolver() 89 eiSymm.eigenvectors() * eiSymm.eigenvalues().asDiagonal(), largerEps)); in selfadjointeigensolver() 92 VERIFY((symmA * eiSymmGen.eigenvectors()).isApprox( in selfadjointeigensolver() 93 symmB * (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); in selfadjointeigensolver() 127 VERIFY_IS_APPROX(a.template cast<Complex>() * ei1.eigenvectors(), in eigensolver() 128 ei1.eigenvectors() * ei1.eigenvalues().asDiagonal()); in eigensolver()
|
/external/eigen/doc/snippets/ |
D | ComplexEigenSolver_compute.cpp | 7 cout << "The matrix of eigenvectors, V, is:" << endl << ces.eigenvectors() << endl << endl; 11 VectorXcf v = ces.eigenvectors().col(0); 16 << ces.eigenvectors() * ces.eigenvalues().asDiagonal() * ces.eigenvectors().inverse() << endl;
|
D | SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp | 7 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 11 VectorXd v = es.eigenvectors().col(0); 16 MatrixXd V = es.eigenvectors();
|
D | EigenSolver_EigenSolver_MatrixType.cpp | 6 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 10 VectorXcd v = es.eigenvectors().col(0); 15 MatrixXcd V = es.eigenvectors();
|
D | SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | 10 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 14 VectorXd v = es.eigenvectors().col(0);
|
D | ComplexEigenSolver_eigenvectors.cpp | 4 << endl << ces.eigenvectors().col(1) << endl;
|
D | SelfAdjointEigenSolver_eigenvectors.cpp | 4 << endl << es.eigenvectors().col(1) << endl;
|
D | EigenSolver_eigenvectors.cpp | 4 << endl << es.eigenvectors().col(1) << endl;
|
/external/eigen/unsupported/test/ |
D | matrix_functions.h | 29 result = (es.eigenvectors() * eivals.asDiagonal() * es.eigenvectors().inverse()).real();
|
D | mpreal_support.cpp | 48 …VERIFY( (S.selfadjointView<Lower>() * eig.eigenvectors()).isApprox(eig.eigenvectors() * eig.eigenv… in test_mpreal_support()
|
/external/opencv3/doc/tutorials/ml/introduction_to_pca/ |
D | introduction_to_pca.markdown | 26 …ng of the eigenvectors is the center of all points in the data set. Applying PCA to N-dimensional … 28 How are the eigenvectors and eigenvalues computed? 72 __Find the eigenvectors and eigenvalues of the covariance matrix__ 74 - Compute the matrix __V__ of eigenvectors which diagonalizes the covariance matrix __C__: 86 …tains _p_ column vectors, each of length _p_, which represent the _p_ eigenvectors of the covarian… 87 - The eigenvalues and eigenvectors are ordered and paired. The _j_ th eigenvalue corresponds to the… 118 …d mean (i.e. center of mass) is stored in the _cntr_ variable and the eigenvectors and eigenvalues…
|
/external/opencv3/modules/core/include/opencv2/ |
D | core.hpp | 1814 OutputArray eigenvectors = noArray()); 1845 OutputArray eigenvectors, int maxComponents = 0); 1849 OutputArray eigenvectors, double retainedVariance); 1853 InputArray eigenvectors, OutputArray result); 1857 InputArray eigenvectors, OutputArray result); 2367 Mat eigenvectors; //!< eigenvectors of the covariation matrix member in cv::PCA 2430 Mat eigenvectors() const { return _eigenvectors; } in eigenvectors() function in cv::LDA
|
/external/opencv3/samples/cpp/tutorial_code/ml/introduction_to_pca/ |
D | introduction_to_pca.cpp | 73 eigen_vecs[i] = Point2d(pca_analysis.eigenvectors.at<double>(i, 0), in getOrientation() 74 pca_analysis.eigenvectors.at<double>(i, 1)); in getOrientation()
|
/external/eigen/doc/examples/ |
D | TutorialLinAlgSelfAdjointEigenSolver.cpp | 17 << eigensolver.eigenvectors() << endl; in main()
|
/external/eigen/bench/ |
D | eig33.cpp | 193 if(evecs.col(k).dot(eig.eigenvectors().col(k))<0) in main() 195 std::cerr << evecs - eig.eigenvectors() << "\n\n"; in main()
|
D | benchEigenSolver.cpp | 61 acc += ei.eigenvectors().coeff(r,c); in benchEigenSolver() 75 acc += ei.eigenvectors().coeff(r,c); in benchEigenSolver()
|
/external/opencv3/modules/java/src/ |
D | core+Core.java | 1893 public static boolean eigen(Mat src, Mat eigenvalues, Mat eigenvectors) in eigen() argument 1896 boolean retVal = eigen_0(src.nativeObj, eigenvalues.nativeObj, eigenvectors.nativeObj); in eigen() 1939 public static void PCACompute(Mat data, Mat mean, Mat eigenvectors, int maxComponents) in PCACompute() argument 1942 PCACompute_0(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj, maxComponents); in PCACompute() 1948 public static void PCACompute(Mat data, Mat mean, Mat eigenvectors) in PCACompute() argument 1951 PCACompute_1(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj); in PCACompute() 1962 public static void PCACompute(Mat data, Mat mean, Mat eigenvectors, double retainedVariance) in PCACompute() argument 1965 PCACompute_2(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj, retainedVariance); in PCACompute() 1976 public static void PCAProject(Mat data, Mat mean, Mat eigenvectors, Mat result) in PCAProject() argument 1979 PCAProject_0(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj, result.nativeObj); in PCAProject() [all …]
|
/external/eigen/lapack/ |
D | eigenvalues.cpp | 76 matrix(a,*n,*n,*lda) = eig.eigenvectors();
|
/external/opencv3/doc/tutorials/features2d/trackingmotion/generic_corner_detector/ |
D | generic_corner_detector.markdown | 9 - Use the OpenCV function @ref cv::cornerEigenValsAndVecs to find the eigenvalues and eigenvectors
|
/external/opencv/cv/src/ |
D | cvshapedescr.cpp | 788 double eigenvalues[6], eigenvectors[36]; in icvFitEllipse_F() local 797 CvMat _EIGVECS = cvMat(6,6,CV_64F,eigenvectors), _EIGVALS = cvMat(6,1,CV_64F,eigenvalues); in icvFitEllipse_F() 858 eigenvectors[i*6 + j] *= a; in icvFitEllipse_F() 890 _EIGVECS = cvMat( 6, 1, CV_64F, eigenvectors + 6*i ); in icvFitEllipse_F() 958 _EIGVECS = cvMat( 2, 2, CV_64F, eigenvectors ); in icvFitEllipse_F() 967 box->angle = (float)(180 - atan2(eigenvectors[2], eigenvectors[3])*180/CV_PI); in icvFitEllipse_F()
|