sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
867 stars 296 forks source link

[Type] Clean and test MatSym #4600

Closed alxbilger closed 1 month ago

alxbilger commented 1 month ago

A bit of cleaning (formatting, removal of commented code, use of our friend std::enable_if_t etc) for sofa::type::MatSym. I added the operator* on matrices (symmetric and non-symmetric). I also added simple unit tests.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

alxbilger commented 1 month ago

[ci-build][with-all-tests]