Function sequant::opt::is_tensor_factor

Function Documentation

bool sequant::opt::is_tensor_factor(Expr const &e)
Returns:

whether e is a tensor factor of a product the single-term optimizer contracts: a Tensor or a TensorPower