代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/163868/10141641
m gd017_3.m
% 模糊聚类分析
% 模糊ISODATA聚类分析法
% 验证程序正确性(样本:P364例)
clc;
clear;
x=[0.80 17 0.22 0.67 0.09; 9.42 18 0.06 1.00 0.14;
5.91 11 0.36 1.00 0.21; 1.12 17 0.52 0.67 0.12;
2.96 17 0.57 1.00 0.02; 2
www.eeworm.com/read/358598/10184028
cpp queen.cpp
//回溯法
//八皇后问题
#include
#define QUEEN 8 //定义棋盘的大小
int* Q = new int[QUEEN]; //生成数组存储各行状态
//符合(不冲突),函数返回true
//不符合(冲突),函数返回false
bool Check(int* Q , int row){
for(i
www.eeworm.com/read/357171/10214056
m 15-3.m
I = imread('rice.tif');
BW = edge(I,'canny');
% 以自动阈值选择法对图像进行Canny算子检测
[BW,thresh] = edge(I,'canny');
% 返回当前Canny算子边缘检测的阈值
disp('Canny算子自动选择的阈值为:')
disp(thresh)
subplot(121),imshow(BW);
title(
www.eeworm.com/read/356303/10232194
c thrice.c
/* 用弦截法求解方程的根 */
# include
# include
float f(float x)
{
float y;
y = ((x-8.0)*x+12.0)*x - 30.0;
return y;
}
float xpoint(float x1, float x2) /* 定义函数xpoint,求出弦
www.eeworm.com/read/356292/10232336
c thrice.c
/* 用弦截法求解方程的根 */
# include
# include
float f(float x)
{
float y;
y = ((x-8.0)*x+12.0)*x - 30.0;
return y;
}
float xpoint(float x1, float x2) /* 定义函数xpoint,求出弦
www.eeworm.com/read/162712/10279865
cpp jacobi.cpp
//jacobi.cpp--JACOBI迭代法解线性方程组
#include
#include
using namespace std;
const int ROW=5;
const int Nmax=20; //设定最大容许迭代次数
float max_e(float x0[ROW],float x1[ROW]);
vo
www.eeworm.com/read/279550/10421273
txt 最大连续和的最小值.txt
//最大连续和的最小值 PKU 3273 Monthly Expense 二分法
/*
输入:
30 5
2100 7200 1150 7400 6600
3400 2230 2340 3800 4105
1102 1234 7983 1420 5430
5200 2321 3231 5560 2125
1827 2819 2010 8472 7421
9882 1990 290
www.eeworm.com/read/279550/10421338
txt pku 1338 紧密数.txt
#include
#include
using namespace std;
//PKU 1338 Ugly Numbers
/*
输入:
1
10
500
输出:
1
12
937500
说明:
同样是蛮力法,但是用列举每个数再判断的方法一定会超时,何不直接构造这个序列呢?
*/
#define NMAX 15