Home | History | Annotate | Download | only in test

Lines Matching refs:Index

16   typedef typename SparseMatrixType::Index Index;
17 typedef Matrix<Index,2,1> Vector2;
19 const Index rows = ref.rows();
20 const Index cols = ref.cols();
140 for (Index j=0; j<cols; ++j)
142 for (Index k=0; k<rows/2; ++k)
144 Index i = internal::random<Index>(0,rows-1);
162 Index i = internal::random<Index>(0,rows-1);
163 Index j = internal::random<Index>(0,cols-1);
186 Index i = internal::random<Index>(0,rows-1);
187 Index j = internal::random<Index>(0,cols-1);
203 Index j0 = internal::random<Index>(0,rows-1);
204 Index j1 = internal::random<Index>(0,rows-1);
217 for(Index j=0; j<rows; ++j)
218 for(Index k=0; k<j; ++k)
220 for(Index j=0; j<rows; ++j)
227 for(Index j=0; j<rows; ++j)
246 Index j0 = internal::random<Index>(0,rows-2);
247 Index j1 = internal::random<Index>(0,rows-2);
248 Index n0 = internal::random<Index>(1,rows-(std::max)(j0,j1));
336 Index j0 = internal::random<Index>(0,rows-2);
337 Index j1 = internal::random<Index>(0,rows-2);
338 Index n0 = internal::random<Index>(1,rows-(std::max)(j0,j1));
351 Index i = internal::random<Index>(0,m2.outerSize()-1);
379 for (Index j=0; j<m2.outerSize(); ++j)
382 for (Index i=0; i<m2.innerSize(); ++i)
415 typedef Triplet<Scalar,Index> TripletType;
423 Index r = internal::random<Index>(0,rows-1);
424 Index c = internal::random<Index>(0,cols-1);
493 std::vector< std::pair<Index,Index> > inc;
494 inc.push_back(std::pair<Index,Index>(-3,-2));
495 inc.push_back(std::pair<Index,Index>(0,0));
496 inc.push_back(std::pair<Index,Index>(3,2));
497 inc.push_back(std::pair<Index,Index>(3,0));
498 inc.push_back(std::pair<Index,Index>(0,3));
501 Index incRows = inc[i].first;
502 Index incCols = inc[i].second;