Lines Matching refs:Index
56 typename MatrixType::Index rows = A.rows();
68 typedef typename MatrixType::Index Index;
69 Index rows = A.rows();
76 for (Index s = 1; s < 1.1 * rows + 10; s++) { // upper limit is fairly arbitrary
87 for (Index r = 0; r < rows; r++) {
89 for (Index i = 0; i < rows; i++)
108 template <typename Index, typename ListOfClusters>
109 typename ListOfClusters::iterator matrix_function_find_cluster(Index key, ListOfClusters& clusters)
111 typename std::list<Index>::iterator j;
134 typedef typename EivalsType::Index Index;
136 for (Index i=0; i<eivals.rows(); ++i) {
148 for (Index j=i+1; j<eivals.rows(); ++j) {
164 template <typename ListOfClusters, typename Index>
165 void matrix_function_compute_cluster_size(const ListOfClusters& clusters, Matrix<Index, Dynamic, 1>& clusterSize)
167 const Index numClusters = static_cast<Index>(clusters.size());
169 Index clusterIndex = 0;
182 for (typename VectorType::Index i = 1; i < clusterSize.rows(); i++) {
191 typedef typename EivalsType::Index Index;
193 Index clusterIndex = 0;
195 for (Index i = 0; i < eivals.rows(); ++i) {
208 typedef typename VectorType::Index Index;
211 for (Index i = 0; i < eivalToCluster.rows(); i++) {
212 Index cluster = eivalToCluster[i];
222 typedef typename VectorType::Index Index;
223 for (Index i = 0; i < permutation.rows() - 1; i++) {
224 Index j;
229 for (Index k = j-1; k >= i; k--) {
250 for (typename VectorType::Index i = 0; i < clusterSize.rows(); ++i) {
288 typedef typename MatrixType::Index Index;
291 Index m = A.rows();
292 Index n = B.rows();
295 for (Index i = m - 1; i >= 0; --i) {
296 for (Index j = 0; j < n; ++j) {
333 typedef typename MatrixType::Index Index;
339 for (Index k = 1; k < clusterSize.rows(); k++) {
340 for (Index i = 0; i < clusterSize.rows() - k; i++) {
348 for (Index m = i + 1; m < i + k; m++) {
436 std::list<std::list<Index> > clusters;
440 Matrix<Index, Dynamic, 1> clusterSize;
443 // blockStart[i] is row index at which block corresponding to i-th cluster starts
444 Matrix<Index, Dynamic, 1> blockStart;
448 Matrix<Index, Dynamic, 1> eivalToCluster;
452 Matrix<Index, Traits::RowsAtCompileTime, 1> permutation;
483 typedef typename Derived::Index Index;
519 Index rows() const { return m_A.rows(); }
520 Index cols() const { return m_A.cols(); }