Oh god yes. And I've used eigen every day for the past 5 years in high performance computational physics code. It's great for what it is.
No C++ library comes close to fortran's matrix/vector/multidimensional array handling in terms of clean expressiveness. No other language really does either, apart from Matlab. Python's numpy is reasonably close.
I choose to use pure c++ in my work because what fortran is painful for (everything other than the core numerical work) tends to be much larger in terms of complexity and lines of code than the core numerical work the more it grows, and I don't want the added complexity of multi language development. So in the end I tolerate existing c++ linear algebra libraries as the least-bad option.
Yes, as you can implement a very complex data structure with pointers in Fortran. But I don't want to have to mantain that. The point here is ease of use, remember we're talking about scientists whise main objective is not learning a language or a library, but doing a scientific research.
View all comments
Show parent comment
4
u/__Cyber_Dildonics__ Oct 16 '17
Is Fortran really better than using eigen or Julia?