摘要: #include<iostream>#include<math.h> #include <iomanip>#include <fstream>using namespace std;double norm2(double *cvel1,double *cvel2,int N){ double c=0; for(int i=0;i<N;i++) c=c+(cvel1[i]-cvel2[i])*(cvel1[i]-cvel2[i]); c=sqrt(c); return c;}int main(){ int N=10; int M=10; do 阅读全文
posted @ 2013-04-10 21:44 liang_l 阅读(4224) 评论(0) 推荐(0) 编辑