FLINT3.7.0-dev

CartesianProduct, CartesianPower, Subsets, Sets, Tuples

Synopsis#include <flint/fexpr_builtin.h>
CartesianProduct
CartesianPower
Subsets
Sets
Tuples

The Cartesian product CartesianProduct(A, B) (A \times B) and power CartesianPower(S, n) ({S}^{n}), the power set Subsets(S) (\mathscr{P}(S)) of all subsets of S, the class Sets (\operatorname{Sets}) of all sets, and Tuples (the class of all tuples), Tuples(S) (tuples with elements in S) and Tuples(S, n) (tuples of length n with elements in S).

Cite this page

The FLINT team, “CartesianProduct, CartesianPower, Subsets, Sets, Tuples (fexpr_builtin.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr_builtin/CartesianProduct.html (generated 2026-10-20).