Matrizer 

Matrizer is an optimizing compiler for matrix expressions. Given approximate sizes of the matrices involved, it searches for mathematically equivalent expressions requiring fewer FLOPs to compute. The result is output as Python/numpy or MATLAB code. Beware: this is still highly unpolished alphalevel software. Many features are missing, and there is no guarantee that the expressions output are optimal or even correct. It's best to think of the results as a source of inspiration rather than something to be blindly trusted. TODO: write some documentation. 
Parsing expression...
Naive AST: Naive computation requires FLOPs. Optimizing, please wait...
Transformed to concrete expression requiring FLOPs: Result requires FLOPs. Optimized AST: Python/numpy code: MATLAB code: Optimization path: 