Lines Matching refs:Index
62 typedef typename MatrixType::Index Index;
86 LLT(Index size) : m_matrix(size, size),
170 inline Index rows() const { return m_matrix.rows(); }
171 inline Index cols() const { return m_matrix.cols(); }
197 static typename MatrixType::Index llt_rank_update_lower(MatrixType& mat, const VectorType& vec, const typename MatrixType::RealScalar& sigma)
202 typedef typename MatrixType::Index Index;
209 Index n = mat.cols();
221 for(Index i=0; i<n; ++i)
226 Index rs = n-i-1;
239 for(Index j=0; j<n; ++j)
255 Index rs = n-j-1;
271 static typename MatrixType::Index unblocked(MatrixType& mat)
274 typedef typename MatrixType::Index Index;
277 const Index size = mat.rows();
278 for(Index k = 0; k < size; ++k)
280 Index rs = size-k-1; // remaining size
298 static typename MatrixType::Index blocked(MatrixType& m)
300 typedef typename MatrixType::Index Index;
302 Index size = m.rows();
306 Index blockSize = size/8;
308 blockSize = (std::min)((std::max)(blockSize,Index(8)), Index(128));
310 for (Index k=0; k<size; k+=blockSize)
316 Index bs = (std::min)(blockSize, size-k);
317 Index rs = size - k - bs;
322 Index ret;
331 static typename MatrixType::Index rankUpdate(MatrixType& mat, const VectorType& vec, const RealScalar& sigma)
342 static EIGEN_STRONG_INLINE typename MatrixType::Index unblocked(MatrixType& mat)
348 static EIGEN_STRONG_INLINE typename MatrixType::Index blocked(MatrixType& mat)
354 static typename MatrixType::Index rankUpdate(MatrixType& mat, const VectorType& vec, const RealScalar& sigma)
396 const Index size = a.rows();