News for hackers. Stuff that matters.
Re:LFortran: Modern interactive LLVM-based Fortran compiler by mhh__ on Thursday July 02, 2020 @05:39PM (#23718368)
I've never used Eigen, could you explain specifically what lazy evaluation implies for this expression? Is it to do with the diagonal() call constraining the amount of work to be done?
Re:LFortran: Modern interactive LLVM-based Fortran compiler by waynecochran on Thursday July 02, 2020 @06:35PM (#23718899)
Yeah, you got it. The diagonal() matrix is not actually created since you really don't need all the elements in the final computation.