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
Namespace containing all symbols from the Eigen library.
Rotation given by a cosine-sine pair.
void real_2x2_jacobi_svd(const MatrixType &matrix, Index p, Index q, JacobiRotation< RealScalar > *j_left, JacobiRotation< RealScalar > *j_right)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar & coeff(Index rowId, Index colId) const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC const Scalar & q
EIGEN_DEVICE_FUNC bool makeJacobi(const MatrixBase< Derived > &, Index p, Index q)
NumTraits< Scalar >::Real RealScalar
EIGEN_DEVICE_FUNC JacobiRotation transpose() const
Jet< T, N > sqrt(const Jet< T, N > &f)
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 bool abs2(bool x)