2 Summary: template library for linear algebra
8 Source0: http://bitbucket.org/eigen/eigen2/get/default.tar.bz2
9 # Source0-md5: b15d5cdb7b02a59eabde849412e9d0c4
10 URL: http://eigen.tuxfamily.org/index.php?title=Main_Page
11 BuildRequires: cmake >= 2.6.2
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Eigen is a C++ template library for linear algebra: vectors, matrices,
16 and related algorithms. It is:
18 - Versatile. (See modules and tutorial). Eigen handles, without code
19 duplication, and in a completely integrated way: o both fixed-size and
20 dynamic-size matrices and vectors. o both dense and sparse (the latter
21 is still experimental) matrices and vectors. o both plain
22 matrices/vectors and abstract expressions. o both column-major (the
23 default) and row-major matrix storage. o both basic matrix/vector
24 manipulation and many more advanced, specialized modules providing
25 algorithms for linear algebra, geometry, quaternions, or advanced
27 - Fast. (See benchmark). o Expression templates allow to intelligently
28 remove temporaries and enable lazy evaluation, when that is
29 appropriate -- Eigen takes care of this automatically and handles
30 aliasing too in most cases. o Explicit vectorization is performed for
31 the SSE (2 and later) and AltiVec instruction sets, with graceful
32 fallback to non-vectorized code. Expression templates allow to perform
33 these optimizations globally for whole expressions. o With fixed-size
34 objects, dynamic memory allocation is avoided, and the loops are
35 unrolled when that makes sense. o For large matrices, special
36 attention is paid to cache-friendliness.
37 - Elegant. (See API showcase). The API is extremely clean and
38 expressive, thanks to expression templates. Implementing an algorithm
39 on top of Eigen feels like just copying pseudocode. You can use
40 complex expressions and still rely on Eigen to produce optimized code:
41 there is no need for you to manually decompose expressions into small
43 - Compiler-friendy. Eigen has very reasonable compilation times at
44 least with GCC, compared to other C++ libraries based on expression
45 templates and heavy metaprogramming. Eigen is also standard C++ and
46 supports various compilers.
49 Summary: Header files for eigen2 library
50 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki eigen2
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
55 Header files for eigen2 library.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki eigen2
67 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
72 rm -rf $RPM_BUILD_ROOT
74 %{__make} -C build install \
75 DESTDIR=$RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT/%{_pkgconfigdir}
78 cp build/eigen2.pc $RPM_BUILD_ROOT/%{_pkgconfigdir}
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
88 %defattr(644,root,root,755)
89 %{_pkgconfigdir}/eigen2.pc