ellf.cpp
来自「Numerical Recipes in C++ 书中的程序的源代码」· C++ 代码 · 共 12 行
CPP
12 行
#include <cmath>
#include "nr.h"
using namespace std;
DP NR::ellf(const DP phi, const DP ak)
{
DP s;
s=sin(phi);
return s*rf(SQR(cos(phi)),(1.0-s*ak)*(1.0+s*ak),1.0);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?