Re:Eigen: A C++ template library for linear algebra
by jeffreygoesto on Monday April 04, 2022 @02:53PM
(#30910610)
Blaze [0] looks promising. There was a little discussion here [1] about it's comparison and performance, especially for small sizes.
[0] https://bitbucket.org/blaze-lib/blaze/src/master/
[1] https://bitbucket.org/blaze-lib/blaze/issues/266/blaze-vs-ei...
Re:Eigen: A C++ template library for linear algebra
by wbthomason on Monday April 04, 2022 @03:00PM
(#30910680)
Thanks, this looks promising indeed! Especially because it similarly supports custom scalar types: https://bitbucket.org/blaze-lib/blaze/wiki/Vector%20and%20Ma...
Re:Eigen: A C++ template library for linear algebra
by wbthomason on Monday April 04, 2022 @03:38PM
(#30911074)
One small downside of Blaze vs. Eigen for robotics is that Blaze seems to lack the highly convenient geometry types and operations that Eigen ships with. This wouldn't be difficult to build on top of Blaze (and could lead to some interesting performance comparisons), but does present some additional work necessary to use Blaze in many robotics applications.
One advantage of Eigen's approach that I haven't seen mentioned here is that its templated design makes it easy to substitute custom scalar types for operations, which helps enable straightforward automatic differentiation and other such tools (e.g. I'm currently using Eigen to make a tracing JIT for computations like FK, etc. over scenegraphs).