lgmath icon indicating copy to clipboard operation
lgmath copied to clipboard

Using `Eigen::Ref` for `const Eigen &` function inputs

Open kmactavish opened this issue 9 years ago • 0 comments

We really should change functions that accept const Eigen::Type & to use const Eigen::Ref<Eigen::Type>& as recommended by Eigen documentation.

This unifies Eigen::Matrix and Eigen::Map, to avoid an additional copy.

kmactavish avatar Feb 12 '16 18:02 kmactavish