Function pinocchio::internal::productCombination
Defined in File reachable-workspace.hxx
Function Documentation
-
void pinocchio::internal::productCombination(const Eigen::VectorXd &element, const int repeat, Eigen::VectorXi &indices, Eigen::VectorXd &combination)
Cartesian product of input element with itself. Number of repetition is specified with repeat argument. Inspired by https://docs.python.org/3/library/itertools.html#itertools.product.