数值计算 - Richardson外推法求一阶导数(C++实现)
求导只需将 f 中的函数替换即可。/*本程序使用理查森外推方法就求微分,程序的核心是运用G[i][j] = (pow(4, i) * G[i][j-1] - G[i-1][j-1])/(pow(4, i)-1)*/#include <iostream>#include <iomanip>#include <cmath>using namespace ...
原创
2019-06-01 21:09:34 ·
4414 阅读 ·
0 评论