summaryrefslogtreecommitdiff
path: root/math/eigen2
AgeCommit message (Collapse)AuthorFilesLines
2009-08-04Update eigen2 to 2.0.4.markd3-10/+16
Changes unknown.
2009-06-14Remove @dirrm entries from PLISTsjoerg1-18/+1
2009-04-06Update eigen2 to 2.0.0markd4-34/+25
Release version. Cleans up alignment issues.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-01-27Update eigen2 to 2.0-beta6markd4-29/+24
changes unspecified - better handling of systems without posix_memalign.
2009-01-11posix_memalign() only in recent NetBSD's so use malloc() instead.markd3-22/+22
2009-01-11Use posix_memalign() on NetBSD. Bump PKGREVISION.markd3-2/+26
2009-01-10Initial import of eigen 2.0beta5markd5-0/+200
Eigen 2 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.