diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-09-20 10:22:23 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-09-20 10:22:23 +0200 |
commit | f92567fecc02f7653c5974ed9b162e49a813dc0c (patch) | |
tree | dc4b76bcf3d7bf05c02a88bb22dbd4e5cc0c2e49 /Eigen | |
parent | 7ad07fc6f2e1dd74554ba576367883c4236c6b98 (diff) |
Add link to a useful example.
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/plugins/IndexedViewMethods.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/plugins/IndexedViewMethods.h b/Eigen/src/plugins/IndexedViewMethods.h index 215bd0530..a7ec63adf 100644 --- a/Eigen/src/plugins/IndexedViewMethods.h +++ b/Eigen/src/plugins/IndexedViewMethods.h @@ -248,6 +248,8 @@ operator()(const IndicesT (&indices)[IndicesN]) EIGEN_INDEXED_VIEW_METHOD_CONST * * For 1D vectors and arrays, you better use the operator()(const Indices&) overload, which behave the same way but taking a single parameter. * + * See also this <a href="https://stackoverflow.com/questions/46110917/eigen-replicate-items-along-one-dimension-without-useless-allocations">question</a> and its answer for an example of how to duplicate coefficients. + * * \sa operator()(const Indices&), class Block, class IndexedView, DenseBase::block(Index,Index,Index,Index) */ template<typename RowIndices, typename ColIndices> |