Set::CrossProduct 1.92
Sponsored Links
Set::CrossProduct 1.92 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
842
Date added:
2007-07-04
Publisher:
brian d foy
Set::CrossProduct 1.92 description
Set::CrossProduct is a Perl module that allows you to work with the cross product of two or more sets.
SYNOPSIS
my $iterator = Set::CrossProduct->new( ARRAY_OF_ARRAYS );
# get the next tuple
my $number_of_tuples = $iterator->cardinality;
# get the next tuple
my $tuple = $iterator->get;
# move back one position
my $tuple = $iterator->unget;
# get the previous tuple without resetting
# the cursor (peek at it)
my $next_tuple = $iterator->next;
# get the previous tuple without resetting
# the cursor
my $last_tuple = $iterator->previous;
# get a random tuple
my $tuple = $iterator->random;
# in list context returns a list of all tuples
my @tuples = $iterator->combinations;
# in scalar context returns an array reference to all tuples
my $tuples = $iterator->combinations;
Given sets S(1), S(2), ..., S(k), each of cardinality n(1), n(2), ..., n(k) respectively, the cross product of the sets is the set CP of ordered tuples such that {
| s1 => S(1), s2 => S(2), .... sk => S(k). }
If you do not like that description, how about:
Create a list by taking one item from each array, and do that for all possible ways that can be done, so that the first item in the list is always from the first array, the second item from the second array, and so on.
SYNOPSIS
my $iterator = Set::CrossProduct->new( ARRAY_OF_ARRAYS );
# get the next tuple
my $number_of_tuples = $iterator->cardinality;
# get the next tuple
my $tuple = $iterator->get;
# move back one position
my $tuple = $iterator->unget;
# get the previous tuple without resetting
# the cursor (peek at it)
my $next_tuple = $iterator->next;
# get the previous tuple without resetting
# the cursor
my $last_tuple = $iterator->previous;
# get a random tuple
my $tuple = $iterator->random;
# in list context returns a list of all tuples
my @tuples = $iterator->combinations;
# in scalar context returns an array reference to all tuples
my $tuples = $iterator->combinations;
Given sets S(1), S(2), ..., S(k), each of cardinality n(1), n(2), ..., n(k) respectively, the cross product of the sets is the set CP of ordered tuples such that {
If you do not like that description, how about:
Create a list by taking one item from each array, and do that for all possible ways that can be done, so that the first item in the list is always from the first array, the second item from the second array, and so on.
Set::CrossProduct 1.92 Screenshot
Set::CrossProduct 1.92 Keywords
CrossProduct
CrossProduct 1.92
two or more
module that allows
cross product
to work
Perl module
TUPLE
tuples
s
sets
product
array
Set::CrossProduct
SetCrossProduct
Set::CrossProduct 1.92
Bookmark Set::CrossProduct 1.92
Set::CrossProduct 1.92 Copyright
WareSeeker periodically updates pricing and software information of Set::CrossProduct 1.92 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Set::CrossProduct 1.92 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
vector cross product
cross product calculator
cross product and division
cross products
cross products math
examples of cross products
cross product of two vectors
cross product 2d
what is a cross product in math
vector product
cross product matlab
solving proportions using cross products
cross product definition
dictionary cross product
mdx set tuple member
tuplex
delete n-1 tuples
tuples in database
Related Software
Set::Scalar Perl module contains a basic set of operations. Free Download
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. Free Download
RiveScript is a Perl module that allows you to rendering intelligence very easily. Free Download
Mac::PropertyList is a Perl module to work with Mac plists at a low level. Free Download
Statistics::SPC is a Perl module with calculations for Stastical Process Control (SPC). Free Download
Set::Partition is a Perl module that can enumerate all arrangements of a set in fixed subsets. Free Download
The metric implemented in the Image::Density Perl Module estimates the density of data where there is data. Free Download
List::Comprehensions is a Perl module that allows for list comprehensions in Perl. Free Download
Latest Software
Popular Software
Favourite Software