Lines Matching refs:Index
49 typedef typename MatrixType::Index Index;
90 BDCSVD(Index rows, Index cols, unsigned int computationOptions = 0)
198 void allocate(Index rows, Index cols, unsigned int computationOptions);
199 void divide (Index firstCol, Index lastCol, Index firstRowW,
200 Index firstColW, Index shift);
201 void deflation43(Index firstCol, Index shift, Index i, Index size);
202 void deflation44(Index firstColu , Index firstColm, Index firstRowW, Index firstColW, Index i, Index j, Index size);
203 void deflation(Index firstCol, Index lastCol, Index k, Index firstRowW, Index firstColW, Index shift);
209 Index nRec;
218 void BDCSVD<MatrixType>::allocate(Index rows, Index cols, unsigned int computationOptions)
355 //@param firstCol : The Index of the first column of the submatrix of m_computed and for m_naiveU;
356 //@param lastCol : The Index of the last column of the submatrix of m_computed and for m_naiveU;
358 //@param firstRowW : The Index of the first row of the matrix W that we are to change. (see the reference paper section 1 for more information on W)
363 void BDCSVD<MatrixType>::divide (Index firstCol, Index lastCol, Index firstRowW,
364 Index firstColW, Index shift)
370 const Index n = lastCol - firstCol + 1;
371 const Index k = n/2;
441 for (Index i = firstCol + k - 1; i >= firstCol; i--)
459 for (Index i = firstCol + k - 1; i >= firstCol; i--)
505 void BDCSVD<MatrixType>::deflation43(Index firstCol, Index shift, Index i, Index size){
537 void BDCSVD<MatrixType>::deflation44(Index firstColu , Index firstColm, Index firstRowW, Index firstColW, Index i, Index j, Index size){
577 void BDCSVD<MatrixType>::deflation(Index firstCol, Index lastCol, Index k, Index firstRowW, Index firstColW, Index shift){
580 const Index length = lastCol + 1 - firstCol;
585 for (Index i=firstCol + shift + 1;i<=lastCol + shift;i++){
592 for (Index i=firstCol + shift + 1;i<=lastCol + shift; i++){
600 Index i=firstCol + shift + 1, j=firstCol + shift + k + 1;
602 Index *permutation = new Index[length];
604 for (Index p =1; p < length; p++) {
628 //we stock the current index of each col
629 //and the column of each index
630 Index *realInd = new Index[length];
631 Index *realCol = new Index[length];
636 const Index Zero = firstCol + shift;
639 const Index I = i + Zero;
640 const Index realI = realInd[i];
641 const Index j = permutation[length - i] - Zero;
642 const Index J = realCol[j];
669 const Index CWI = I + firstColW - Zero;
670 const Index CWJ = J + firstColW - Zero;
682 for (Index i = firstCol + shift + 1; i<lastCol + shift;i++){
714 Index diagSize = (std::min)(dec().rows(), dec().cols());
716 Index nonzeroSingVals = dec().nonzeroSingularValues();