Place the .cmd files where ever you wish. Make sure the DLL is in your LIBPATH or the directory in which you try to execute the programs. Type the program name without any parameters will provide help.
REXX must be installed on your system.
__________________________
Program descriptions:
1. Convolution.cmd convolves a square kernel with a rectangular array of data.
2. CurveFit2.cmd computes an nth order polynomial for a table of x,y values.
3. SurfaceFit1.cmd computes a polynomial of degree 1 for n dimensions, given x1, x2, x3, ... y.
Both CurveFit2 and SurfaceFit1 use the Gauss-Jordan algorithm to perform least squares fits as outlined in Numerical Recipes. The implementations were done in an attempt to make generic subroutines, Therefore they work, but are relatively slow. For my purposes though they are still plenty fast enough. The approach is also rather brute force. Numeric stability is potential problem, especially with surface fitting. This can be greatly improved by increasing the numeric precision, for which see the comments internal to the code. I am aware that there are also several techniques and approaches which are generally superior to the Gauss-Jordan, but I didn't code them (yet). If anyone would like to share such implementations, please let me know.
I cannot warrant these programs in anyway. They serve my needs. They are not intended to be "industrial strength" tools. If you have comments please feel free to send them. As far as changing the format of the output, I am not likely to do this. I assume someone who needs such changes can spend a little time and modify the formating statements, which is why I provide these as .cmd files rather than as .exe. (After all, I've done the lion's share of the work, now it is your turn. :-) )
I note that often the output of these programs can be lengthy and wide. Therefore running them under PMRexx may be very useful.
__________________________
Copyrights:
Copyright by Doug Rickman, GHCC/MSFC/NASA 1998.
REXXLIB is copyrighted software belonging to Quercus Systems and is included with this software by permission of Quercus Systems. Users of these programs are not permitted to use REXXLIB except in conjunction with your product. Any further use by an end user (except for evaluation) requires purchase of at least a basic registration.