Home | History | Annotate | Download | only in Core

Lines Matching refs:row

54     inline Scalar coeff(Index row, Index col) const  { return derived().coeff(row,col); }
55 inline Scalar& coeffRef(Index row, Index col) { return derived().coeffRef(row,col); }
57 /** \see MatrixBase::copyCoeff(row,col)
60 EIGEN_STRONG_INLINE void copyCoeff(Index row, Index col, Other& other)
62 derived().coeffRef(row, col) = other.coeff(row, col);
65 inline Scalar operator()(Index row, Index col) const
67 check_coordinates(row, col);
68 return coeff(row,col);
70 inline Scalar& operator()(Index row, Index col)
72 check_coordinates(row, col);
73 return coeffRef(row,col);
95 void check_coordinates(Index row, Index col) const
97 EIGEN_ONLY_USED_FOR_DEBUG(row);
99 eigen_assert(col>=0 && col<cols() && row>=0 && row<rows());
102 eigen_assert((mode==Upper && col>=row)
103 || (mode==Lower && col<=row)
104 || ((mode==StrictlyUpper || mode==UnitUpper) && col>row)
105 || ((mode==StrictlyLower || mode==UnitLower) && col<row));
109 void check_coordinates_internal(Index row, Index col) const
111 check_coordinates(row, col);
222 inline Scalar coeff(Index row, Index col) const
224 Base::check_coordinates_internal(row, col);
225 return m_matrix.coeff(row, col);
231 inline Scalar& coeffRef(Index row, Index col)
233 Base::check_coordinates_internal(row, col);
234 return m_matrix.const_cast_derived().coeffRef(row, col);
437 row = (UnrollCount-1) % Derived1::RowsAtCompileTime
449 if((Mode == Upper && row <= col)
450 || (Mode == Lower && row >= col)
451 || (Mode == StrictlyUpper && row < col)
452 || (Mode == StrictlyLower && row > col)
453 || (Mode == UnitUpper && row < col)
454 || (Mode == UnitLower && row > col))
455 dst.copyCoeff(row, col, src);
458 if (Mode&UnitDiag && row==col)
459 dst.coeffRef(row, col) = Scalar(1);
461 dst.coeffRef(row, col) = Scalar(0);