![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sdsc
浮沉_y
这个作者很懒,什么都没留下…
展开
-
ubuntu系统下 Fortran和C的互相调用
Fortran程序输入数据,调用c程序计算,然后各自输出 Fortran程序代码如下: C计算代码如下: 混合编译运行步骤: C调用Fortran混编过程: C程序: Fortran程序: 记录下来留待以后查阅 ...原创 2019-08-20 16:57:20 · 436 阅读 · 0 评论 -
高斯消元法Java、C、Fortran实现代码
Java实现: package zz; public class Gauss { // 高斯消元法 public float[] guass(float[][] arr) { float[] result = solution(arr); for (int i = 0; i < arr.length; i++) { result[i] = arr[i][arr[0...原创 2019-08-21 14:08:53 · 965 阅读 · 0 评论 -
C语言使用MPI实现并行操作(MPI入门)
C语言使用MPI: #include "mpi.h" #include "stdio.h" #include "math.h" #include "unistd.h" #define n 10 void printArr(int *arr){ for(int i = 0; i < n; i++){ for(int j = 0; j < n; j++){ printf...原创 2019-08-30 14:12:36 · 6857 阅读 · 1 评论