?? xsobseq.cpp
字號:
#include <iostream>
#include <iomanip>
#include "nr.h"
using namespace std;
// Driver for routine sobseq
int main(void)
{
const int n2=3;
int i,n1=(-1);
Vec_DP x(n2);
NR::sobseq(n1,x);
cout << fixed << setprecision(5);
for (i=0;i<32;i++) {
NR::sobseq(n2,x);
cout << setw(11) << x[0] << setw(11) << x[1];
cout << setw(11) << x[2] << setw(6) << (i+1) << endl;
}
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -