Phylanx Seminar: Revealing the Magic of Blaze

Over the past several weeks, many team members have been asking how aspects of the Phylanx project are implemented. In this seminar,  Hartmut explains the techniques used by Blaze to optimize matrix operations. He implements a matrix addition example which uses types, templates, and curiously recurring template patterns (CRTP) to reduce the number of temporaries made during the execution of the code. By avoiding these extra allocations in a compiler friendly way, Blaze can drastically reduce the amount of time it takes perform matrix operations. You can find links to the seminar materials below:

Seminar Video:
Naive Matrix Implementation:
Optimized Matrix Implementation: