KRONROD_TEST:
C + F77 version.
The main program is in C, the library is in FORTRAN77.
This is an example of how a C program calls a FORTRAN77 routine.
TEST01
Request KRONROD to compute the Gauss rule
of order 3, and the Kronrod extension of
order 3+4=7.
Compare to exact data.
KRONROD returns 3 vectors of length 4
I X WK WG
1 0.960491 0.104656 0.000000
2 0.774597 0.268488 0.555556
3 0.434244 0.401397 0.000000
4 0.000000 0.450917 0.888889
Gauss Abscissas
Exact Computed
1 -0.774597 -0.774597
2 0.000000 -0.000000
3 0.774597 0.774597
Gauss Weights
Exact Computed
1 0.555556 0.555556
2 0.888889 0.888889
3 0.555556 0.555556
Gauss Kronrod Abscissas
Exact Computed
1 -0.960491 -0.960491
2 -0.774597 -0.774597
3 -0.434244 -0.434244
4 0.000000 -0.000000
5 0.434244 0.434244
6 0.774597 0.774597
7 0.960491 0.960491
Gauss Kronrod Weights
Exact Computed
1 0.104656 0.104656
2 0.268488 0.268488
3 0.401397 0.401397
4 0.450917 0.450917
5 0.401397 0.401397
6 0.268488 0.268488
7 0.104656 0.104656
TEST02
Request KRONROD to compute the Gauss rule
of order 4, and the Kronrod extension of
order 4+5=9.
KRONROD returns 3 vectors of length 5
I X WK WG
1 0.976560 0.062977 0.000000
2 0.861136 0.170054 0.347855
3 0.640286 0.266798 0.000000
4 0.339981 0.326949 0.652145
5 0.000000 0.346443 0.000000
KRONROD_TEST:
Normal end of execution.
29 August 2018 8:30:01.207 AM
29 August 2018 8:30:01.207 AM
调用 FORTRAN90 子例程的 C 程序.rar
版权申诉
159 浏览量
2022-11-12
20:02:22
上传
评论
收藏 3KB RAR 举报
卷积神经网络
- 粉丝: 338
- 资源: 8460
最新资源
- 5uonly.apk
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
- 基于MIC+NE555光敏电阻的声光控电路Multisim仿真原理图
- 基于JSP毕业设计-基于WEB操作系统课程教学网站的设计与实现(源代码+论文).zip
- 基于LM324和LM386的音响放大器Multisim仿真+PCB电路原理图
- Python机器学习与数据挖掘环境配置与库验证
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈