CartesianProduct, CartesianPower, Subsets, Sets, Tuples
Synopsis
#include <flint/fexpr_builtin.h>CartesianProductCartesianPowerSubsetsSetsTuplesThe 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).
@misc{flint-doc-fexpr-builtin-CartesianProduct,
author = {{The FLINT team}},
title = {{CartesianProduct, CartesianPower, Subsets, Sets, Tuples (fexpr\_builtin.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fexpr_builtin/CartesianProduct.html},
note = {Generated 2026-10-20}
}