Opened 8 months ago
Closed 8 months ago
#974 closed enhancement (fixed)
document which Matrix functions that destroy references/views to Matrix
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | minor | Milestone: | yat 0.20 |
Component: | documentation | Version: | trunk |
Keywords: | Cc: |
Description
For example:
Matrix X(3,3); double& a = X(0,0); X.resize(4,4);
It's obvious that 'a' is hanging, but for other operations like +=
, *=
, ::transpose()
etc it's not obvious and needs to documented.
Note: See
TracTickets for help on using
tickets.
References, iterators and views are invalidated when
gsl_matrix* m_
is reallocated or whenblas_result_
is used and subsequently swapped withm_
. That means (afaicu) that the following functionality imply invalidated references/iterators/views: