Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.622.898 Times

PermComb 1.0.0

  Date Added: June 02, 2010  |  Visits: 657

PermComb

Report Broken Link
Printer Friendly Version


Product Homepage
Download (136 downloads)



PermComb is pure perl module for performing permutations and combinations of an arbitrary list. Algorithm::Permute permutes only n out of n and requires compilation. This mod is pure perl and supports permutations and combinations taken R at a time, iteratively and both in the same object at the same time. I dont have time to write much docs now, but here is a synopsis: use lib xxxxxx; # xxxxx is where you want to store permcomb.pm use permcomb; @list = define_some_list(); # arbitrary list $r = taken_r_at_a_time(); # if R <= 0 or >= $#list, R = N $p = new permcomb( @list, $r ); # be sure to pass a list reference # r is optional. print "nPr=" . $p -> nPr() . "; n=" . $p -> n() . "; r=" . $p -> r() . "n"; foreach ( 1..$p -> nPr() ) { print join( , $p -> nextp() ) . "n"; } print "nCr=" . $p -> nCr() . "; n=" . $p -> n() . "; r=" . $p -> r() . "n"; foreach ( 1..$p -> nCr() ) { print join( , $p -> nextc() ) . "n"; } nCr() and nPr() call be called via package for general values: print permcomb::nCr( 5, 3 ); When called via ref, returns the value based on given list and r..

Requirements: No special requirements
Platforms: Linux
Keyword: Arbitrary Combinations Libraries List Perl Module Permcomb Permutations And Combinations Print Programming
Users rating: 0/10

License: Freeware Size: 9.22 KB
USER REVIEWS
More Reviews or Write Review


PERMCOMB RELATED
Libraries  -  I18N::LangTags::List 0.35
I18N::LangTags::List Perl module contains tags and names for human languages. SYNOPSIS use I18N::LangTags::List; print "Parlez-vous... ", join(, , I18N::LangTags::List::name(elx) || unknown_language, I18N::LangTags::List::name(ar-Kw) ||...
30.72 KB  
Libraries  -  Math::Combinatorics 0.09
Math::Combinatorics is a Perl module that can perform combinations and permutations on lists. SYNOPSIS Available as an object oriented API. use Math::Combinatorics; my @n = qw(a b c); my $combinat = Math::Combinatorics->new(count => 2,...
10.24 KB  
Libraries  -  Algorithm::Permute 0.06
Algorithm::Permute is a Perl module with handy and fast permutation with object oriented interface. SYNOPSIS use Algorithm::Permute; my $p = new Algorithm::Permute([a..d]); while (@res = $p->next) { print join(", ", @res), "n"; } my...
10.24 KB  
Libraries  -  Crypt::OpenSSL::SMIME 0.02
Crypt::OpenSSL::SMIME is a Perl module for signing and encrypting messages with S/MIME standard using OpenSSL libraries. SYNOPSIS use Crypt::OpenSSL::SMIME; $smime = new Crypt::OpenSSL::SMIME({ signer_from => sender@test.com, signer_cert =>...
25.6 KB  
Libraries  -  Alien::scriptaculous 1.002
Alien::scriptaculous is a Perl module for installing and finding script.aculo.us. SYNOPSIS use Alien::scriptaculous; ... $version = Alien::scriptaculous->version(); $path = Alien::scriptaculous->path(); ... Alien::scriptaculous->install(...
100.35 KB  
Libraries  -  Perl::Critic::Config 1.061
Perl::Critic::Config is a Perl module to find and load Perl::Critic user-preferences. Perl::Critic::Config takes care of finding and processing user-preferences for Perl::Critic. The Config object defines which Policy modules will be loaded into...
245.76 KB  
Libraries  -  Module::Build 0.2808
Module::Build is a Perl module for build and install Perl modules. SYNOPSIS Standard process for building & installing modules: perl Build.PL ./Build ./Build test ./Build install Or, if youre on a platform (like DOS or Windows) that...
184.32 KB  
Libraries  -  Audio::MPEG 0.04
Audio::MPEG is a Perl module for encoding and decoding of MPEG Audio (MP3). SYNOPSIS use Audio::MPEG; Audio::MPEG is a Perl interface to the LAME and MAD MPEG audio Layers I, II, and III encoding and decoding libraries. Rationale I have...
57 MB  
Libraries  -  Bio::Phylo::IO 0.17 RC6
Bio::Phylo::IO Perl module contains input and output of phylogenetic data. SYNOPSIS use Bio::Phylo::IO; # parsing a tree from a newick string my $tree_string = (((A,B),C),D);; my $tree = Bio::Phylo::IO->parse( -string => $tree_string, #...
143.36 KB  
Libraries  -  CGI_Lite 1.8
CGI_Lite is a Perl module to process and decode WWW forms and cookies. SYNOPSIS use CGI_Lite; $cgi = new CGI_Lite; $cgi->set_platform ($platform); where $platform can be one of (case insensitive): Unix, Windows, Windows95, DOS, NT, PC,...
14.34 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB