freebsd-ports/math
Greg Lewis 9404716e92 Add a port of ndiff:
ndiff is a utility for comparing putatively similar files, ignoring small
numeric differences.  The utility is written by Nelson H.  F. Beebe and
covered by the GNU General Public License (GPL), version 2.  It may be
built with arbitrary precision support (more powerful) or using built-in
floating point precision, see Makefile.

Assessing the consistency of a numerical program run in multiple
environments (operating systems, architectures, or compilers) can be a
difficult task for a human, as small differences in numerical output values
are expected.  File differencing utilites, such as diff(1), will generally
produce voluminous output, often longer than the original files.

ndiff solves this problem. Taking two two text files expected to be
identical, or at least numerically similar, it allows to specify absolute
and/or relative error tolerances for differences between numerical values
in the two files, and then reports only the lines with values exceeding
those tolerances.  It also tells by how much they differ. A simple example:

% ndiff --relative-error 1.0e-3 test019.txt.1 test019.txt.2
### Maximum relative error in matching lines = 8.64e-51 at line 129 field 4

WWW: http://www.math.utah.edu/~beebe/software/ndiff/

I've cleaned up the submitted version a little.

PR:		62221
Submitted by:	Stefan A. Deutscher <sad@mailaps.org>
2004-02-18 22:02:39 +00:00
..
abs Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
add SIZEify. 2004-01-29 16:13:06 +00:00
algae - Update to 4.3.0 2003-11-22 17:36:04 +00:00
apc Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
arpack SIZEify. 2004-01-29 16:13:06 +00:00
arpack++ Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
asir2000 - Update to version 20040214 2004-02-13 21:19:23 +00:00
atlas math/atlas should not LIB_DEPENDS on math/lapack. 2004-02-01 02:04:48 +00:00
atlas-devel 1) possible build fix on ia64 archs 2004-02-01 06:55:14 +00:00
bamg Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
biggles SIZEify. 2004-01-29 16:13:06 +00:00
bihar
blacs Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
blas SIZEify. 2004-01-29 16:13:06 +00:00
blitz++ Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
calc
calcoo Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
calctool SIZEify. 2004-01-29 16:13:06 +00:00
ccmath SIZEify. 2004-01-29 16:13:06 +00:00
clarence Use PLIST_FILES. 2004-02-05 20:38:07 +00:00
cln Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
concorde
cxsc Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
dcdflib
diehard
dislin Update to 8.2. 2004-02-17 12:58:26 +00:00
djbfft USE_SIZEify 2004-02-08 01:14:05 +00:00
drgeo Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
eispack
emc2 Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
entropy Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
eukleides Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
eval Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
fbm SIZEify. 2004-01-29 16:13:06 +00:00
femlab SIZEify. 2004-01-29 16:13:06 +00:00
fftpack
fftw Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
fftw3 Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
freefem SIZEify. 2004-01-29 16:13:06 +00:00
freefem++ Update to 1.38 2004-02-11 17:34:01 +00:00
fudgit Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
fung-calc Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
fxt Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
galculator Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
gambit Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
gap SIZEify. 2004-01-29 16:13:06 +00:00
gcalctool Update to 4.3.44 2004-02-14 01:35:24 +00:00
gdcalc Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
geg Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
gexpr Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
GiNaC Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
glgraph SIZEify. 2004-01-29 16:13:06 +00:00
glove Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
glpk Update to version 4.0. 2003-06-10 05:20:00 +00:00
gmp Switch to my @FreeBSD.org email address. 2004-01-18 10:50:15 +00:00
gnumeric Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
gnumeric2 Update to 1.2.6. 2004-02-08 00:54:28 +00:00
gnuplot Chase print/pdflib version bump 2003-09-26 23:39:37 +00:00
gnuplot+ Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
goblin Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
grace BROKEN on 5.x: does not compile 2004-02-17 10:43:25 +00:00
gracetmpl Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
graphthing Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
gretl Update to 1.2.2. See ChangeLog for complete list of bugfixes. New features: 2004-02-07 04:42:47 +00:00
gri SIZEify. 2004-01-29 16:13:06 +00:00
grpn Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
gsl SIZEify. 2004-01-29 16:13:06 +00:00
guppi Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
hexcalc Use PLIST_FILES. 2004-02-05 20:38:07 +00:00
it++ Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
itl SIZEify. 2004-01-29 16:13:06 +00:00
jacal Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
jama SIZEify. 2004-01-29 16:13:06 +00:00
javanns Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 13:30:42 +00:00
kaskade SIZEify. 2004-01-29 16:13:06 +00:00
kcalc Enable kdepasswd, depend on kdebase, fix plist.bas*, bump PORTREVISION. 2004-02-09 22:15:11 +00:00
koctave Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
kseg - Fix build on 5.x 2003-11-30 18:13:43 +00:00
lapack
lapack++
libgmp4 Switch to my @FreeBSD.org email address. 2004-01-18 10:50:15 +00:00
libgmp-freebsd Add NO_LATEST_LINK=yes. 2004-02-06 11:17:41 +00:00
libneural SIZEify. 2004-01-29 16:13:06 +00:00
librandlib Fix build after recent sys.mk changes 2003-08-04 11:17:56 +00:00
libranlib Fix build after recent sys.mk changes 2003-08-04 11:17:56 +00:00
linalg Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
linpack
linux-dislin Update to 8.2. 2004-02-17 12:58:26 +00:00
linux-relview
lp_solve Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
matrix ports with possibly unreachable MAINTAINERs 2003-11-02 03:36:45 +00:00
maxima Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
metis SIZEify. 2004-01-29 16:13:06 +00:00
metis4 SIZEify. 2004-01-29 16:13:06 +00:00
metis-edf SIZEify. 2004-01-29 16:13:06 +00:00
mpexpr new port for mpexpr 2003-10-06 02:43:46 +00:00
mprime USE_SIZEify 2004-02-08 01:14:05 +00:00
mtl SIZEify. 2004-01-29 16:13:06 +00:00
mtrxmath SIZEify. 2004-01-29 16:13:06 +00:00
mupad BROKEN: Checksum mismatch. This port is scheduled for removal on April 16 2004-02-16 23:31:49 +00:00
naturalmath
nauty
ndiff Add a port of ndiff: 2004-02-18 22:02:39 +00:00
netcdf fix build on current 2004-02-07 13:54:10 +00:00
newmat Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
ngraph Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
nsc2ke - Add another master site 2004-02-02 07:57:38 +00:00
ntl Update to 5.3.1 2003-05-19 00:04:17 +00:00
octave Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
octave-devel Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
oleo BROKEN on 5.x: does not compile 2004-02-07 23:29:51 +00:00
p5-AI-DecisionTree Add p5-AI-DecisionTree 0.08, perl module for Automatically Learning 2003-12-28 00:19:45 +00:00
p5-AI-NeuralNet-BackProp SIZEify. 2004-01-29 16:13:06 +00:00
p5-AI-NeuralNet-Mesh SIZEify. 2004-01-29 16:13:06 +00:00
p5-AI-Perceptron SIZEify. 2004-01-29 16:13:06 +00:00
p5-Bit-ShiftReg SIZEify. 2004-01-29 16:13:06 +00:00
p5-Bit-Vector utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Chart-Math-Axis Updated to 0.2 2003-12-08 17:29:11 +00:00
p5-Date-Handler PR: 52286 2003-06-21 06:00:59 +00:00
p5-Graph utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Math-Base85 Update to 0.2 2003-10-02 16:50:02 +00:00
p5-Math-BaseCalc utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Math-Bezier SIZEify. 2004-01-29 16:13:06 +00:00
p5-Math-BigInt Update to 1.69. 2004-02-11 09:43:55 +00:00
p5-Math-BigIntFast SIZEify. 2004-01-29 16:13:06 +00:00
p5-Math-Calc-Units utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Math-Currency Add SIZE field 2004-01-29 13:37:55 +00:00
p5-Math-Expr USE_SIZEify 2004-02-08 01:14:05 +00:00
p5-Math-FFT USE_SIZEify 2004-02-08 01:14:05 +00:00
p5-Math-FixedPrecision SIZEify. 2004-01-29 16:13:06 +00:00
p5-Math-GMP Add SIZE field 2004-01-29 13:37:55 +00:00
p5-Math-GSL SIZEify. 2004-01-29 16:13:06 +00:00
p5-Math-Interpolate USE_SIZEify 2004-02-08 01:14:05 +00:00
p5-Math-LinearCombination Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 13:30:42 +00:00
p5-Math-Logic USE_SIZEify 2004-02-08 01:14:05 +00:00
p5-Math-Pari Unbreak in the case you did not have -O in your CFLAGS 2003-08-26 05:30:07 +00:00
p5-Math-Random Updated to 0.67 2003-05-17 12:20:30 +00:00
p5-Math-Random-MT utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Math-Round SIZEify. 2004-01-29 16:13:06 +00:00
p5-Math-SimpleVariable Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 13:30:42 +00:00
p5-Math-TrulyRandom utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-MatrixReal Update to 1.9. 2003-07-06 04:29:38 +00:00
p5-NetCDF - Add missed dependency on Perl 2004-01-31 13:59:36 +00:00
p5-Number-Compare Add p5-Number-Compare 0.01, numeric comparisons. 2003-05-19 15:31:58 +00:00
p5-Roman o Fix installation on bento 2004-02-17 12:00:18 +00:00
p5-Set-IntSpan utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Set-Window utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Statistics-ChiSquare Update to 0.5. 2003-12-17 09:33:25 +00:00
p5-Statistics-Contingency Add p5-Statistics-Contingency 0.06, 2004-01-03 09:20:28 +00:00
p5-Statistics-Descriptive utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Statistics-Distributions Update to 1.02. 2003-12-17 09:47:27 +00:00
p5-Statistics-LTU utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Statistics-OLS utilize SITE_PERL 2003-10-24 12:05:09 +00:00
p5-Statistics-Table-F utilize SITE_PERL 2003-10-24 12:05:09 +00:00
pari Fix build on AMD64 2004-02-17 12:59:08 +00:00
pari-devel Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
parmetis Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
physcalc SIZEify. 2004-01-29 16:13:06 +00:00
pkg
ploticus Add conflicts 2004-02-02 11:17:04 +00:00
ploticus-nox11 math/ploticus-nox11, a slaveport of math/ploticus 2003-10-10 11:49:43 +00:00
plplot - Update to version 5.3.0 2004-02-10 15:39:09 +00:00
pspp SIZEify. 2004-01-29 16:13:06 +00:00
py-fpconst Add py-fpconst 0.6.0, utilities for handling IEEE 754 floating 2003-10-07 20:00:53 +00:00
py-gato Update to 0.98J: add animations. Informed maintainer. 2004-02-17 07:39:42 +00:00
py-gnuplot SIZEify. 2004-01-29 16:13:06 +00:00
py-gsl - Chase libraries to actual math/gsl version. 2003-10-12 21:57:01 +00:00
py-mpz Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
py-numarray Update to 0.8 2003-12-20 03:37:56 +00:00
py-numeric Upgrade to 23.1. 2003-12-17 10:04:16 +00:00
py-numeric17
py-probstat Use PLIST_FILES. 2004-02-05 20:38:07 +00:00
py-scientific Correct MASTER_SITES. 2003-07-10 07:00:28 +00:00
qscanplot Use QT3 instead of QT2. 2004-02-17 13:40:10 +00:00
R BROKEN on 5.x: broken pkg-plist 2004-02-09 01:41:12 +00:00
R-a4 add CONFLICTS 2003-11-06 14:37:33 +00:00
R-letter BROKEN on 5.x: broken pkg-plist 2004-02-09 01:41:12 +00:00
R-project BROKEN on 5.x: broken pkg-plist 2004-02-09 01:41:12 +00:00
randlib Fix build after recent sys.mk changes 2003-08-04 11:17:56 +00:00
rascal Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
rcalc Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
rpc Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
rpy SIZEify. 2004-01-29 16:13:06 +00:00
rpy2 SIZEify. 2004-01-29 16:13:06 +00:00
ruby-algebra
ruby-bitset Add ruby-bitset, a(nother) bit set library for Ruby. 2003-08-27 17:24:06 +00:00
ruby-bitvector
ruby-gmp Add ruby-gmp (libgmp-ruby), Ruby bindings to GNU Multiprecision 2003-08-22 23:27:47 +00:00
ruby-gnuplot
ruby-math3d Update to 0.0.4 and fix new compiler error. (wrong cpp syntax) 2003-10-14 21:40:34 +00:00
ruby-narray Update to 0.5.7p1 which now supports ruby 1.8. 2004-02-17 03:44:48 +00:00
ruby-netcdf Update to 0.5.3 2004-02-17 03:53:44 +00:00
sc
scalapack Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
scigraphica Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
scilab Update to handle tk8.4. 2003-12-09 02:22:27 +00:00
sdpa Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
slsc Make portlint(1) happy by changing strip to ${STRIP_CMD} 2003-09-24 09:37:11 +00:00
snns
solitaire
spar SIZEify. 2004-01-29 16:13:06 +00:00
spooles Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
spooles-mpich Add dependency for gmake 2003-06-30 19:11:53 +00:00
ss SIZEify. 2004-01-29 16:13:06 +00:00
superlu - Unbreak checksum, user guide was updated to October 2003 revision. 2003-12-07 02:35:13 +00:00
superlu_mt SIZEify. 2004-01-29 16:13:06 +00:00
surf Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
taucs SIZEify. 2004-01-29 16:13:06 +00:00
thx_1138 Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
topaz SIZEify. 2004-01-29 16:13:06 +00:00
tvmet SIZEify. 2004-01-29 16:13:06 +00:00
umatrix Use PLIST_FILES. 2004-02-05 20:38:07 +00:00
umfpack SIZEify. 2004-01-29 16:13:06 +00:00
units - Fix build with gcc 3.3 2003-12-03 19:49:19 +00:00
unixstat Bento fix: convert the pre-fetch test for the existance of the 2004-02-09 10:33:10 +00:00
vecfem Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
vtk During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk5 During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk43 During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk43-headers During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk-data During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk-examples During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk-headers During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk-java During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk-python During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
vtk-tcl During building executables on FreeBSD 4.X the "undefined reference to 2004-02-13 03:53:48 +00:00
wingz SIZEify. 2004-01-29 16:13:06 +00:00
wingz3
wmcalc Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
xgfe Set USE_GCC=2.95 to fix build on 5.x. Mark musicbox and icqnix as BROKEN 2003-08-10 06:44:43 +00:00
xgobi - Unbreak on 5.x (gcc 3.3 preprocessor) 2003-12-01 20:36:12 +00:00
xgraph
xldlas SIZEify. 2004-01-29 16:13:06 +00:00
xlispstat SIZEify. 2004-01-29 16:13:06 +00:00
xplot Upgrade to 0.90.7.1, which contains the patches from the port and 2004-02-02 02:07:35 +00:00
xspread SIZEify. 2004-01-29 16:13:06 +00:00
xwpl SIZEify. 2004-01-29 16:13:06 +00:00
yacas Bump PORTREVISION on all ports that depend on gettext to aid with upgrading. 2004-02-04 05:10:27 +00:00
Makefile Add a port of ndiff: 2004-02-18 22:02:39 +00:00