C++ Expression Templates: Eigen, Blaze, Fastor, Armadillo & XTensor (2020)
romanpoya.medium.com
romanpoya.medium.com
I remember doing this kind of finite difference stencil templating using plain C++. All the performance gains went out of the window as soon as the array size becomes dynamic.
I wonder will it be good? Computing dot product efficiently is harder than it seems, example: https://stackoverflow.com/a/59495197/126995 Eigen usually does stuff like that rather well.