搜索资源列表
FLOYDsuanfa
- #include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #define p 0.5-#include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #def
huowuyunshudeyichuansuanfa
- #include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #define p 0.5-#include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #def
lingjiancanshushejichengxu
- #include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #define p 0.5-#include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #def
rengongshenjingwangluodesuanfa
- #include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #define p 0.5-#include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #def
Calculate20060802
- VC下最牛的算数表达式,将math.h 所有函数都集成到一起都能用计算出来,包括加减乘除;(、 正玄、 余玄,乘方,log ln,等 -VC most cattle arithmetic expression math.h will integrate all functions are used together can be worked out including the arithmetic; (, Shogen, Yuxuan, involution, ln log, etc.
c
- #include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h> #include<io.h> #include<math.h> #include<process.h> #include<conio.h> #define m 100 #define OK 1 typedef
白噪声随机数的产生
- #include<stdio.h> #include<stdlib.h> #include<math.h> #define E 6 #define D 1 double N() { double n=0;int i; for(i=0;i<12;i++) n+=(double)rand()/RAND_MAX; n=(n-E)/sqrt(D); return n; } void main() {
BP
- BP神经网络程序,C语言源代码 如下: #include "iostream.h" #include "iomanip.h" #include "stdlib.h" #include "math.h" #include "stdio.h" #include "time.h" #include "fstream.h" #define N 120 //学习样本个数 #define IN 3 //输入层神经元数目 #define HN 2 //隐层神经元数目
math
- 同一坐标系统下坐标有多种不同的表现形 式,一种形式实际上就是一种坐标系。如空间直 角坐标系( , , )、大地坐标系( , )、 平面直角坐标( , )等。通过坐标统的转换我 们得到了BJ54坐标系统下的空间直角坐标,我们 还须在BJ54坐标系统下再进行各种坐标系的转 换,直至得到工程所需的坐标。 1)将空间直角坐标系转换成大地坐标系,得-Sub btnCal_OnClick dim SpaceForm dim X, Y, Z, B, L, H, Elli,
clock
- 1. 首先建立一个基本对话的exe工程,并命名为time; 2. 在BOOL CTimeDlg::OnInitDialog()函数内建立一个计时器,SetTimer(1,1000,NULL) 3. 再用classwizard建立消息响应函数void CTimeDlg::OnTimer(UINT nIDEvent),在里面输入代码如下:Invalidate() 4. 再用classwizard建立消息响应函数void CTimeDlg::OnDestroy(),在里面输入代码如下:
gaosi
- 高斯列主元消去法 #include<stdio.h> #include<conio.h> #include<math.h> #define N 100 float a[N][N+1] void main( ) { int i,j,k,n float t,s=0, clrscr( ) printf("输入矩阵阶数:") scanf(" d",&
matlabfun
- 信源函数 randerr 产生比特误差样本 randint 产生均匀分布的随机整数矩阵 randsrc 根据给定的数字表产生随机矩阵 wgn 产生高斯白噪声 信号分析函数 biterr 计算比特误差数和比特误差率 eyediagram 绘制眼图 scatterplot 绘制分布图 symerr 计算符号误差数和符号误差率 信源编码 compand mu律/A律 压缩/扩张 dpcmdeco DPCM(差分脉冲编码调制)解码 dpcmen
calculator
- 设计简易交互式计算器,功能如下: (1) 计算器功能与Windows操作系统带的标准型的计算器系统相同。至少有+、-、*、/、开方、取倒数、清零、backspace的功能,可以对小数进行运算。 (2) 程序可以实现简单的没有括号的表达式计算, (3) 不使用math.h头文件,求开方运算时使用多项式拟合方式。 -Design simple interactive calculator, function as follows: (1) calculator function a
mymath
- C语言,三角函数,平方根快速算法。运算速度很快,可以用来替换部分标准库 math.h 内的函数-C, trigonometric functions, square root of the fast algorithm. Fast operation, can be used to replace part of the standard library math.h functions within the
exponential
- mathametical function exp without using math.h
matrici
- MATH.h / math.cpp done at school.
huangjin
- #include<stdio.h> #include<math.h> float Function(float x) void main() { float a,b,e float x0,x1,x2,F0,F1,F2 printf("input a ,b ,e \n") scanf(" f f f",&a,&b,&e) x1=b-0.618*(b-a) x2=a+0.618*(b-a) F1=Func
rom
- 用Romberg算法计算定积分 #include <stdio.h> #include <math.h> #define MAX 10 double func(double a) { double y if (a == 0) return y = 1 else return y = 4/(1+a*a) //return y = pow(a,2) }-Romberg algorithm computes
NewTon
- Newton迭代法,用Newton迭代法求方程,(内附题目) #include<stdio.h> #include<math.h> #define N 100 #define PS 1e-4 #define TA 1e-4 float Newton(float (*f)(float),float(*f1)(float),float x0 ) { float x1,d=0 int k=0 do { x1= x0-
LU
- LU分解法解线性方程组(内附题目) #include "math.h" #include "stdio.h" #define n 4 int LU(double (*a)[n])-LU decomposition method for solving linear equations (containing title)# include " math.h" # include " stdio.h" # define n 4 int LU (
