{ Numerical Recipes C Diskette Documentation v2.02}
Main Menu
Press a function key (F1-F10) to jump to the following topics:
F1 - How to INSTALL the Numerical Recipes archives
F2 - License Information and WARRANTY DISCLAIMER
F3 - ANSI C vs. traditional K&R C files
F4 - How to use NRCOPY (accessing the files)
F5 - How to use the Example programs
F6 - How to order Numerical Recipes books
F7 - Compiler hints, troubleshooting, and common questions
F8 - List of the Numerical Recipes (REC archives)
F9 - List of the Example programs (EXA archives)
F10 - List of other supplied files (OTH archives)
You can also press these function keys from anywhere within
NRHELP. You can return to this menu by pressing Home.
The contents of this Numerical Recipes C Diskette are
Copyright (C) 1986-1992 Numerical Recipes Software.
{ Numerical Recipes C Diskette Documentation v2.02}
{ How to INSTALL the Numerical Recipes archives}
All About INSTALL
The ONLY way to access the programs on your Numerical Recipes
diskette is to install them with the INSTALL program that is
provided. To use the INSTALL program, place the original diskette
into an appropriate drive (e.g., A:) and type A:INSTALL followed
by the <Enter> key. Then, follow the directions as indicated.
The Numerical Recipes routines consist of more than 600 individual
files (including both the recipes and the sample driver routines).
Fully unpacked, this large number of files requires excessive disk
space, and degrades the performance of programs that scan the full
directory tree. Furthermore, few users ever want to use more than
a small number of the routines at any one time.
We therefore supply the routines in the form of a small number of
compressed archive files, and a special dearchiving program called
NRCOPY. When properly installed, NRCOPY becomes a command that is
available from any working directory. On request, it creates a copy
of any desired routine. You can use, modify, or delete this copy:
a fresh copy can always be obtained by the NRCOPY command.
more...
Here is an overview of the INSTALL process: (If you have already
completed the installation, you might wish to verify that you went
through all these steps.)
1. You are asked to select a drive and subdirectory that are in
your DOS path. (Your current DOS path is displayed.) You can
choose an existing subdirectory or a new one. The archive
files must be somewhere in your path so that the NRCOPY command
is able to find them.
2. You are asked to enter your name, or the name of the person or
organization to whom the diskette is licensed. This name is
used to construct a short license validation file with a name
like NR20KEY.AR. This file must be kept in the same directory
as the archive files, otherwise NRCOPY will not be able to work.
3. The following files are copied to the subdirectory that you
chose: the archives NRC20REC.AR, NRC20EXA.AR, NRC20OTH.AR,
NRK20REC.AR, NRK20EXA.AR, and the executable commands NRCOPY.EXE
and NRHELP.COM (this file). The validation file NR20KEY.AR is
also put in place.
4. If (and only if) you requested that your AUTOEXEC.BAT file be
modified to include your chosen subdirectory in your DOS path,
this modification is made.
When the INSTALL process is complete, and after you have rebooted
your machine so that the PATH is reset, you will be able to use the
commands NRCOPY and NRHELP from any working directory. Press F4
now to get instructions for using NRCOPY. (For short instructions
at any time, just type NRCOPY at a DOS prompt.)
{ How to INSTALL the Numerical Recipes archives}
{ ANSI C vs. traditional K&R C files}
About ANSI C and K&R C
There are two dialects of the C language commonly in use. The older
one is called Kernighan and Ritchie (K&R) C or "traditional" C. The
newer one, which is fast replacing K&R C, is called ANSI C. The
program listings in the Numerical Recipes books are all in ANSI C.
We recommend that you use ANSI C if at all possible. Microsoft C/C++
version 7.0 and later is fully ANSI C compatible, as are current
versions of Borland C++ and Turbo C.
If you do use ANSI C, you should use the "C", not the "KRC" archives
on this diskette. Press F4 for information on how to use the
NRCOPY command to specify which archives are used. You must also be
aware that the header files nr.h and nrutil.h, and the utility files
nrutil.c and complex.c, all supplied in the "OTHER" archive, incorporate
both ANSI C and K&R C versions. To make the ANSI version active, you
must be sure that one of the following macros is defined at compile
time: ANSI, __STDC__, NRANSI.
Most ANSI compilers will automatically define __STDC__ if you specify
that you want ANSI C conformity. In Microsoft C, the command line
switch for this is "/Za". In Borland C, the switch is "-A". These
and most other compilers also allow you to define macros directly
on the command line. In Microsoft C, you would define ANSI by the
command line switch "/DANSI". In Borland C, the switch would be
"-DANSI". Consult your compiler documentation for more details.
As further backup, all the ANSI C files on this diskette themselves
internally #define NRANSI before accessing the header files nr.h or
nrutil.h. If you run into trouble, it is probably because you have
referenced one of these header files in your own program (or compiled
nrutil.c or complex.c) without the required #define NRANSI or command
line switch.
If you have a traditional or K&R C compiler, be sure to unpack your
files from the "KRC" archives. You need not (in fact, must not)
define any special macros at compile time.
Press F5 for sample command lines to unpack, compile, and
run programs from this diskette.
{ ANSI C vs. traditional K&R C files}
{ How to use NRCOPY (accessing the files)}
All About NRCOPY
The NRCOPY command can be executed at any DOS prompt, from any working
directory. It locates any desired Numerical Recipes files in the
archives, and makes useable copies in the directory of your choice.
It can also be used to list the contents of an archive (names of
the files) or to view on the screen, rather than copy, selected files.
The complete syntax of the command is:
NRCOPY C|KRC|FOR RECIPES|EXAMPLES|OTHER [files] [LIST|VIEW|TO path]
Here, arguments with bars, like "a|b|c", signify that you must
choose exactly one of a,b, or c, while square brackets like "[ ]"
signify that an argument is optional.
All arguments are case insensitive (you can type them in upper case,
lower case or any combination). The keywords C, KRC, FOR, RECIPES,
EXAMPLES, and OTHER, can be abbreviated down to a single letter,
C, K, F, R, E, and O, respectively.
The action of the command is as follows:
The C, K&R C, or FORTRAN archive (depending on the first argument)
that contains RECIPES, EXAMPLES or OTHER files (depending on the
second argument) is opened. (Only C and K
没有合适的资源?快使用搜索试试~ 我知道了~
tmn.rar_driverlv4_patternm6z_stay6ux_大数据
共1244个文件
c:1227个
dat:10个
h:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 53 浏览量
2022-09-15
01:22:33
上传
评论
收藏 260KB RAR 举报
温馨提示
c数值算法的源码,是非常经典的书籍,可以用在很多方面
资源推荐
资源详情
资源评论
收起资源包目录
tmn.rar_driverlv4_patternm6z_stay6ux_大数据 (1244个子文件)
nrutil.c 16KB
nrutil.c 9KB
nrutil.c 8KB
vegas.c 4KB
vegas.c 4KB
broydn.c 4KB
xfourfs.c 4KB
xfourfs.c 4KB
xqrupdt.c 4KB
xqrupdt.c 4KB
fourfs.c 4KB
fourfs.c 4KB
broydn.c 4KB
dsvdcmp.c 4KB
svdcmp.c 4KB
stifbs.c 4KB
dsvdcmp.c 4KB
svdcmp.c 4KB
stiff.c 4KB
complex.c 3KB
bessjy.c 3KB
stiff.c 3KB
stifbs.c 3KB
bsstep.c 3KB
bessjy.c 3KB
bsstep.c 3KB
miser.c 3KB
mgfas.c 3KB
hqr.c 3KB
xqrdcmp.c 3KB
miser.c 3KB
hqr.c 3KB
xqrdcmp.c 3KB
bessik.c 3KB
xludcmp.c 3KB
xludcmp.c 3KB
simplx.c 3KB
arcode.c 3KB
bessik.c 3KB
fitexy.c 2KB
mgfas.c 2KB
xhuffman.c 2KB
machar.c 2KB
machar.c 2KB
arcode.c 2KB
xhuffman.c 2KB
xjacobi.c 2KB
xfour1.c 2KB
dfpmin.c 2KB
xfour1.c 2KB
xjacobi.c 2KB
simplx.c 2KB
newt.c 2KB
linbcg.c 2KB
xmrqmin.c 2KB
dfpmin.c 2KB
xmrqmin.c 2KB
xarcode.c 2KB
mglin.c 2KB
solvde.c 2KB
xsvbksb.c 2KB
complex.c 2KB
complex.c 2KB
xgaussj.c 2KB
xarcode.c 2KB
xsvbksb.c 2KB
linbcg.c 2KB
ratlsq.c 2KB
xsprspm.c 2KB
xgaussj.c 2KB
xsprspm.c 2KB
xsprstm.c 2KB
xamebsa.c 2KB
dftcor.c 2KB
rlftfrag.c 2KB
fitexy.c 2KB
rlft3.c 2KB
xsprstm.c 2KB
dbrent.c 2KB
xamebsa.c 2KB
dftcor.c 2KB
sfroid.c 2KB
xspear.c 2KB
hufmak.c 2KB
newt.c 2KB
rj.c 2KB
xsvdcmp.c 2KB
dbrent.c 2KB
period.c 2KB
rlft3.c 2KB
fasper.c 2KB
amebsa.c 2KB
xspear.c 2KB
gaujac.c 2KB
jacobi.c 2KB
ratlsq.c 2KB
mrqmin.c 2KB
xsvdcmp.c 2KB
xlfit.c 2KB
gaujac.c 2KB
共 1244 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
资源评论
刘良运
- 粉丝: 67
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功