Introducing Eigen::Ref for function function parameters #458
DrChiZhang
started this conversation in
Ideas
Replies: 1 comment
-
Eigen::MatrixXf is for dynamics matrix which are not used in SPHinXsys. Do you mean to use Eigen dynamics matrix? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Eigen::Ref provides a way to write non-template functions taking objects as parameters while limiting the number of copies,
for example
More details:
http://eigen.tuxfamily.org/dox/classEigen_1_1Ref.html
Beta Was this translation helpful? Give feedback.
All reactions