libmath-cartesian-product-perl 1.009-3 source package in Ubuntu
Changelog
libmath-cartesian-product-perl (1.009-3) unstable; urgency=medium [ Debian Janitor ] * Apply multi-arch hints. + libmath-cartesian-product-perl: Add Multi-Arch: foreign. -- Jelmer Vernooij <email address hidden> Thu, 13 Oct 2022 17:54:00 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libmath-cartesian-product-perl_1.009-3.dsc | 2.2 KiB | caf823090718981c53c03af2a1873a0d8da1fe36dd53411eec23dfc757b1cecb |
libmath-cartesian-product-perl_1.009.orig.tar.gz | 6.1 KiB | d0bf24e56aaebe47c9db6d09c257bc3bf5af2d0d69f060fe33c180a9c7199f32 |
libmath-cartesian-product-perl_1.009-3.debian.tar.xz | 3.6 KiB | b377471e3549941ff1a22887dee3c8aa0bc0b9618125cb724f2d01d22c5903e5 |
Available diffs
- diff from 1.009-2 to 1.009-3 (530 bytes)
No changes file available.
Binary packages built by this source
- libmath-cartesian-product-perl: generate the Cartesian product of zero or more lists
Math::
Cartesian: :Product generates the Cartesian product of zero or
more lists.
.
Given two lists, say: [a,b] and [1,2,3], the Cartesian product is the
set of all ordered pairs:
.
(a,1), (a,2), (a,3), (b,1), (b,2), (b,3)
.
which select their first element from all the possibilities listed in
the first list, and select their second element from all the
possibilities in the second list.
.
The idea can be generalized to n-tuples selected from n lists where all
the elements of the first list are combined with all the elements of
the second list, the results of which are then combined with all the
member of the third list and so on over all the input lists.