Lines Matching refs:StorageIndex
289 typedef _StorageIndex StorageIndex;
306 …typedef BlockSparseMatrix<Scalar, BlockSize, IsColMajor ? ColMajor : RowMajor, StorageIndex> Plain…
415 for(StorageIndex bj = 0; bj < m_outerBSize; ++bj)
420 for(StorageIndex j = blockOuterIndex(bj); j < blockOuterIndex(bj+1); ++j)
425 StorageIndex bi = innerToBlock(it_spmat.index()); // Index of the current nonzero block
442 for(StorageIndex nz = 0; nz < m_nonzeros; ++nz) m_values[nz] = Scalar(0);
443 for(StorageIndex bj = 0; bj < m_outerBSize; ++bj)
446 for(StorageIndex j = blockOuterIndex(bj); j < blockOuterIndex(bj+1); ++j)
452 StorageIndex idx = 0; // Position of this block in the column block
453 StorageIndex bi = innerToBlock(it_spmat.index()); // Index of the current nonzero block
456 StorageIndex idxVal;// Get the right position in the array of values for this element
506 for(StorageIndex nz = 0; nz < m_nonzeros; ++nz) m_values[nz] = Scalar(0);
507 for(StorageIndex bj = 0; bj < m_outerBSize; ++bj)
522 for(StorageIndex idx = 0; idx < nzBlockIdx.size(); ++idx)
524 StorageIndex offset = m_outerIndex[bj]+idx; // offset in m_indices
571 m_innerOffset = new StorageIndex[m_innerBSize+1];
572 m_outerOffset = new StorageIndex[m_outerBSize+1];
580 for(StorageIndex bj = 0; bj < m_outerBSize; ++bj)
581 for(StorageIndex bi = 0; bi < m_innerBSize; ++bi)
602 m_outerIndex = new StorageIndex[m_outerBSize+1];
613 m_blockPtr = new StorageIndex[m_nonzerosblocks+1];
615 m_indices = new StorageIndex[m_nonzerosblocks+1];
672 StorageIndex nzblocks = nzblock_outer.sum();
681 for(StorageIndex bj = 0; bj < m_outerBSize; ++bj)
694 StorageIndex outer = IsColMajor ? it->col() : it->row();
695 StorageIndex inner = IsColMajor ? it->row() : it->col();
697 StorageIndex block_size = it->value().rows()*it->value().cols();
698 StorageIndex nz_marker = blockPtr(block_id[outer]);
786 StorageIndex b_outer = 0;
798 StorageIndex b_inner = 0;
811 StorageIndex rsize = IsColMajor ? blockInnerSize(brow): blockOuterSize(bcol);
812 StorageIndex csize = IsColMajor ? blockOuterSize(bcol) : blockInnerSize(brow);
813 StorageIndex inner = IsColMajor ? brow : bcol;
814 StorageIndex outer = IsColMajor ? bcol : brow;
815 StorageIndex offset = m_outerIndex[outer];
837 StorageIndex rsize = IsColMajor ? blockInnerSize(brow): blockOuterSize(bcol);
838 StorageIndex csize = IsColMajor ? blockOuterSize(bcol) : blockInnerSize(brow);
839 StorageIndex inner = IsColMajor ? brow : bcol;
840 StorageIndex outer = IsColMajor ? bcol : brow;
841 StorageIndex offset = m_outerIndex[outer];
866 inline StorageIndex *innerIndexPtr() {return m_indices; }
867 inline const StorageIndex *innerIndexPtr() const {return m_indices; }
868 inline StorageIndex *outerIndexPtr() {return m_outerIndex; }
869 inline const StorageIndex* outerIndexPtr() const {return m_outerIndex; }
920 for (StorageIndex j = 0; j < m.outerBlocks(); ++j)
960 StorageIndex *m_innerOffset; // Starting index of each inner block (size m_innerBSize+1)
961 StorageIndex *m_outerOffset; // Starting index of each outer block (size m_outerBSize+1)
965 …StorageIndex *m_blockPtr; // Pointer to the beginning of each block in m_values, size m_nonzeroblo…
966 StorageIndex *m_indices; //Inner block indices, size m_nonzerosblocks ... OK
967 …StorageIndex *m_outerIndex; // Starting pointer of each block column in m_indices (size m_outerBSi…
1013 const BlockSparseMatrix<_Scalar, _BlockAtCompileTime, _Options, StorageIndex>& m_mat;