Lines Matching refs:Index
54 typedef typename MatrixType::Index Index;
68 typedef typename MatrixType::Index Index;
109 typedef typename MatrixType::Index Index;
159 typedef typename MatrixType::Index Index;
200 typedef typename MatrixType::Index Index;
259 typedef typename MatrixType::Index Index;
299 typedef typename MatrixType::Index Index;
361 typedef typename SVD::Index Index;
362 static void run(typename SVD::WorkMatrixType&, SVD&, Index, Index) {}
371 typedef typename SVD::Index Index;
372 static void run(typename SVD::WorkMatrixType& work_matrix, SVD& svd, Index p, Index q)
414 template<typename MatrixType, typename RealScalar, typename Index>
415 void real_2x2_jacobi_svd(const MatrixType& matrix, Index p, Index q,
507 typedef typename MatrixType::Index Index;
551 JacobiSVD(Index rows, Index cols, unsigned int computationOptions = 0)
671 Index nonzeroSingularValues() const
683 inline Index rank() const
689 Index i = m_nonzeroSingularValues-1;
737 : (std::max<Index>)(1,m_diagSize)*NumTraits<Scalar>::epsilon();
740 inline Index rows() const { return m_rows; }
741 inline Index cols() const { return m_cols; }
744 void allocate(Index rows, Index cols, unsigned int computationOptions);
760 Index m_nonzeroSingularValues, m_rows, m_cols, m_diagSize;
774 void JacobiSVD<MatrixType, QRPreconditioner>::allocate(Index rows, Index cols, unsigned int computationOptions)
866 // do a sweep: for all index pairs (p,q), perform SVD of the corresponding 2x2 sub-matrix
868 for(Index p = 1; p < m_diagSize; ++p)
870 for(Index q = 0; q < p; ++q)
901 for(Index i = 0; i < m_diagSize; ++i)
911 for(Index i = 0; i < m_diagSize; i++)
913 Index pos;
951 Index rank = dec().rank();