From a6d989b045799e9f256fc58431202a3f28173f85 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Fri, 7 Apr 2000 01:47:51 +0000 Subject: Add LinAlg, an extended C++ math library. Unfortunately, it can't be made to respect C(C,XX) or C(XX)FLAGS, according to the author. Author also requested that the distfile be hosted on *.FreeBSD.org. PR: 13124 Submitted by: Oleg --- math/linalg/Makefile | 36 ++++++++++++++++++++++++++++++++++++ math/linalg/distinfo | 1 + math/linalg/pkg-comment | 1 + math/linalg/pkg-descr | 19 +++++++++++++++++++ math/linalg/pkg-message | 11 +++++++++++ math/linalg/pkg-plist | 12 ++++++++++++ 6 files changed, 80 insertions(+) create mode 100644 math/linalg/Makefile create mode 100644 math/linalg/distinfo create mode 100644 math/linalg/pkg-comment create mode 100644 math/linalg/pkg-descr create mode 100644 math/linalg/pkg-message create mode 100644 math/linalg/pkg-plist (limited to 'math/linalg') diff --git a/math/linalg/Makefile b/math/linalg/Makefile new file mode 100644 index 000000000000..cee7161e056b --- /dev/null +++ b/math/linalg/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: LinAlg +# Version required: 4.3 +# Date created: August 25, 1999 +# Whom: Oleg Kiselyov +# +# $FreeBSD$ +# + +DISTNAME= linalg-4.3 +CATEGORIES= math +MASTER_SITES= http://people.FreeBSD.org/~will/distfiles/ + +MAINTAINER= oleg@pobox.com + +WRKSRC= ${WRKDIR}/LinAlg +ALL_TARGET= lib +INSTALL_TARGET= lib +USE_GMAKE= yes + +post-install: + $(INSTALL_DATA) ${WRKSRC}/libla.a ${PREFIX}/lib + ${MKDIR} ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/LinAlg.h ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/LAStreams.h ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/builtin.h ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/math_num.h ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/minmax.h ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/myenv.h ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/std.h ${PREFIX}/include/LinAlg + $(INSTALL_DATA) ${WRKSRC}/svd.h ${PREFIX}/include/LinAlg +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/LinAlg + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/LinAlg +.endif + +.include diff --git a/math/linalg/distinfo b/math/linalg/distinfo new file mode 100644 index 000000000000..d5beaf0b85df --- /dev/null +++ b/math/linalg/distinfo @@ -0,0 +1 @@ +MD5 (linalg-4.3.tar.gz) = b5b4d5907f60f8517532af6bc23efd01 diff --git a/math/linalg/pkg-comment b/math/linalg/pkg-comment new file mode 100644 index 000000000000..8b420c2b647a --- /dev/null +++ b/math/linalg/pkg-comment @@ -0,0 +1 @@ +C++ Linear Algebra and Optimization classlib diff --git a/math/linalg/pkg-descr b/math/linalg/pkg-descr new file mode 100644 index 000000000000..3c017af32ac4 --- /dev/null +++ b/math/linalg/pkg-descr @@ -0,0 +1,19 @@ + LinAlg -- C++ Linear Algebra and Optimization classlib + +- Matrix, Vector, subMatrices, and LAStreams over real domain; +- Matrix inverse, norms, determinant, lazy matrices, Singular Value + Decomposition (SVD) and applications, nested functions; +- Brent's univariate optimization and root finding, Hooke-Jeeves + multidimensional optimization of functors, Aitken-Lagrange interpolation; +- LinAlg stresses Matrix streams, which provide a sequential + view/access to a matrix or its parts. LABlockStreams may + span over an arbitrary rectangular block of a matrix, including the + whole matrix, a single matrix element, and all other block sizes in + between. Matrix streams are seekable and subrange-able. A stream or + a substream are always created in-line; they do not allocate any + heap storage, and are safe. +- Every feature is extensively tested in the validation code (included). + +WWW: http://pobox.com/~oleg/ftp/packages.html + +Oleg Kiselyov diff --git a/math/linalg/pkg-message b/math/linalg/pkg-message new file mode 100644 index 000000000000..3fd4fd9df0d5 --- /dev/null +++ b/math/linalg/pkg-message @@ -0,0 +1,11 @@ +Don't forget to compile and run verification/validation code: gmake check-all +or specifically, sub-targets + vmatrix vvector vmatrix1 vmatrix2 vlastreams + vali vhjmin vfminbr vzeroin + vsvd vslesing sample_ult sample_adv + +See comments in a LinAlg/Makefile for details, as well as NumMath.dr. +The verification code checks to see that all the functions in this +package have compiled and run well. The validation code can also serve +as an illustration of how package's classes and functions may be +employed. diff --git a/math/linalg/pkg-plist b/math/linalg/pkg-plist new file mode 100644 index 000000000000..3f2d828f314a --- /dev/null +++ b/math/linalg/pkg-plist @@ -0,0 +1,12 @@ +lib/libla.a +share/doc/LinAlg/README +include/LinAlg/LinAlg.h +include/LinAlg/LAStreams.h +include/LinAlg/builtin.h +include/LinAlg/math_num.h +include/LinAlg/minmax.h +include/LinAlg/myenv.h +include/LinAlg/std.h +include/LinAlg/svd.h +@dirrm share/doc/LinAlg +@dirrm include/LinAlg -- cgit v1.2.3