summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormarkd <markd>2013-03-17 19:37:19 +0000
committermarkd <markd>2013-03-17 19:37:19 +0000
commite10a3c634e24842b49693d88c65ea914db5727c3 (patch)
treebbfb5f1075f874349bf2831b910efd2c7312fa72 /math
parentadcfb9cbe6c21638627077f890cd1996cef8a783 (diff)
downloadpkgsrc-e10a3c634e24842b49693d88c65ea914db5727c3.tar.gz
Add eigen3 version 3.1.2
Eigen 3 is a C++ template library for linear algebra: vectors, matrices, and related algorithms.
Diffstat (limited to 'math')
-rw-r--r--math/eigen3/DESCR31
-rw-r--r--math/eigen3/Makefile25
-rw-r--r--math/eigen3/PLIST326
-rw-r--r--math/eigen3/buildlink3.mk13
-rw-r--r--math/eigen3/distinfo5
5 files changed, 400 insertions, 0 deletions
diff --git a/math/eigen3/DESCR b/math/eigen3/DESCR
new file mode 100644
index 00000000000..60e78c89451
--- /dev/null
+++ b/math/eigen3/DESCR
@@ -0,0 +1,31 @@
+Eigen 3 is a C++ template library for linear algebra: vectors, matrices, and
+related algorithms. It is:
+* Versatile. Eigen handles, without code duplication, and in a completely
+ integrated way:
+ o both fixed-size and dynamic-size matrices and vectors.
+ o both dense and sparse (the latter is still experimental) matrices and
+ vectors.
+ o both plain matrices/vectors and abstract expressions.
+ o both column-major (the default) and row-major matrix storage.
+ o both basic matrix/vector manipulation and many more advanced, specialized
+ modules providing algorithms for linear algebra, geometry, quaternions,
+ or advanced array manipulation.
+* Fast.
+ o Expression templates allow to intelligently remove temporaries and enable
+ lazy evaluation, when that is appropriate -- Eigen takes care of this
+ automatically and handles aliasing too in most cases.
+ o Explicit vectorization is performed for the SSE (2 and later) and AltiVec
+ instruction sets, with graceful fallback to non-vectorized code.
+ Expression templates allow to perform these optimizations globally for
+ whole expressions.
+ o With fixed-size objects, dynamic memory allocation is avoided, and the
+ loops are unrolled when that makes sense.
+ o For large matrices, special attention is paid to cache-friendliness.
+* Elegant. The API is extremely clean and expressive, thanks to expression
+ templates. Implementing an algorithm on top of Eigen feels like just copying
+ pseudocode. You can use complex expressions and still rely on Eigen to
+ produce optimized code: there is no need for you to manually decompose
+ expressions into small steps.
+* Compiler-friendy. Eigen has very reasonable compilation times at least with
+ GCC, compared to other C++ libraries based on expression templates and heavy
+ metaprogramming. Eigen is also standard C++ and supports various compilers.
diff --git a/math/eigen3/Makefile b/math/eigen3/Makefile
new file mode 100644
index 00000000000..57ffed51237
--- /dev/null
+++ b/math/eigen3/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2013/03/17 19:37:19 markd Exp $
+
+DISTNAME= 3.1.2
+PKGNAME= eigen3-3.1.2
+CATEGORIES= math
+MASTER_SITES= http://bitbucket.org/eigen/eigen/get/
+DIST_SUBDIR= eigen3
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://eigen.tuxfamily.org/
+COMMENT= C++ template library for linear algebra
+LICENSE= mpl-2.0
+
+USE_LANGUAGES+= c c++
+USE_CMAKE= yes
+CMAKE_ARG_PATH= ..
+CONFIGURE_DIRS= _build
+WRKSRC= ${WRKDIR}/eigen-eigen-5097c01bcdc4
+FETCH_USING= curl
+
+pre-configure:
+ ${MKDIR} ${WRKSRC}/_build
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/eigen3/PLIST b/math/eigen3/PLIST
new file mode 100644
index 00000000000..4d9d6859de7
--- /dev/null
+++ b/math/eigen3/PLIST
@@ -0,0 +1,326 @@
+@comment $NetBSD: PLIST,v 1.1 2013/03/17 19:37:19 markd Exp $
+include/eigen3/Eigen/Array
+include/eigen3/Eigen/Cholesky
+include/eigen3/Eigen/CholmodSupport
+include/eigen3/Eigen/Core
+include/eigen3/Eigen/Dense
+include/eigen3/Eigen/Eigen
+include/eigen3/Eigen/Eigen2Support
+include/eigen3/Eigen/Eigenvalues
+include/eigen3/Eigen/Geometry
+include/eigen3/Eigen/Householder
+include/eigen3/Eigen/IterativeLinearSolvers
+include/eigen3/Eigen/Jacobi
+include/eigen3/Eigen/LU
+include/eigen3/Eigen/LeastSquares
+include/eigen3/Eigen/OrderingMethods
+include/eigen3/Eigen/PaStiXSupport
+include/eigen3/Eigen/PardisoSupport
+include/eigen3/Eigen/QR
+include/eigen3/Eigen/QtAlignedMalloc
+include/eigen3/Eigen/SVD
+include/eigen3/Eigen/Sparse
+include/eigen3/Eigen/SparseCholesky
+include/eigen3/Eigen/SparseCore
+include/eigen3/Eigen/StdDeque
+include/eigen3/Eigen/StdList
+include/eigen3/Eigen/StdVector
+include/eigen3/Eigen/SuperLUSupport
+include/eigen3/Eigen/UmfPackSupport
+include/eigen3/Eigen/src/Cholesky/LDLT.h
+include/eigen3/Eigen/src/Cholesky/LLT.h
+include/eigen3/Eigen/src/Cholesky/LLT_MKL.h
+include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h
+include/eigen3/Eigen/src/Core/Array.h
+include/eigen3/Eigen/src/Core/ArrayBase.h
+include/eigen3/Eigen/src/Core/ArrayWrapper.h
+include/eigen3/Eigen/src/Core/Assign.h
+include/eigen3/Eigen/src/Core/Assign_MKL.h
+include/eigen3/Eigen/src/Core/BandMatrix.h
+include/eigen3/Eigen/src/Core/Block.h
+include/eigen3/Eigen/src/Core/BooleanRedux.h
+include/eigen3/Eigen/src/Core/CommaInitializer.h
+include/eigen3/Eigen/src/Core/CwiseBinaryOp.h
+include/eigen3/Eigen/src/Core/CwiseNullaryOp.h
+include/eigen3/Eigen/src/Core/CwiseUnaryOp.h
+include/eigen3/Eigen/src/Core/CwiseUnaryView.h
+include/eigen3/Eigen/src/Core/DenseBase.h
+include/eigen3/Eigen/src/Core/DenseCoeffsBase.h
+include/eigen3/Eigen/src/Core/DenseStorage.h
+include/eigen3/Eigen/src/Core/Diagonal.h
+include/eigen3/Eigen/src/Core/DiagonalMatrix.h
+include/eigen3/Eigen/src/Core/DiagonalProduct.h
+include/eigen3/Eigen/src/Core/Dot.h
+include/eigen3/Eigen/src/Core/EigenBase.h
+include/eigen3/Eigen/src/Core/Flagged.h
+include/eigen3/Eigen/src/Core/ForceAlignedAccess.h
+include/eigen3/Eigen/src/Core/Functors.h
+include/eigen3/Eigen/src/Core/Fuzzy.h
+include/eigen3/Eigen/src/Core/GeneralProduct.h
+include/eigen3/Eigen/src/Core/GenericPacketMath.h
+include/eigen3/Eigen/src/Core/GlobalFunctions.h
+include/eigen3/Eigen/src/Core/IO.h
+include/eigen3/Eigen/src/Core/Map.h
+include/eigen3/Eigen/src/Core/MapBase.h
+include/eigen3/Eigen/src/Core/MathFunctions.h
+include/eigen3/Eigen/src/Core/Matrix.h
+include/eigen3/Eigen/src/Core/MatrixBase.h
+include/eigen3/Eigen/src/Core/NestByValue.h
+include/eigen3/Eigen/src/Core/NoAlias.h
+include/eigen3/Eigen/src/Core/NumTraits.h
+include/eigen3/Eigen/src/Core/PermutationMatrix.h
+include/eigen3/Eigen/src/Core/PlainObjectBase.h
+include/eigen3/Eigen/src/Core/Product.h
+include/eigen3/Eigen/src/Core/ProductBase.h
+include/eigen3/Eigen/src/Core/Random.h
+include/eigen3/Eigen/src/Core/Redux.h
+include/eigen3/Eigen/src/Core/Replicate.h
+include/eigen3/Eigen/src/Core/ReturnByValue.h
+include/eigen3/Eigen/src/Core/Reverse.h
+include/eigen3/Eigen/src/Core/Select.h
+include/eigen3/Eigen/src/Core/SelfAdjointView.h
+include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h
+include/eigen3/Eigen/src/Core/SolveTriangular.h
+include/eigen3/Eigen/src/Core/StableNorm.h
+include/eigen3/Eigen/src/Core/Stride.h
+include/eigen3/Eigen/src/Core/Swap.h
+include/eigen3/Eigen/src/Core/Transpose.h
+include/eigen3/Eigen/src/Core/Transpositions.h
+include/eigen3/Eigen/src/Core/TriangularMatrix.h
+include/eigen3/Eigen/src/Core/VectorBlock.h
+include/eigen3/Eigen/src/Core/VectorwiseOp.h
+include/eigen3/Eigen/src/Core/Visitor.h
+include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h
+include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h
+include/eigen3/Eigen/src/Core/arch/Default/Settings.h
+include/eigen3/Eigen/src/Core/arch/NEON/Complex.h
+include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h
+include/eigen3/Eigen/src/Core/arch/SSE/Complex.h
+include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h
+include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h
+include/eigen3/Eigen/src/Core/products/CoeffBasedProduct.h
+include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h
+include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h
+include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h
+include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_MKL.h
+include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_MKL.h
+include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h
+include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_MKL.h
+include/eigen3/Eigen/src/Core/products/Parallelizer.h
+include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h
+include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_MKL.h
+include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h
+include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_MKL.h
+include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h
+include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h
+include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h
+include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_MKL.h
+include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h
+include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_MKL.h
+include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h
+include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_MKL.h
+include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h
+include/eigen3/Eigen/src/Core/util/BlasUtil.h
+include/eigen3/Eigen/src/Core/util/Constants.h
+include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h
+include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h
+include/eigen3/Eigen/src/Core/util/MKL_support.h
+include/eigen3/Eigen/src/Core/util/Macros.h
+include/eigen3/Eigen/src/Core/util/Memory.h
+include/eigen3/Eigen/src/Core/util/Meta.h
+include/eigen3/Eigen/src/Core/util/NonMPL2.h
+include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h
+include/eigen3/Eigen/src/Core/util/StaticAssert.h
+include/eigen3/Eigen/src/Core/util/XprHelper.h
+include/eigen3/Eigen/src/Eigen2Support/Block.h
+include/eigen3/Eigen/src/Eigen2Support/Cwise.h
+include/eigen3/Eigen/src/Eigen2Support/CwiseOperators.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/AlignedBox.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/All.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/AngleAxis.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/Hyperplane.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/ParametrizedLine.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/Quaternion.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/Rotation2D.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/RotationBase.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/Scaling.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/Transform.h
+include/eigen3/Eigen/src/Eigen2Support/Geometry/Translation.h
+include/eigen3/Eigen/src/Eigen2Support/LU.h
+include/eigen3/Eigen/src/Eigen2Support/Lazy.h
+include/eigen3/Eigen/src/Eigen2Support/LeastSquares.h
+include/eigen3/Eigen/src/Eigen2Support/Macros.h
+include/eigen3/Eigen/src/Eigen2Support/MathFunctions.h
+include/eigen3/Eigen/src/Eigen2Support/Memory.h
+include/eigen3/Eigen/src/Eigen2Support/Meta.h
+include/eigen3/Eigen/src/Eigen2Support/Minor.h
+include/eigen3/Eigen/src/Eigen2Support/QR.h
+include/eigen3/Eigen/src/Eigen2Support/SVD.h
+include/eigen3/Eigen/src/Eigen2Support/TriangularSolver.h
+include/eigen3/Eigen/src/Eigen2Support/VectorBlock.h
+include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h
+include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h
+include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_MKL.h
+include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h
+include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h
+include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h
+include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h
+include/eigen3/Eigen/src/Eigenvalues/RealSchur.h
+include/eigen3/Eigen/src/Eigenvalues/RealSchur_MKL.h
+include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h
+include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_MKL.h
+include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h
+include/eigen3/Eigen/src/Geometry/AlignedBox.h
+include/eigen3/Eigen/src/Geometry/AngleAxis.h
+include/eigen3/Eigen/src/Geometry/EulerAngles.h
+include/eigen3/Eigen/src/Geometry/Homogeneous.h
+include/eigen3/Eigen/src/Geometry/Hyperplane.h
+include/eigen3/Eigen/src/Geometry/OrthoMethods.h
+include/eigen3/Eigen/src/Geometry/ParametrizedLine.h
+include/eigen3/Eigen/src/Geometry/Quaternion.h
+include/eigen3/Eigen/src/Geometry/Rotation2D.h
+include/eigen3/Eigen/src/Geometry/RotationBase.h
+include/eigen3/Eigen/src/Geometry/Scaling.h
+include/eigen3/Eigen/src/Geometry/Transform.h
+include/eigen3/Eigen/src/Geometry/Translation.h
+include/eigen3/Eigen/src/Geometry/Umeyama.h
+include/eigen3/Eigen/src/Geometry/arch/Geometry_SSE.h
+include/eigen3/Eigen/src/Householder/BlockHouseholder.h
+include/eigen3/Eigen/src/Householder/Householder.h
+include/eigen3/Eigen/src/Householder/HouseholderSequence.h
+include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h
+include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h
+include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h
+include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h
+include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h
+include/eigen3/Eigen/src/Jacobi/Jacobi.h
+include/eigen3/Eigen/src/LU/Determinant.h
+include/eigen3/Eigen/src/LU/FullPivLU.h
+include/eigen3/Eigen/src/LU/Inverse.h
+include/eigen3/Eigen/src/LU/PartialPivLU.h
+include/eigen3/Eigen/src/LU/PartialPivLU_MKL.h
+include/eigen3/Eigen/src/LU/arch/Inverse_SSE.h
+include/eigen3/Eigen/src/OrderingMethods/Amd.h
+include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h
+include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h
+include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h
+include/eigen3/Eigen/src/QR/ColPivHouseholderQR_MKL.h
+include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h
+include/eigen3/Eigen/src/QR/HouseholderQR.h
+include/eigen3/Eigen/src/QR/HouseholderQR_MKL.h
+include/eigen3/Eigen/src/SVD/JacobiSVD.h
+include/eigen3/Eigen/src/SVD/JacobiSVD_MKL.h
+include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h
+include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h
+include/eigen3/Eigen/src/SparseCore/AmbiVector.h
+include/eigen3/Eigen/src/SparseCore/CompressedStorage.h
+include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h
+include/eigen3/Eigen/src/SparseCore/CoreIterators.h
+include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h
+include/eigen3/Eigen/src/SparseCore/SparseAssign.h
+include/eigen3/Eigen/src/SparseCore/SparseBlock.h
+include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h
+include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h
+include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h
+include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h
+include/eigen3/Eigen/src/SparseCore/SparseDot.h
+include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h
+include/eigen3/Eigen/src/SparseCore/SparseMatrix.h
+include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h
+include/eigen3/Eigen/src/SparseCore/SparsePermutation.h
+include/eigen3/Eigen/src/SparseCore/SparseProduct.h
+include/eigen3/Eigen/src/SparseCore/SparseRedux.h
+include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h
+include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h
+include/eigen3/Eigen/src/SparseCore/SparseTranspose.h
+include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h
+include/eigen3/Eigen/src/SparseCore/SparseUtil.h
+include/eigen3/Eigen/src/SparseCore/SparseVector.h
+include/eigen3/Eigen/src/SparseCore/SparseView.h
+include/eigen3/Eigen/src/SparseCore/TriangularSolver.h
+include/eigen3/Eigen/src/StlSupport/StdDeque.h
+include/eigen3/Eigen/src/StlSupport/StdList.h
+include/eigen3/Eigen/src/StlSupport/StdVector.h
+include/eigen3/Eigen/src/StlSupport/details.h
+include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h
+include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h
+include/eigen3/Eigen/src/misc/Image.h
+include/eigen3/Eigen/src/misc/Kernel.h
+include/eigen3/Eigen/src/misc/Solve.h
+include/eigen3/Eigen/src/misc/SparseSolve.h
+include/eigen3/Eigen/src/misc/blas.h
+include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h
+include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h
+include/eigen3/Eigen/src/plugins/BlockMethods.h
+include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h
+include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h
+include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h
+include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h
+include/eigen3/signature_of_eigen3_matrix_library
+include/eigen3/unsupported/Eigen/AdolcForward
+include/eigen3/unsupported/Eigen/AlignedVector3
+include/eigen3/unsupported/Eigen/AutoDiff
+include/eigen3/unsupported/Eigen/BVH
+include/eigen3/unsupported/Eigen/FFT
+include/eigen3/unsupported/Eigen/IterativeSolvers
+include/eigen3/unsupported/Eigen/KroneckerProduct
+include/eigen3/unsupported/Eigen/MPRealSupport
+include/eigen3/unsupported/Eigen/MatrixFunctions
+include/eigen3/unsupported/Eigen/MoreVectorization
+include/eigen3/unsupported/Eigen/NonLinearOptimization
+include/eigen3/unsupported/Eigen/NumericalDiff
+include/eigen3/unsupported/Eigen/OpenGLSupport
+include/eigen3/unsupported/Eigen/Polynomials
+include/eigen3/unsupported/Eigen/Skyline
+include/eigen3/unsupported/Eigen/SparseExtra
+include/eigen3/unsupported/Eigen/Splines
+include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h
+include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h
+include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h
+include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h
+include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h
+include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h
+include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h
+include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h
+include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h
+include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h
+include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h
+include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h
+include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h
+include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
+include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h
+include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunctionAtomic.h
+include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h
+include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h
+include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h
+include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h
+include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h
+include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h
+include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h
+include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h
+include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h
+include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h
+include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h
+include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h
+include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h
+include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h
+include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h
+include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h
+include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h
+include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h
+include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h
+include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h
+include/eigen3/unsupported/Eigen/src/Splines/Spline.h
+include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h
+include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h
+share/pkgconfig/eigen3.pc
diff --git a/math/eigen3/buildlink3.mk b/math/eigen3/buildlink3.mk
new file mode 100644
index 00000000000..402aef78ccf
--- /dev/null
+++ b/math/eigen3/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/03/17 19:37:19 markd Exp $
+
+BUILDLINK_TREE+= eigen3
+
+.if !defined(EIGEN3_BUILDLINK3_MK)
+EIGEN3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.eigen3+= eigen3>=3.1.2
+BUILDLINK_PKGSRCDIR.eigen3?= ../../math/eigen3
+BUILDLINK_DEPMETHOD.eigen3?= build
+.endif # EIGEN3_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -eigen3
diff --git a/math/eigen3/distinfo b/math/eigen3/distinfo
new file mode 100644
index 00000000000..b23727987ec
--- /dev/null
+++ b/math/eigen3/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/03/17 19:37:19 markd Exp $
+
+SHA1 (eigen3/3.1.2.tar.bz2) = b788877a4d4b1685ee2a5d738a65b04b6a21ff3d
+RMD160 (eigen3/3.1.2.tar.bz2) = 6bfb07d444445b36fb6aa0e9ff0108bb69b67f10
+Size (eigen3/3.1.2.tar.bz2) = 1052120 bytes