PHP Classes

Combinatory Logic: Calculate and generate array element combinations

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 1,100 All time: 3,416 This week: 560Up
Version License Categories
combinatory 1.0.0GNU General Publi...Algorithms
Description 

Author

This class calculates and generates all combinations of array elements for n variables with a k class.

The class takes an array elements and returns another array with values set to the specified type of combination of elements.

The combination types implemented by this class are:

- Pn
- Pn(k)
- Dn,k
- D'n,k
- Cn,k
- C'n,k

Picture of Andrea Giammarchi
Name: Andrea Giammarchi <contact>
Classes: 17 packages by
Country: Italy Italy
Age: 46
All time rank: 192 in Italy Italy
Week rank: 62 Down2 in Italy Italy Equal
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files (1)  
File Role Description
Accessible without login Plain text file Combinatory.class.php Class Core class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,100
This week:0
All time:3,416
This week:560Up
User Ratings User Comments (2)
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2030
 
no examples.
16 years ago (Rathnakar)
17%Star
It would be inetersting to add to this class a way to set a r...
16 years ago (Carlo Sorio)
60%StarStarStarStar