11 #ifndef EIGEN_REALSVD2X2_H 12 #define EIGEN_REALSVD2X2_H 18 template<
typename MatrixType,
typename RealScalar,
typename Index>
46 m.applyOnTheLeft(0,1,rot1);
55 #endif // EIGEN_REALSVD2X2_H
EIGEN_DEVICE_FUNC const SqrtReturnType sqrt() const
Namespace containing all symbols from the Eigen library.
Rotation given by a cosine-sine pair.
bool makeJacobi(const MatrixBase< Derived > &, Index p, Index q)
JacobiRotation transpose() const
void real_2x2_jacobi_svd(const MatrixType &matrix, Index p, Index q, JacobiRotation< RealScalar > *j_left, JacobiRotation< RealScalar > *j_right)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC const Scalar & q
NumTraits< Scalar >::Real RealScalar
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Abs2ReturnType abs2() const
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
The matrix class, also used for vectors and row-vectors.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & coeff(Index rowId, Index colId) const