A package that returns all the combinations and

permutations, without repitition, of a given set
and subset size. Associative arrays are preserved.

WWW: http://pear.php.net/package/Math_Combinatorics/

PR:		ports/112824
Submitted by:	Zhen REN <bg1tpt at gmail.com>
This commit is contained in:
Martin Wilke 2007-05-29 16:12:27 +00:00
parent 3d51811e7c
commit 2b01965527
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192312
4 changed files with 40 additions and 0 deletions

View file

@ -273,6 +273,7 @@
SUBDIR += p5-bignum
SUBDIR += pari
SUBDIR += parmetis
SUBDIR += pear-Math_Combinatorics
SUBDIR += pecl-big_int
SUBDIR += pecl-stats
SUBDIR += petsc

View file

@ -0,0 +1,31 @@
# Ports collection makefile for: pear-Math_Combinatorics
# Date created: 20 May 2007
# Whom: Zhen REN <bg1tpt@gmail.com>
#
# $FreeBSD$
#
PORTNAME= Math_Combinatorics
PORTVERSION= 1.0.0r1
CATEGORIES= math pear
DISTNAME= ${PORTNAME}-1.0.0RC1
MAINTAINER= bg1tpt@gmail.com
COMMENT= A package that produces combinations and permutations
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= Math
FILES= Combinatorics.php
IGNORE_WITH_PHP=4
TESTS= test_1.phpt test_2.phpt test_3.phpt test_4.phpt \
test_5.phpt test_6.phpt
EXAMPLES= example.php
_EXAMPLESDIR= docs/examples
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (PEAR/Math_Combinatorics-1.0.0RC1.tgz) = a91f452620fc7261388d9498a00a4251
SHA256 (PEAR/Math_Combinatorics-1.0.0RC1.tgz) = 38505a0cb78dc28510fd49c4afb40b9325256cb8b6e213fe8e9c03f8f25f0617
SIZE (PEAR/Math_Combinatorics-1.0.0RC1.tgz) = 6458

View file

@ -0,0 +1,5 @@
A package that returns all the combinations and
permutations, without repitition, of a given set
and subset size. Associative arrays are preserved.
WWW: http://pear.php.net/package/Math_Combinatorics/