-
大小: 374KB文件類型: .rar金幣: 1下載: 0 次發布日期: 2021-01-11
- 語言: C/C++
- 標簽:
資源簡介
一本外國經典書籍的源代碼,包含的主要算法相信學過計算方法(數值分析)的同志們都不會陌生,如牛頓法、SOR超松弛迭代法,高斯-賽德爾迭代法、隆貝格求積法、龍格-庫塔法等。解壓后有個index.html,打開即可連接到所有源代碼。
代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?“nr.h“
using?namespace?std;
//?Driver?for?routine?airy
int?main(void)
{
????????string?txt;
????????int?inval;
????????DP?aibiaipbipxxaixbixaipxbip;
????????ifstream?fp(“fncval.dat“);
????????if?(fp.fail())
??????????NR::nrerror(“Data?file?fncval.dat?not?found“);
????????getline(fptxt);
????????while?(txt.find(“Airy?Functions“))?{
??????????getline(fptxt);
??????????if?(fp.eof())?NR::nrerror(“Data?not?found?in?fncval.dat“);
????????}
????????fp?>>?nval;
????????getline(fptxt);
????????cout?<????????cout?<????????cout?<????????cout?<
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????624??2002-11-30?11:52??NRC++_cpp\data\dates1.dat
?????文件??????20039??2002-11-30?11:52??NRC++_cpp\data\fncval.dat
?????文件????????821??2002-11-30?11:52??NRC++_cpp\data\matrx1.dat
?????文件????????924??2002-11-30?11:52??NRC++_cpp\data\matrx2.dat
?????文件????????494??2002-11-30?11:52??NRC++_cpp\data\matrx3.dat
?????文件??????15300??2002-11-30?11:52??NRC++_cpp\data\spctrl.dat
?????文件????????857??2002-11-30?11:52??NRC++_cpp\data\table1.dat
?????文件???????1718??2002-11-30?11:52??NRC++_cpp\data\table2.dat
?????文件????????656??2002-11-30?11:52??NRC++_cpp\data\tarray.dat
?????文件??????26955??2002-11-30?11:52??NRC++_cpp\data\text.dat
?????文件?????????50??2002-11-30?11:52??NRC++_cpp\disk.id
?????文件???????1466??2002-11-30?11:52??NRC++_cpp\examples\xairy.cpp
?????文件???????2574??2002-11-30?11:52??NRC++_cpp\examples\xamebsa.cpp
?????文件???????1281??2002-11-30?11:52??NRC++_cpp\examples\xamoeba.cpp
?????文件????????855??2002-11-30?11:52??NRC++_cpp\examples\xanneal.cpp
?????文件???????2401??2002-11-30?11:52??NRC++_cpp\examples\xarcode.cpp
?????文件????????798??2002-11-30?11:52??NRC++_cpp\examples\xavevar.cpp
?????文件???????1344??2002-11-30?11:52??NRC++_cpp\examples\xbalanc.cpp
?????文件????????778??2002-11-30?11:52??NRC++_cpp\examples\xbandec.cpp
?????文件???????1224??2002-11-30?11:52??NRC++_cpp\examples\xbanmul.cpp
?????文件???????1014??2002-11-30?11:52??NRC++_cpp\examples\xbcucof.cpp
?????文件???????1447??2002-11-30?11:52??NRC++_cpp\examples\xbcuint.cpp
?????文件???????1409??2002-11-30?11:52??NRC++_cpp\examples\xbeschb.cpp
?????文件???????1163??2002-11-30?11:52??NRC++_cpp\examples\xbessi.cpp
?????文件???????1084??2002-11-30?11:52??NRC++_cpp\examples\xbessi0.cpp
?????文件???????1084??2002-11-30?11:52??NRC++_cpp\examples\xbessi1.cpp
?????文件???????1570??2002-11-30?11:52??NRC++_cpp\examples\xbessik.cpp
?????文件???????1158??2002-11-30?11:52??NRC++_cpp\examples\xbessj.cpp
?????文件???????1084??2002-11-30?11:52??NRC++_cpp\examples\xbessj0.cpp
?????文件???????1071??2002-11-30?11:52??NRC++_cpp\examples\xbessj1.cpp
............此處省略605個文件信息
評論
共有 條評論