代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/380114/9163066
cpp migong.cpp
//使用回溯法求解迷宫问题migong.cpp
#include
#include
#include
#include
//路口的结构体定义
typedef struct
{int left;
int forward;
int right;
}InterS;
//迷宫类定义与实现
c
www.eeworm.com/read/183298/9171198
cpp jishufa1.cpp
//基数排序法(类方法)jishufa1.cpp
#include
#include
#include
#include
const int N=10;
class jishu
{public:
jishu(int d[],int s):n(s)
{for(int i=0;i
www.eeworm.com/read/378764/9216707
txt g.txt
G类
函数名: gcvt
功 能: 把浮点数转换成字符串
用 法: char *gcvt(double value, int ndigit, char *buf);
程序例:
#include
#include
int main(void)
{
char str[25];
double num;
int sig
www.eeworm.com/read/378764/9216718
txt e.txt
函数名: ecvt
功 能: 把一个浮点数转换为字符串
用 法: char ecvt(double value, int ndigit, int *decpt, int *sign);
程序例:
#include
#include
#include
int main(void)
{
char
www.eeworm.com/read/182038/9221231
txt erfengfa.txt
二分法:
#include
#include
float f(float x)
{float y;
y=x*x+2*x+1;
return y;
}
main()
{float a,b,c,x;
printf("%s","input three numbers:\n");
scanf("%f%f%f",&a,&b,&c);
www.eeworm.com/read/378042/9252906
txt 关于实验的说明.txt
冒泡法排序程序范例
address1 EQU $40
address2 EQU $42
n1 EQU $44
temp equ $45
flag equ $46
ORG $8000
Main:
ldhx #$6f
sthx address1
ldhx #$6f
sthx address2
mov #$
www.eeworm.com/read/180414/9309106
cpp rootnewtonhilldown.cpp
//RootNewtonHillDown.cpp
//牛顿下山法求解代数方程全部根(实根和复根)
#include //输入输出流头文件
#include "NonLinearEquation.h" //非线性方程(组)求解头文件
using namespace std; //名字空间
void main(void)
{
int i, i
www.eeworm.com/read/180414/9309242
cpp approximationremez.cpp
//ApproximationRemez.cpp
//最佳一致逼近多项式里米兹法
#include //模板类输入输出流标准头文件
#include "FittingApproximation.h" //拟合与逼近头文件
using namespace std; //名字空间
void main(void)
{
valarray
www.eeworm.com/read/180414/9309325
cpp extremumbrentnonderivative1d.cpp
//ExtremumBrentNonDerivative1D.CPP
//不用导数的布伦特法求一维函数极小值
#include //模板类iostream输入输出流标准头文件
#include "Extremum.h" //极值头文件
using namespace std; //名字空间
void main()
{
double fext
www.eeworm.com/read/374389/9407748
m ep3_p4.m
% Ep3_p4: > 改进的Euler法 (预报-校正法) --- 图形演示版
% Designed by FGH
h= 0.001;
H= 120; Vw= 450; Ve= 90;
ex= [-0.6 -0.6 0.35 0.8];
ey= [0 1 1 0];
clf
axis([-5 30 -10 130])
hold on
title('