diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2008-02-09 21:59:20 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2008-02-09 21:59:20 +0000 |
commit | b7509990d64703c6e1e458f4a15876b72af85d28 (patch) | |
tree | c9141bdff285351ffd077ffe711499056e032882 /math | |
parent | Add facile, a Functional Constraint Library written in Ocaml (diff) |
Add Eigen a lightweight C++ template library for vector and matrix math
Notes
Notes:
svn path=/head/; revision=206969
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/eigen/Makefile | 33 | ||||
-rw-r--r-- | math/eigen/distinfo | 3 | ||||
-rw-r--r-- | math/eigen/pkg-descr | 15 | ||||
-rw-r--r-- | math/eigen/pkg-plist | 13 | ||||
-rw-r--r-- | math/eigen2/Makefile | 33 | ||||
-rw-r--r-- | math/eigen2/distinfo | 3 | ||||
-rw-r--r-- | math/eigen2/pkg-descr | 15 | ||||
-rw-r--r-- | math/eigen2/pkg-plist | 13 | ||||
-rw-r--r-- | math/eigen3/Makefile | 33 | ||||
-rw-r--r-- | math/eigen3/distinfo | 3 | ||||
-rw-r--r-- | math/eigen3/pkg-descr | 15 | ||||
-rw-r--r-- | math/eigen3/pkg-plist | 13 |
13 files changed, 193 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index c2f6f1046516..949ca5544f92 100644 --- a/math/Makefile +++ b/math/Makefile @@ -50,6 +50,7 @@ SUBDIR += drgeo SUBDIR += e SUBDIR += edenmath + SUBDIR += eigen SUBDIR += eispack SUBDIR += elmer-mathlibs SUBDIR += elmer-umfpack diff --git a/math/eigen/Makefile b/math/eigen/Makefile new file mode 100644 index 000000000000..aa602cac18ba --- /dev/null +++ b/math/eigen/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: eigen +# Date created: 2008-01-18 +# Whom: arved +# +# $FreeBSD$ + +PORTNAME= eigen +PORTVERSION= 1.0.5 +CATEGORIES= math +MASTER_SITES= http://download.tuxfamily.org/eigen/ + +MAINTAINER= kde@FreeBSD.org +COMMENT= Lightweight library for vector and matrix math + +BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake + +CMAKE?= ${LOCALBASE}/bin/cmake +WRKSRC= ${WRKDIR}/${PORTNAME}/build +MAKE_ENV= VERBOSE="1" +CMAKE_ARGS= -DCMAKE_BUILD_TYPE=DEBUG \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} \ + -DCMAKE_C_COMPILER:STRING='${CC}' \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_COMPILER:STRING=${CXX} \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" + +post-patch: + ${MKDIR} ${WRKSRC} + +do-configure: + cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} .. + +.include <bsd.port.mk> diff --git a/math/eigen/distinfo b/math/eigen/distinfo new file mode 100644 index 000000000000..1a506be0ffdb --- /dev/null +++ b/math/eigen/distinfo @@ -0,0 +1,3 @@ +MD5 (eigen-1.0.5.tar.gz) = 960d7e5fb6542270eae4d53ca99b607c +SHA256 (eigen-1.0.5.tar.gz) = 6dfc085adc22baf66fa0fde190c8cf37effadbbe62bbfea5966cfd2cc85142d6 +SIZE (eigen-1.0.5.tar.gz) = 59944 diff --git a/math/eigen/pkg-descr b/math/eigen/pkg-descr new file mode 100644 index 000000000000..2ff2b3b7e356 --- /dev/null +++ b/math/eigen/pkg-descr @@ -0,0 +1,15 @@ +Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. +linear algebra. +Unlike most other linear algebra libraries, Eigen focuses on the simple +mathematical needs of applications: games and other OpenGL apps, spreadsheets +and other office apps, etc. Eigen is dedicated to providing optimal speed with +GCC. +Its fixed-size classes are specially optimized for small sizes up to 4, +although it is theoretically possible to specialize them to any size. They +never cause dynamic memory applications and the simple operations on them are +as fast as is possible at least for sizes up to 4 (see below). +Its dynamic-size classes are more flexible and suitable for larger sizes. +Both fixed-size and dynamic-size classes use the same underlying C++ code, +thanks to a curiously recurring template pattern. + +WWW: http://eigen.tuxfamily.org/ diff --git a/math/eigen/pkg-plist b/math/eigen/pkg-plist new file mode 100644 index 000000000000..2e8bfb9de2ce --- /dev/null +++ b/math/eigen/pkg-plist @@ -0,0 +1,13 @@ +include/eigen/linearsolver.h +include/eigen/linearsolverbase.h +include/eigen/ludecomposition.h +include/eigen/ludecompositionbase.h +include/eigen/matrix.h +include/eigen/matrixbase.h +include/eigen/projective.h +include/eigen/util.h +include/eigen/vector.h +include/eigen/vectorbase.h +include/eigen/regressioninternal.h +include/eigen/regression.h +@dirrm include/eigen diff --git a/math/eigen2/Makefile b/math/eigen2/Makefile new file mode 100644 index 000000000000..aa602cac18ba --- /dev/null +++ b/math/eigen2/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: eigen +# Date created: 2008-01-18 +# Whom: arved +# +# $FreeBSD$ + +PORTNAME= eigen +PORTVERSION= 1.0.5 +CATEGORIES= math +MASTER_SITES= http://download.tuxfamily.org/eigen/ + +MAINTAINER= kde@FreeBSD.org +COMMENT= Lightweight library for vector and matrix math + +BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake + +CMAKE?= ${LOCALBASE}/bin/cmake +WRKSRC= ${WRKDIR}/${PORTNAME}/build +MAKE_ENV= VERBOSE="1" +CMAKE_ARGS= -DCMAKE_BUILD_TYPE=DEBUG \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} \ + -DCMAKE_C_COMPILER:STRING='${CC}' \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_COMPILER:STRING=${CXX} \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" + +post-patch: + ${MKDIR} ${WRKSRC} + +do-configure: + cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} .. + +.include <bsd.port.mk> diff --git a/math/eigen2/distinfo b/math/eigen2/distinfo new file mode 100644 index 000000000000..1a506be0ffdb --- /dev/null +++ b/math/eigen2/distinfo @@ -0,0 +1,3 @@ +MD5 (eigen-1.0.5.tar.gz) = 960d7e5fb6542270eae4d53ca99b607c +SHA256 (eigen-1.0.5.tar.gz) = 6dfc085adc22baf66fa0fde190c8cf37effadbbe62bbfea5966cfd2cc85142d6 +SIZE (eigen-1.0.5.tar.gz) = 59944 diff --git a/math/eigen2/pkg-descr b/math/eigen2/pkg-descr new file mode 100644 index 000000000000..2ff2b3b7e356 --- /dev/null +++ b/math/eigen2/pkg-descr @@ -0,0 +1,15 @@ +Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. +linear algebra. +Unlike most other linear algebra libraries, Eigen focuses on the simple +mathematical needs of applications: games and other OpenGL apps, spreadsheets +and other office apps, etc. Eigen is dedicated to providing optimal speed with +GCC. +Its fixed-size classes are specially optimized for small sizes up to 4, +although it is theoretically possible to specialize them to any size. They +never cause dynamic memory applications and the simple operations on them are +as fast as is possible at least for sizes up to 4 (see below). +Its dynamic-size classes are more flexible and suitable for larger sizes. +Both fixed-size and dynamic-size classes use the same underlying C++ code, +thanks to a curiously recurring template pattern. + +WWW: http://eigen.tuxfamily.org/ diff --git a/math/eigen2/pkg-plist b/math/eigen2/pkg-plist new file mode 100644 index 000000000000..2e8bfb9de2ce --- /dev/null +++ b/math/eigen2/pkg-plist @@ -0,0 +1,13 @@ +include/eigen/linearsolver.h +include/eigen/linearsolverbase.h +include/eigen/ludecomposition.h +include/eigen/ludecompositionbase.h +include/eigen/matrix.h +include/eigen/matrixbase.h +include/eigen/projective.h +include/eigen/util.h +include/eigen/vector.h +include/eigen/vectorbase.h +include/eigen/regressioninternal.h +include/eigen/regression.h +@dirrm include/eigen diff --git a/math/eigen3/Makefile b/math/eigen3/Makefile new file mode 100644 index 000000000000..aa602cac18ba --- /dev/null +++ b/math/eigen3/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: eigen +# Date created: 2008-01-18 +# Whom: arved +# +# $FreeBSD$ + +PORTNAME= eigen +PORTVERSION= 1.0.5 +CATEGORIES= math +MASTER_SITES= http://download.tuxfamily.org/eigen/ + +MAINTAINER= kde@FreeBSD.org +COMMENT= Lightweight library for vector and matrix math + +BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake + +CMAKE?= ${LOCALBASE}/bin/cmake +WRKSRC= ${WRKDIR}/${PORTNAME}/build +MAKE_ENV= VERBOSE="1" +CMAKE_ARGS= -DCMAKE_BUILD_TYPE=DEBUG \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} \ + -DCMAKE_C_COMPILER:STRING='${CC}' \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_COMPILER:STRING=${CXX} \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" + +post-patch: + ${MKDIR} ${WRKSRC} + +do-configure: + cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} .. + +.include <bsd.port.mk> diff --git a/math/eigen3/distinfo b/math/eigen3/distinfo new file mode 100644 index 000000000000..1a506be0ffdb --- /dev/null +++ b/math/eigen3/distinfo @@ -0,0 +1,3 @@ +MD5 (eigen-1.0.5.tar.gz) = 960d7e5fb6542270eae4d53ca99b607c +SHA256 (eigen-1.0.5.tar.gz) = 6dfc085adc22baf66fa0fde190c8cf37effadbbe62bbfea5966cfd2cc85142d6 +SIZE (eigen-1.0.5.tar.gz) = 59944 diff --git a/math/eigen3/pkg-descr b/math/eigen3/pkg-descr new file mode 100644 index 000000000000..2ff2b3b7e356 --- /dev/null +++ b/math/eigen3/pkg-descr @@ -0,0 +1,15 @@ +Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. +linear algebra. +Unlike most other linear algebra libraries, Eigen focuses on the simple +mathematical needs of applications: games and other OpenGL apps, spreadsheets +and other office apps, etc. Eigen is dedicated to providing optimal speed with +GCC. +Its fixed-size classes are specially optimized for small sizes up to 4, +although it is theoretically possible to specialize them to any size. They +never cause dynamic memory applications and the simple operations on them are +as fast as is possible at least for sizes up to 4 (see below). +Its dynamic-size classes are more flexible and suitable for larger sizes. +Both fixed-size and dynamic-size classes use the same underlying C++ code, +thanks to a curiously recurring template pattern. + +WWW: http://eigen.tuxfamily.org/ diff --git a/math/eigen3/pkg-plist b/math/eigen3/pkg-plist new file mode 100644 index 000000000000..2e8bfb9de2ce --- /dev/null +++ b/math/eigen3/pkg-plist @@ -0,0 +1,13 @@ +include/eigen/linearsolver.h +include/eigen/linearsolverbase.h +include/eigen/ludecomposition.h +include/eigen/ludecompositionbase.h +include/eigen/matrix.h +include/eigen/matrixbase.h +include/eigen/projective.h +include/eigen/util.h +include/eigen/vector.h +include/eigen/vectorbase.h +include/eigen/regressioninternal.h +include/eigen/regression.h +@dirrm include/eigen |