Lines Matching refs:outer
147 const Index outer = IsRowMajor ? row : col;
150 eigen_assert(outer < outerSize());
153 if (outer == inner)
154 return this->m_data.diag(outer);
157 if (inner > outer) //upper matrix
160 if (outer >= minOuterIndex)
161 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
165 if (inner < outer) //lower matrix
167 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
169 … return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
173 return m_data.upper(m_colStartIndex[inner] + outer - inner);
175 if (outer > inner) //upper matrix
178 if (outer <= maxOuterIndex)
179 return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
183 if (outer < inner) //lower matrix
185 const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
188 return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
196 const Index outer = IsRowMajor ? row : col;
199 eigen_assert(outer < outerSize());
202 if (outer == inner)
203 return this->m_data.diag(outer);
209 …eigen_assert(outer >= minOuterIndex && "you try to acces a coeff that do not exist in the storage"…
210 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
214 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
216 … return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
219 if (outer > inner) //upper matrix
222 …eigen_assert(outer <= maxOuterIndex && "you try to acces a coeff that do not exist in the storage"…
223 return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
225 if (outer < inner) //lower matrix
227 const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
229 return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
241 const Index outer = IsRowMajor ? row : col;
244 eigen_assert(outer < outerSize());
246 eigen_assert(inner != outer);
249 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
251 … return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
256 const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
258 return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
265 const Index outer = IsRowMajor ? row : col;
268 eigen_assert(outer < outerSize());
270 eigen_assert(inner != outer);
274 if (outer >= minOuterIndex)
275 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
280 if (outer <= maxOuterIndex)
281 return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
294 const Index outer = IsRowMajor ? row : col;
297 eigen_assert(outer < outerSize());
299 eigen_assert(inner != outer);
302 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
304 … return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
306 const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
308 return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
313 const Index outer = IsRowMajor ? row : col;
316 eigen_assert(outer < outerSize());
318 eigen_assert(inner != outer);
321 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
324 const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
330 const Index outer = IsRowMajor ? row : col;
333 eigen_assert(outer < outerSize());
335 eigen_assert(inner != outer);
339 …eigen_assert(outer >= minOuterIndex && "you try to acces a coeff that do not exist in the storage"…
340 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
343 …eigen_assert(outer <= maxOuterIndex && "you try to acces a coeff that do not exist in the storage"…
344 return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
349 const Index outer = IsRowMajor ? row : col;
352 eigen_assert(outer < outerSize());
354 eigen_assert(inner != outer);
358 return outer >= minOuterIndex;
361 return outer <= maxOuterIndex;
401 const Index outer = IsRowMajor ? row : col;
404 eigen_assert(outer < outerSize());
407 if (outer == inner)
411 if (outer < inner) //upper matrix
416 if (outer < minOuterIndex) //The value does not yet exist
420 m_data.upperProfile(inner) = inner - outer;
442 … return m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
446 if (outer > inner) //lower matrix
448 const Index minInnerIndex = outer - m_data.lowerProfile(outer);
451 const Index previousProfile = m_data.lowerProfile(outer);
452 m_data.lowerProfile(outer) = outer - inner;
454 const Index bandIncrement = m_data.lowerProfile(outer) - previousProfile;
457 const Index start = m_rowStartIndex[outer];
464 for (Index innerIdx = rows(); innerIdx > outer; innerIdx--) {
470 return m_data.lower(m_rowStartIndex[outer]);
472 … return m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
476 if (outer > inner) //upper matrix
479 if (outer > maxOuterIndex) //The value does not yet exist
482 m_data.upperProfile(inner) = outer - inner;
499 return m_data.upper(m_rowStartIndex[inner] + (outer - inner));
503 if (outer < inner) //lower matrix
505 const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
508 const Index previousProfile = m_data.lowerProfile(outer);
509 m_data.lowerProfile(outer) = inner - outer;
511 const Index bandIncrement = m_data.lowerProfile(outer) - previousProfile;
514 const Index start = m_colStartIndex[outer + 1];
520 for (Index innerIdx = outer + 1; innerIdx < outerSize() + 1; innerIdx++) {
523 …memset(this->_lowerPtr() + m_colStartIndex[outer] + previousProfile + 1, 0, (bandIncrement - 1) * …
524 return m_data.lower(m_colStartIndex[outer] + m_data.lowerProfile(outer));
526 return m_data.lower(m_colStartIndex[outer] + (inner - outer));
738 InnerUpperIterator(const SkylineMatrix& mat, Index outer)
739 : m_matrix(mat), m_outer(outer),
740 m_id(_Options == RowMajor ? mat.m_colStartIndex[outer] : mat.m_rowStartIndex[outer] + 1),
742 …m_end(_Options == RowMajor ? mat.m_colStartIndex[outer + 1] : mat.m_rowStartIndex[outer + 1] + 1) {
800 InnerLowerIterator(const SkylineMatrix& mat, Index outer)
802 m_outer(outer),
803 m_id(_Options == RowMajor ? mat.m_rowStartIndex[outer] : mat.m_colStartIndex[outer] + 1),
805 …m_end(_Options == RowMajor ? mat.m_rowStartIndex[outer + 1] : mat.m_colStartIndex[outer + 1] + 1) {