Main > Programming > Libraries >

Set::CrossProduct 1.92

Set::CrossProduct 1.92

Sponsored Links

Set::CrossProduct 1.92 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
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.

Set::CrossProduct 1.92 Screenshot

Advertisements

Set::CrossProduct 1.92 Keywords

Bookmark Set::CrossProduct 1.92

Hyperlink code:
Link for forum:

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

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
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