Import polymul-1.01 as wip/polymul.

Polymul is a self-contained C++ template library for efficient multiplication
of multivariate polynomials. It is intended for low order polynomials of a few
variables, but is in principle limited only by the compiler's maximum template
recursion depth.Polynomials can be created over any scalar type, such as 
integers or floating point numbers.

In addition to normal polynomial multiplication the library can also do truncated (Taylor series) 
multiplication, as well as linear changes of coordinates. Polynomials can also be evaluated at arbitrary 
points
This commit is contained in:
Kamel Ibn Aziz Derouiche 2011-10-28 20:22:15 +00:00 committed by Thomas Klausner
parent be655f182f
commit 48bd131b0a
5 changed files with 63 additions and 0 deletions

9
polymul/DESCR Normal file
View file

@ -0,0 +1,9 @@
Polymul is a self-contained C++ template library for efficient multiplication
of multivariate polynomials. It is intended for low order polynomials of a few
variables, but is in principle limited only by the compiler's maximum template
recursion depth.Polynomials can be created over any scalar type, such as
integers or floating point numbers.
In addition to normal polynomial multiplication the library can also do truncated (Taylor series)
multiplication, as well as linear changes of coordinates. Polynomials can also be evaluated at arbitrary
points

33
polymul/Makefile Normal file
View file

@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/10/28 20:22:15 jihbed Exp $
#
DISTNAME= polymul-1.01
CATEGORIES= math
MASTER_SITES= http://polymul.googlecode.com/files/
EXTRACT_SUFX= .tgz
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://code.google.com/p/polymul/
COMMENT= Fast multivariate polynomial multiplication in C++
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
USE_LANGUAGES= c++
REPLACE_PYTHON+= gentab.py
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
INSTALLATION_DIRS= bin include share/doc/polymul
post-extract:
${MV} ${WRKSRC}/gentab.py ${WRKSRC}/gentab${PYVERSSUFFIX}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gentab${PYVERSSUFFIX} ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/polymul.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/polymul
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

4
polymul/PLIST Normal file
View file

@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/28 20:22:15 jihbed Exp $
bin/gentab2.6
include/polymul.h
share/doc/polymul/README

12
polymul/buildlink3.mk Normal file
View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/10/28 20:22:15 jihbed Exp $
BUILDLINK_TREE+= polymul
.if !defined(POLYMUL_BUILDLINK3_MK)
POLYMUL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.polymul+= polymul>=1.01
BUILDLINK_PKGSRCDIR.polymul?= ../../wip/polymul
.endif # POLYMUL_BUILDLINK3_MK
BUILDLINK_TREE+= -polymul

5
polymul/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/10/28 20:22:15 jihbed Exp $
SHA1 (polymul-1.01.tgz) = 763357ffb13bd20540b07834f3aee1d2871d62e8
RMD160 (polymul-1.01.tgz) = ebd3456a0db36ee2e5ee0ece171fc23aaf714aa7
Size (polymul-1.01.tgz) = 17241 bytes