* \brief Returns a wrapper class for direct coefficient access. * If this wrapper is used, a call to \ref coeff(Index row, Index col, Index batch, Index linear) const * will use the linear index instead of the regular row-column-batch index. This avoids * the search for the matching coefficient in this sparse matrix. * * The use case is the following optimization: *
| 228 | * \return a wrapper to trigger the direct-read optimization |
| 229 | */ |
| 230 | internal::SparseMatrixDirectAccess<const Type> direct() const |
| 231 | { |
| 232 | return internal::SparseMatrixDirectAccess<const Type>(this); |
| 233 | } |
| 234 | |
| 235 | //---------------------------------- |
| 236 | // EVALUATION |
nothing calls this directly
no outgoing calls
no test coverage detected