Home | History | Annotate | Download | only in SparseExtra

Lines Matching refs:col

91     /** \returns the coefficient value at given position \a row, \a col
94 inline Scalar coeff(Index row, Index col) const
96 const Index outer = IsRowMajor ? row : col;
97 const Index inner = IsRowMajor ? col : row;
101 /** \returns a reference to the coefficient value at given position \a row, \a col
105 inline Scalar& coeffRef(Index row, Index col)
107 const Index outer = IsRowMajor ? row : col;
108 const Index inner = IsRowMajor ? col : row;
147 /** \returns a reference to the non zero coefficient at position \a row, \a col assuming that:
152 inline Scalar& insertBack(Index row, Index col)
154 return insertBackByOuterInner(IsRowMajor?row:col, IsRowMajor?col:row);
167 inline Scalar& insert(Index row, Index col)
169 const Index outer = IsRowMajor ? row : col;
170 const Index inner = IsRowMajor ? col : row;
291 * inserts a nonzero coefficient at given coordinates \a row, \a col and returns its reference assuming that:
295 * \c i \c x \a col such that \c i >= \a row. Otherwise the matrix is invalid.
299 EIGEN_DEPRECATED Scalar& fill(Index row, Index col)
301 const Index outer = IsRowMajor ? row : col;
302 const Index inner = IsRowMajor ? col : row;
311 EIGEN_DEPRECATED Scalar& fillrand(Index row, Index col)
313 return insert(row,col);
335 inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }
352 inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }
381 Scalar coeff(Index row, Index col) const { return m_matrix->coeff(row,col); }