Chinaunix首页 | 论坛 | 博客
  • 博客访问: 43868
  • 博文数量: 20
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 200
  • 用 户 组: 普通用户
  • 注册时间: 2015-11-05 10:35
文章分类

全部博文(20)

文章存档

2016年(16)

2015年(4)

我的朋友

发布时间:2015-12-26 19:33:56

用MPI求解梯形积分(上)版本一:(固定a,b,n值,使用MPI6个基本函数)#include<stdio.h>#include<mpi.h>double f(double x){ return x*x;}double Trap(double left_side,double right_side,int local_count,double h){int i;double estimate,temp;double left1,right1;left1=f(left_side).........【阅读全文】

阅读(1889) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册