Searched defs:eigenvectors (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/ui/gfx/geometry/
H A Dmatrix3_unittest.cc104 Matrix3F eigenvectors = Matrix3F::Zeros(); local
105 Vector3dF eigenvals = matrix.SolveEigenproblem(&eigenvectors);
108 EXPECT_EQ(Vector3dF(0.0f, 0.0f, 1.0f), eigenvectors.get_column(0));
109 EXPECT_EQ(Vector3dF(1.0f, 0.0f, 0.0f), eigenvectors.get_column(1));
110 EXPECT_EQ(Vector3dF(0.0f, 1.0f, 0.0f), eigenvectors.get_column(2));
114 // This block tests computation of eigenvectors of a matrix where nice
120 Matrix3F eigenvectors = Matrix3F::Zeros(); local
121 Vector3dF eigenvals = matrix.SolveEigenproblem(&eigenvectors);
126 (expected_principal - eigenvectors.get_column(0)).Length(),
131 // This block tests computation of eigenvectors o
134 Matrix3F eigenvectors = Matrix3F::Zeros(); local
[all...]
/external/eigen/Eigen/src/Eigenvalues/
H A DComplexEigenSolver.h24 * \brief Computes eigenvalues and eigenvectors of general complex matrices
30 * The eigenvalues and eigenvectors of a matrix \f$ A \f$ are scalars
33 * the diagonal, and \f$ V \f$ is a matrix with the eigenvectors as
39 * eigenvalues and eigenvectors of a given function. The
80 /** \brief Type for matrix of eigenvectors as returned by eigenvectors().
119 * \param[in] computeEigenvectors If true, both the eigenvectors and the
136 /** \brief Returns the eigenvectors of given matrix.
138 * \returns A const reference to the matrix whose columns are the eigenvectors.
146 * This function returns a matrix whose columns are the eigenvectors
156 const EigenvectorType& eigenvectors() const function in class:Eigen::ComplexEigenSolver
[all...]
H A DEigenSolver.h23 * \brief Computes eigenvalues and eigenvectors of general matrices
29 * The eigenvalues and eigenvectors of a matrix \f$ A \f$ are scalars
32 * \f$ V \f$ is a matrix with the eigenvectors as its columns, then \f$ A V =
36 * The eigenvalues and eigenvectors of a matrix may be complex, even when the
46 * Call the function compute() to compute the eigenvalues and eigenvectors of
49 * eigenvalues and eigenvectors at construction time. Once the eigenvalue and
50 * eigenvectors are computed, they can be retrieved with the eigenvalues() and
51 * eigenvectors() functions. The pseudoEigenvalueMatrix() and
99 /** \brief Type for matrix of eigenvectors as returned by eigenvectors()
333 typename EigenSolver<MatrixType>::EigenvectorsType EigenSolver<MatrixType>::eigenvectors() const function in class:Eigen::EigenSolver
[all...]
H A DSelfAdjointEigenSolver.h30 * \brief Computes eigenvalues and eigenvectors of selfadjoint matrices
38 * transpose. This class computes the eigenvalues and eigenvectors of a
43 * eigenvectors as its columns, then \f$ A = V D V^{-1} \f$ (for selfadjoint
53 * Call the function compute() to compute the eigenvalues and eigenvectors of
56 * the eigenvalues and eigenvectors at construction time. Once the eigenvalue
57 * and eigenvectors are computed, they can be retrieved with the eigenvalues()
58 * and eigenvectors() functions.
122 * eigenvalues and eigenvectors will be computed.
145 * eigenvalues of the matrix \p matrix. The eigenvectors are computed if
171 * then the eigenvectors ar
228 const MatrixType& eigenvectors() const function in class:Eigen::SelfAdjointEigenSolver
[all...]
/external/eigen/unsupported/Eigen/src/Eigenvalues/
H A DArpackSelfAdjointEigenSolver.h81 * \param[in] A Self-adjoint matrix whose eigenvalues / eigenvectors will
85 * \param[in] nbrEigenvalues The number of eigenvalues / eigenvectors to compute.
97 * to compute the eigenvalues of the matrix \p A with respect to \p B. The eigenvectors are computed if
116 * \param[in] A Self-adjoint matrix whose eigenvalues / eigenvectors will
119 * \param[in] nbrEigenvalues The number of eigenvalues / eigenvectors to compute.
131 * to compute the eigenvalues of the matrix \p A. The eigenvectors are computed if
150 /** \brief Computes generalized eigenvalues / eigenvectors of given matrix using the external ARPACK library.
154 * \param[in] nbrEigenvalues The number of eigenvalues / eigenvectors to compute.
169 * then the eigenvectors are also computed and can be retrieved by
170 * calling eigenvectors()
223 const Matrix<Scalar, Dynamic, Dynamic>& eigenvectors() const function in class:Eigen::ArpackGeneralizedSelfAdjointEigenSolver
[all...]
/external/chromium_org/ui/gfx/
H A Dcolor_analysis.cc588 gfx::Matrix3F eigenvectors = gfx::Matrix3F::Zeros(); local
589 gfx::Vector3dF eigenvals = covariance.SolveEigenproblem(&eigenvectors);
590 gfx::Vector3dF principal = eigenvectors.get_column(0);
/external/opencv/cv/src/
H A Dcvshapedescr.cpp788 double eigenvalues[6], eigenvectors[36]; local
797 CvMat _EIGVECS = cvMat(6,6,CV_64F,eigenvectors), _EIGVALS = cvMat(6,1,CV_64F,eigenvalues);
858 eigenvectors[i*6 + j] *= a;
890 _EIGVECS = cvMat( 6, 1, CV_64F, eigenvectors + 6*i );
958 _EIGVECS = cvMat( 2, 2, CV_64F, eigenvectors );
962 // exteract axis length from eigenvectors
967 box->angle = (float)(180 - atan2(eigenvectors[2], eigenvectors[3])*180/CV_PI);

Completed in 146 milliseconds