Function sequant::optimize

Function Documentation

ExprPtr sequant::optimize(ExprPtr const &expr)

Optimize the expression using IndexSpace::aproximate_size() for reference index extent.

Parameters:

expr – Expression to be optimized.

Returns:

Optimized expression for lower evaluation cost.