Function malachite_base::vecs::exhaustive::exhaustive_vecs_length_2
source · pub fn exhaustive_vecs_length_2<T: Clone, I: Iterator<Item = T>, J: Iterator<Item = T>>(
xs: I,
ys: J,
) -> ExhaustiveFixedLengthVecs2Inputs<T, I, J> ⓘ
Expand description
This documentation applies not only to exhaustive_vecs_length_2
, but also to
exhaustive_vecs_length_3
, exhaustive_vecs_length_4
, and so on. See
exhaustive_vecs_fixed_length
for more information.
Generates all length-$n$ Vec
s with elements from $n$ iterators.
If all of xs
, ys
, zs
, … are finite, the output length is the product of their
lengths. If any of xs
, ys
, zs
, … are infinite, the output is also infinite.
If any of xs
, ys
, zs
, … is empty, the output is also empty.
§Examples
See here.