mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed cuda code: EIGEN_DEVICE_FUNC must come after template<...>
This commit is contained in:
@@ -157,8 +157,8 @@ template<typename _MatrixType> class SelfAdjointEigenSolver
|
|||||||
*
|
*
|
||||||
* \sa compute(const MatrixType&, int)
|
* \sa compute(const MatrixType&, int)
|
||||||
*/
|
*/
|
||||||
EIGEN_DEVICE_FUNC
|
|
||||||
template<typename InputType>
|
template<typename InputType>
|
||||||
|
EIGEN_DEVICE_FUNC
|
||||||
explicit SelfAdjointEigenSolver(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors)
|
explicit SelfAdjointEigenSolver(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors)
|
||||||
: m_eivec(matrix.rows(), matrix.cols()),
|
: m_eivec(matrix.rows(), matrix.cols()),
|
||||||
m_eivalues(matrix.cols()),
|
m_eivalues(matrix.cols()),
|
||||||
@@ -198,8 +198,8 @@ template<typename _MatrixType> class SelfAdjointEigenSolver
|
|||||||
*
|
*
|
||||||
* \sa SelfAdjointEigenSolver(const MatrixType&, int)
|
* \sa SelfAdjointEigenSolver(const MatrixType&, int)
|
||||||
*/
|
*/
|
||||||
EIGEN_DEVICE_FUNC
|
|
||||||
template<typename InputType>
|
template<typename InputType>
|
||||||
|
EIGEN_DEVICE_FUNC
|
||||||
SelfAdjointEigenSolver& compute(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors);
|
SelfAdjointEigenSolver& compute(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors);
|
||||||
|
|
||||||
/** \brief Computes eigendecomposition of given matrix using a closed-form algorithm
|
/** \brief Computes eigendecomposition of given matrix using a closed-form algorithm
|
||||||
|
|||||||
Reference in New Issue
Block a user