Registered Member
|
on the page http://eigen.tuxfamily.org/dox-devel/To ... Types.html
it talks about how to pass Eigen type into functions. However I cannot find EIGEN_REF_TO_TEMPORARY after short grep. Anyone know where it is? |
Moderator
|
ok, looks like the doc has not been automatically regenerated yet. This macro has been removed. Use "const &" instead.
|
Registered Member
|
Thanks for the update. Though I dont understand the difference between const MatrixBase<Derived>& x and MatrixBase<OtherDerived> const & I always thought that they are equivalent and mean it is passing a reference to a constant object. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft