Function sequant::eval::schedule::leaf_permutation_error

Function Documentation

std::optional<std::string> sequant::eval::schedule::leaf_permutation_error(TreeShape const &tree, std::size_t nfactors)

why tree is not a tree over nfactors factors (a node lacking a child, a leaf out of range or repeated, a factor unused), or nullopt when it is