NUMERICAL RECIPES PASCAL DISKETTE V1.0 --------- ------- ------ -------- ----

advertisement
NUMERICAL RECIPES PASCAL DISKETTE V1.0
--------- ------- ------ -------- ---The entire contents of this diskette are
Copyright (C) 1985 by Numerical Recipes Software
P.O. Box 243, Cambridge, MA 02238
Unauthorized reproduction is strictly prohibited.
Please read this document completely before attempting to use the
NUMERICAL RECIPES PASCAL DISKETTE. Your use of any programs on this
diskette constitutes acceptance of the terms of the DISCLAIMER OF
WARRANTY,
which is given in full at the end of this document.
WHAT IS THIS DISKETTE?
This diskette contains machine-readable PASCAL procedures from the
book "Numerical Recipes: The Art of Scientific Computing" published by
Cambridge University Press (1985). If you do not have the book, this
diskette will not be very useful to you, since the procedure versions on
this diskette do not repeat the book's explanations or line-by-line
program
comments. Details on how to order the book and other items are given at
the end of this document.
WHAT PROCEDURES ARE ON THIS DISKETTE?
All 203 procedures listed in "Numerical Recipes: The Art of
Scientific
Computing" are included as PASCAL source code on this diskette. A
complete
listing of their titles is in the file NAMES.DOC on this diskette.
WHAT VERSION OF PASCAL IS USED?
The procedures on this diskette have been validated to work with
several different versions of PASCAL. The recommended implementation for
IBM PC and compatibles is TURBO PASCAL, version 2.0 or later, by Borland
International. Also on IBM PC, the procedures will run under UCSD Pascal
with the UCSD p-system operating system.
For compatibility with other versions of PASCAL, some procedures on
this diskette assume that the TYPE double, the FUNCTION sngl(x), and the
PROCEDURE glopen(infile, filename) have been globally defined in any
program that you write. For TURBO PASCAL, you can embed the following
definitions in your program when they are needed:
TYPE double = real; char12 = string[12];
FUNCTION sngl(x:real):real; BEGIN sngl := x END;
PROCEDURE glopen(VAR infile:text; filename:char12);
BEGIN assign(infile,filename); reset(infile) END;
The above lines of code are on this diskette in the file MODFILE.PAS,
and you can include them in your program using an "include" compiler
directive (see your PASCAL manual for details). For further details, and
for other PASCAL implementations, consult the introduction to the chapter
"Numerical Recipes in Pascal" in "Numerical Recipes: The Art of
Scientific
Computing."
HOW DO YOU ACCESS THE PROGRAMS?
This diskette has one "hidden" subdirectory: The subdirectory
\RECIPES contains the 203 procedures, all with names of the format *.PAS.
For example, if this diskette is in drive A:, you can copy the
subroutine BCUCOF to your working directory by the command
COPY A:\RECIPES\BCUCOF.PAS <enter>
where <enter> denotes the enter or return key. If you want to copy all
the
program files, e.g. to a hard disk, you can do this by the command
COPY A:\RECIPES\*.* <enter>
This will take some time, since the number of files is large. Also note
that most hard disks have a minimum file block size of 4096 bytes. Since
most of the files are much shorter than that, the programs on this
diskette
will occupy substantially more space on a hard disk. We recommend that
you
create a backup copy of this diskette using the DISKCOPY command, then
copy
individual programs to your working directory only as you need them.
WHAT DO YOU DO IF YOU NEED HELP?
If you believe that this diskette is defective in manufacture,
return
it to the place of purchase for replacement, or contact Cambridge
University Press at the address given below.
For technical questions or assistance, write to Numerical Recipes
Software, P.O. Box 243, Cambridge, MA 02238. Please note, however, that
the programs on this diskette are sold "as is" (see DISCLAIMER OF
WARRANTY
below). The authors of NUMERICAL RECIPES are interested in receiving
reports of bugs, but they cannot guarantee to correct them on any fixed
schedule. User satisfaction is important to authors and publisher,
however, so you should not hesitate to make your comments or problems
known.
RELATED PRODUCTS AND HOW TO ORDER THEM:
Published by Cambridge University Press:
"Numerical Recipes: The Art of Scientific Computing"
by William H. Press, Brian P. Flannery, Saul A. Teukolsky,
and William T. Vetterling
(textbook and reference containing all explanations
of PASCAL procedures and FORTRAN subroutines)
"Numerical Recipes Example Book (Pascal)" by William T. Vetterling,
Saul A. Teukolsky, William H. Press, and Brian P. Flannery
(sample program listings in the Pascal language
demonstrating the use of each NUMERICAL RECIPES procedure)
"Numerical Recipes Example Book (FORTRAN)" by William T. Vetterling,
Saul A. Teukolsky, William H. Press, and Brian P. Flannery
(sample program listings in the FORTRAN language
demonstrating the use of each NUMERICAL RECIPES subroutine)
To order the above items, write or call Cambridge University Press, 510
North Avenue, New Rochelle, New York 10801, Tel. (800) 431-1580 (outside
of
Canada and New York), (914) 235-0300 (in Canada and New York); or contact
your local bookstore.
Also published by Cambridge University Press:
NUMERICAL RECIPES PASCAL DISKETTE --this diskette-(Pascal procedures as listed in "Numerical Recipes: The Art
of Scientific Computing" in machine-readable form)
NUMERICAL RECIPES EXAMPLE DISKETTE (PASCAL)
(demonstration programs in the Pascal language as listed in
"Numerical Recipes Example Book (Pascal)" in machine-readable
form)
NUMERICAL RECIPES FORTRAN DISKETTE
(FORTRAN subroutines as listed in "Numerical Recipes: The Art
of Scientific Computing" in machine-readable form)
NUMERICAL RECIPES EXAMPLE DISKETTE (FORTRAN)
(demonstration programs in the FORTRAN language as listed in
"Numerical Recipes Example Book (FORTRAN)" in machine-readable
form)
To order the above items, write or call Cambridge University Press, 510
North Avenue, New Rochelle, New York 10801, Tel. (800) 431-1580 (outside
of
Canada and New York), (914) 235-0300 (in Canada and New York); or write
Numerical Recipes Software, P.O. Box 243, Cambridge, MA 02238.
Published by Numerical Recipes Software:
NUMERICAL RECIPES UCSD p-SYSTEM DISKETTE (UCSD PASCAL)
(PASCAL procedures from "Numerical Recipes: The Art
of Scientific Computing" for IBM/PCs using the UCSD
p-system operating system)
NUMERICAL RECIPES MACINTOSH DISKETTE (PASCAL)
(PASCAL procedures from "Numerical Recipes: The Art
of Scientific Computing" for Apple MacIntosh)
NUMERICAL RECIPES OBJECT FILE DISKETTE (FORTRAN)
(FORTRAN subroutines from "Numerical Recipes: The Art
of Scientific Computing" as .OBJ files)
NUMERICAL RECIPES VAX INSTALLATION MAGNETIC TAPE (FORTRAN)
(FORTRAN subroutines from "Numerical Recipes: The Art
of Scientific Computing" for multiuser installation
on DEC VAX)
To order the above items, write Numerical Recipes Software, P.O. Box 243,
Cambridge, MA 02238.
DISCLAIMER OF WARRANTY
---------- -- -------THE PROGRAMS AND PROCEDURES ON THIS DISKETTE ARE PROVIDED "AS IS"
WITHOUT WARRANTY OF ANY KIND. WE MAKE NO WARRANTIES, EXPRESS OR IMPLIED,
THAT THE PROGRAMS AND PROCEDURES ARE FREE OF ERROR, OR ARE CONSISTENT
WITH
ANY PARTICULAR STANDARD OF MERCHANTABILITY, OR THAT THEY WILL MEET YOUR
REQUIREMENTS FOR ANY PARTICULAR APPLICATION. THEY SHOULD NOT BE RELIED
ON
FOR SOLVING A PROBLEM WHOSE INCORRECT SOLUTION COULD RESULT IN INJURY TO
A
PERSON OR LOSS OF PROPERTY. IF YOU DO USE THE PROGRAMS OR PROCEDURES IN
SUCH A MANNER, IT IS AT YOUR OWN RISK. THE AUTHORS AND PUBLISHER
DISCLAIM
ALL LIABILITY FOR DIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING
FROM YOUR USE OF THE PROGRAMS OR PROCEDURES ON THIS DISKETTE. ANY
LIABILITY OF SELLER OR MANUFACTURER WILL BE LIMITED EXCLUSIVELY TO
PRODUCT
REPLACEMENT OF DISKETTES WITH MANUFACTURING DEFECTS.
Download