Function sequant::opt::pull_scalar

Function Documentation

void sequant::opt::pull_scalar(sequant::ExprPtr expr) noexcept

Pulls out scalar to the top level from a nested product. If expr is not Product, does nothing.