摘要: package util;/** * 分页类 * @author teachershi * */public class Pager { private String url; private int size; private int rows; private int cpage; private int pagers; private int nums; /** * 构造方法 * @param url 链接 * @param size 每页显示数量 * @param cpage 当前页数 ... 阅读全文
posted @ 2012-10-24 19:24 李白~~ 阅读(1381) 评论(0) 推荐(0) 编辑
摘要: /////////////////////////////////////////////////////////////////////////////////////////////////#include<iostream>using namespace std;float func(float x0){ cout<<"输入节点数"<<endl; int num,i,j; cin>>num; float *px = new float[num]; float *py = new float[num]; float **m 阅读全文
posted @ 2012-10-24 17:47 李白~~ 阅读(4163) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<cmath>#include<vector>using namespace std;void func(float**p,float *q,float *r,int n){ //Gauss消元 int i,j,k,t; for(i = 0;i<n-1;i++) { //选主元模块 顺序gauss消元可不要 int tmp = i; float max = fabs(p[i][i]); for(t = i+1;t<n;t++) { if(fabs(p[t][i]) > max) tmp = 阅读全文
posted @ 2012-10-24 17:45 李白~~ 阅读(674) 评论(0) 推荐(1) 编辑