Lines Matching refs:Index
184 const Index outerSize = SwapStorage ? target.innerSize() : target.outerSize();
185 const Index innerSize = SwapStorage ? target.outerSize() : target.innerSize();
191 Index aux = innerSize - 1;
199 for (Index k=0; k<m_outerPackets; ++k)
203 for (Index j=0; j<mp_target->outerSize(); ++j)
205 (*this)(TargetRowMajor?j:it.index(), TargetRowMajor?it.index():j) = it.value();
217 Index prevOuter = -1;
218 for (Index k=0; k<m_outerPackets; ++k)
220 const Index outerOffset = (1<<OuterPacketBits) * k;
224 const Index outer = (it->first >> m_keyBitsOffset) + outerOffset;
225 const Index inner = it->first & keyBitsMask;
228 for (Index j=prevOuter+1;j<=outer;++j)
242 for (Index k=0; k<m_outerPackets; ++k)
247 const Index outer = it->first & keyBitsMask;
252 Index count = 0;
253 for (Index j=0; j<mp_target->outerSize(); ++j)
255 Index tmp = positions[j];
264 for (Index k=0; k<m_outerPackets; ++k)
266 const Index outerOffset = (1<<OuterPacketBits) * k;
270 const Index inner = (it->first >> m_keyBitsOffset) + outerOffset;
271 const Index outer = it->first & keyBitsMask;
276 Index posStart = mp_target->outerIndexPtr()[outer];
277 Index i = (positions[outer]++) - 1;
293 Scalar& operator() (Index row, Index col)
295 const Index outer = SetterRowMajor ? row : col;
296 const Index inner = SetterRowMajor ? col : row;
297 const Index outerMajor = outer >> OuterPacketBits; // index of the packet/map
298 const Index outerMinor = outer & OuterPacketMask; // index of the inner vector in the packet
308 Index nonZeros() const
310 Index nz = 0;
311 for (Index k=0; k<m_outerPackets; ++k)
312 nz += static_cast<Index>(m_hashmaps[k].size());
321 Index m_outerPackets;