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 <oleg@pobox.com>
This commit is contained in:
Will Andrews 2000-04-07 01:47:51 +00:00
parent 095e4b4d73
commit a6d989b045
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27392
7 changed files with 81 additions and 0 deletions

View file

@ -28,6 +28,7 @@
SUBDIR += hexcalc
SUBDIR += lapack
SUBDIR += libranlib
SUBDIR += linalg
SUBDIR += linpack
SUBDIR += metis
SUBDIR += netcdf

36
math/linalg/Makefile Normal file
View file

@ -0,0 +1,36 @@
# New ports collection makefile for: LinAlg
# Version required: 4.3
# Date created: August 25, 1999
# Whom: Oleg Kiselyov <oleg@pobox.com>
#
# $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 <bsd.port.mk>

1
math/linalg/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (linalg-4.3.tar.gz) = b5b4d5907f60f8517532af6bc23efd01

1
math/linalg/pkg-comment Normal file
View file

@ -0,0 +1 @@
C++ Linear Algebra and Optimization classlib

19
math/linalg/pkg-descr Normal file
View file

@ -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 <oleg@pobox.com>

11
math/linalg/pkg-message Normal file
View file

@ -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.

12
math/linalg/pkg-plist Normal file
View file

@ -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