Lines Matching refs:col
89 /** \returns the coefficient value at given position \a row, \a col
92 inline Scalar coeff(Index row, Index col) const
94 const Index outer = IsRowMajor ? row : col;
95 const Index inner = IsRowMajor ? col : row;
99 /** \returns a reference to the coefficient value at given position \a row, \a col
103 inline Scalar& coeffRef(Index row, Index col)
105 const Index outer = IsRowMajor ? row : col;
106 const Index inner = IsRowMajor ? col : row;
145 /** \returns a reference to the non zero coefficient at position \a row, \a col assuming that:
150 inline Scalar& insertBack(Index row, Index col)
152 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row);
165 inline Scalar& insert(Index row, Index col)
167 const Index outer = IsRowMajor ? row : col;
168 const Index inner = IsRowMajor ? col : row;
289 * inserts a nonzero coefficient at given coordinates \a row, \a col and returns its reference assuming that:
293 * \c i \c x \a col such that \c i >= \a row. Otherwise the matrix is invalid.
297 EIGEN_DEPRECATED Scalar& fill(Index row, Index col)
299 const Index outer = IsRowMajor ? row : col;
300 const Index inner = IsRowMajor ? col : row;
309 EIGEN_DEPRECATED Scalar& fillrand(Index row, Index col)
311 return insert(row,col);
333 inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }
349 inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }