3 ms·
Eigen is really nice for getting code that looks like the underlying math and it also optimizes away unnecessary temporaries by using template expressions. Howe
by markisus 5y ago
Eigen is really nice for getting code that looks like the underlying math and it also optimizes away unnecessary temporaries by using template expressions. However, when you mess up, you get a screen full of template errors that take some experience to understand and debug.
It makes me wish for a language + compiler where linear algebraic objects are first-class values.
- tspooner 5y agoWhile it's not exactly what you're asking for, I do find the LinearAlgebra (standard) library in Julia to be pretty fantastic: https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/ https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/
- deng 5y ago> It makes me wish for a language + compiler where linear algebraic objects are first-class values. Like Fortran?
- adgjlsfhk1 5y agoFortran gives you first class dense ND-array, but doesn't give you the flexibility to make other types of arrays (banded/blocked/etc) feel first class.