diff options
author | jtb <jtb@pkgsrc.org> | 2003-04-29 23:52:25 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2003-04-29 23:52:25 +0000 |
commit | a2a9a6842a48f80d642840bad500ce085c1edff0 (patch) | |
tree | 4767c81281dbc938b2807402c94558a014160a26 /math/mtl | |
parent | 329262cd9b925225af1e5014d3d629571328f289 (diff) | |
download | pkgsrc-a2a9a6842a48f80d642840bad500ce085c1edff0.tar.gz |
Initial import of mtl.
The Matrix Template Library is a C++ class library for basic linear
algebra. The MTL is designed for high-performance while at the same
time taking advantage of the generic programming paradigm (ala the
STL) to allow much greater flexibility and breadth of
functionality. Many new and advanced programming techniques were used
in the construction of this library.
The MTL is a low level library in the sense that the user must be
conscious of the matrix type being used, and that all computationally
expensive operations are explicit. The MTL is not a C++
Matlab. Nevertheless, the interface is designed to be simple and easy
to use.
The matrix types provided include compressed sparse row/column,
banded, packed, diagonal (and tridiagonal), envelope, array of
pointers, and of course dense matrices. All matrix types share a
common and easy to use interface.
The algorithms consist of the traditional basic linear algebra
routines (from the BLAS level-1 to 3) which includes matrix and vector
arithmetic as well as operations such as backward substitution and
norm calculations.
Diffstat (limited to 'math/mtl')
-rw-r--r-- | math/mtl/DESCR | 22 | ||||
-rw-r--r-- | math/mtl/Makefile | 23 | ||||
-rw-r--r-- | math/mtl/PLIST | 139 | ||||
-rw-r--r-- | math/mtl/distinfo | 4 |
4 files changed, 188 insertions, 0 deletions
diff --git a/math/mtl/DESCR b/math/mtl/DESCR new file mode 100644 index 00000000000..a06a018443c --- /dev/null +++ b/math/mtl/DESCR @@ -0,0 +1,22 @@ +The Matrix Template Library is a C++ class library for basic linear +algebra. The MTL is designed for high-performance while at the same +time taking advantage of the generic programming paradigm (ala the +STL) to allow much greater flexibility and breadth of +functionality. Many new and advanced programming techniques were used +in the construction of this library. + +The MTL is a low level library in the sense that the user must be +conscious of the matrix type being used, and that all computationally +expensive operations are explicit. The MTL is not a C++ +Matlab. Nevertheless, the interface is designed to be simple and easy +to use. + +The matrix types provided include compressed sparse row/column, +banded, packed, diagonal (and tridiagonal), envelope, array of +pointers, and of course dense matrices. All matrix types share a +common and easy to use interface. + +The algorithms consist of the traditional basic linear algebra +routines (from the BLAS level-1 to 3) which includes matrix and vector +arithmetic as well as operations such as backward substitution and +norm calculations. diff --git a/math/mtl/Makefile b/math/mtl/Makefile new file mode 100644 index 00000000000..9c351b36f45 --- /dev/null +++ b/math/mtl/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/29 23:52:25 jtb Exp $ + +DISTNAME= mtl-2.1.2-21 +CATEGORIES= math devel +MASTER_SITES= http://www.osl.iu.edu/download/research/mtl/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.osl.iu.edu/research/mtl/ +COMMENT= Matrix Template Library + +USE_BUILDLINK2= yes +GNU_CONFIGURE= yes +NO_BUILD= yes + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mtl + ${INSTALL_DATA} ${WRKSRC}/contrib/examples/*.cc \ + ${PREFIX}/share/examples/mtl + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtl + cd ${WRKSRC} && ${INSTALL_DATA} INSTALL LICENSE README \ + ${PREFIX}/share/doc/mtl + +.include "../../mk/bsd.pkg.mk" diff --git a/math/mtl/PLIST b/math/mtl/PLIST new file mode 100644 index 00000000000..3dd41befb55 --- /dev/null +++ b/math/mtl/PLIST @@ -0,0 +1,139 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/29 23:52:26 jtb Exp $ +include/mtl/abs.h +include/mtl/array2D.h +include/mtl/banded_indexer.h +include/mtl/bare_bones_array.h +include/mtl/blais.h +include/mtl/blas_interface.h +include/mtl/block1D.h +include/mtl/block2D.h +include/mtl/compressed1D.h +include/mtl/compressed2D.h +include/mtl/compressed_iter.h +include/mtl/conj.h +include/mtl/cplx_dbldbl.h +include/mtl/dense1D.h +include/mtl/dense2D.h +include/mtl/dense_iterator.h +include/mtl/diagonal_indexer.h +include/mtl/dim_calc.h +include/mtl/dimension.h +include/mtl/dumptofile.h +include/mtl/elt.h +include/mtl/entry.h +include/mtl/envelope2D.h +include/mtl/external_vector.h +include/mtl/fast.h +include/mtl/harwell_boeing_stream.h +include/mtl/initialize.h +include/mtl/iohb.h +include/mtl/iterator_adaptor.h +include/mtl/lapack_interface.h +include/mtl/light1D.h +include/mtl/light_matrix.h +include/mtl/linalg_vec.h +include/mtl/lu.h +include/mtl/matlabio.h +include/mtl/matrix.h +include/mtl/matrix_implementation.h +include/mtl/matrix_market_stream.h +include/mtl/matrix_stream.h +include/mtl/matrix_traits.h +include/mtl/meta_equal.h +include/mtl/meta_if.h +include/mtl/mmio.h +include/mtl/mtl.h +include/mtl/mtl2lapack.h +include/mtl/mtl_algo.h +include/mtl/mtl_complex.h +include/mtl/mtl_config.h +include/mtl/mtl_exception.h +include/mtl/mtl_iterator.h +include/mtl/mtl_limits.h +include/mtl/mtl_set.h +include/mtl/norm.h +include/mtl/not_at.h +include/mtl/oned_part.h +include/mtl/orien.h +include/mtl/partition.h +include/mtl/rect_indexer.h +include/mtl/refcnt_ptr.h +include/mtl/reverse_iter.h +include/mtl/scale_iterator.h +include/mtl/scaled1D.h +include/mtl/scaled2D.h +include/mtl/sparse1D.h +include/mtl/sparse_iterator.h +include/mtl/strided1D.h +include/mtl/strided_iterator.h +include/mtl/transform_iterator.h +include/mtl/uplo.h +include/mtl/utils.h +share/doc/mtl/INSTALL +share/doc/mtl/LICENSE +share/doc/mtl/README +share/examples/mtl/abs_sum.cc +share/examples/mtl/apply_givens.cc +share/examples/mtl/array2D.cc +share/examples/mtl/banded_matmat.cc +share/examples/mtl/banded_matvec_mult.cc +share/examples/mtl/banded_view_test.cc +share/examples/mtl/blocked_matrix.cc +share/examples/mtl/blocked_vector.cc +share/examples/mtl/dot_prod.cc +share/examples/mtl/euclid_norm.cc +share/examples/mtl/external_matrix.cc +share/examples/mtl/gather_scatter.cc +share/examples/mtl/gecon.cc +share/examples/mtl/geequ.cc +share/examples/mtl/geev.cc +share/examples/mtl/general_matvec_mult.cc +share/examples/mtl/getrf.cc +share/examples/mtl/kiester_geev.cc +share/examples/mtl/lu_factorization.cc +share/examples/mtl/lu_solve.cc +share/examples/mtl/max_index.cc +share/examples/mtl/neg_stride.cc +share/examples/mtl/partition.cc +share/examples/mtl/range.cc +share/examples/mtl/rank_1_gen_mat.cc +share/examples/mtl/rank_1_symm_sparse.cc +share/examples/mtl/rank_one.cc +share/examples/mtl/resize.cc +share/examples/mtl/sparse_copy.cc +share/examples/mtl/sparse_matrix.cc +share/examples/mtl/sparse_mult.cc +share/examples/mtl/sparse_mult_col.cc +share/examples/mtl/sparse_tri_solve.cc +share/examples/mtl/sparse_vec_prod.cc +share/examples/mtl/subrange_vector.cc +share/examples/mtl/swap_rows.cc +share/examples/mtl/symm_banded_vec_prod.cc +share/examples/mtl/symm_matvec_mult.cc +share/examples/mtl/symm_packed_vec_prod.cc +share/examples/mtl/symm_sparse_vec_prod.cc +share/examples/mtl/trans_mult.cc +share/examples/mtl/transpose.cc +share/examples/mtl/tri_band_sol.cc +share/examples/mtl/tri_band_vect.cc +share/examples/mtl/tri_matvec_mult.cc +share/examples/mtl/tri_pack_sol.cc +share/examples/mtl/tri_pack_vect.cc +share/examples/mtl/tri_solve.cc +share/examples/mtl/vec_copy.cc +share/examples/mtl/vec_max.cc +share/examples/mtl/vec_max_index.cc +share/examples/mtl/vec_min.cc +share/examples/mtl/vec_scale.cc +share/examples/mtl/vec_two_norm.cc +share/examples/mtl/vecvec_add.cc +share/examples/mtl/vecvec_add3.cc +share/examples/mtl/vecvec_copy.cc +share/examples/mtl/vecvec_dot.cc +share/examples/mtl/vecvec_ele_div.cc +share/examples/mtl/vecvec_ele_mult.cc +share/examples/mtl/vecvec_swap.cc +share/examples/mtl/y_ax_y.cc +@dirrm share/examples/mtl +@dirrm share/doc/mtl +@dirrm include/mtl
\ No newline at end of file diff --git a/math/mtl/distinfo b/math/mtl/distinfo new file mode 100644 index 00000000000..caba405d710 --- /dev/null +++ b/math/mtl/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/04/29 23:52:26 jtb Exp $ + +SHA1 (mtl-2.1.2-21.tar.gz) = 4be1d02ae39a20a4e28931f619e4f77bdebfa784 +Size (mtl-2.1.2-21.tar.gz) = 273258 bytes |