代码搜索:相差法
找到约 10,000 项符合「相差法」的源代码
代码结果 10,000
www.eeworm.com/read/367101/9783041
cpp matrixinversiongs.cpp
// MatrixInversionGS.cpp
//全选主元高斯-约当(Gauss-Jordan)法求矩阵逆
#include //输入输出流
#include "Matrix.h" //矩阵类及相关函数等的定义
using namespace std; //名字空间
void main() // 定义控制台应用程序的入口点
{
con
www.eeworm.com/read/367101/9783060
cpp matrixdeterminant.cpp
//MatrixDeterminant.cpp 高斯全选主元法矩阵求行列式
//#include //文件流头文件
#include //输入输出流
#include "Matrix.h" //矩阵类及相关函数等的定义
using namespace std; //名字空间
void main() // 定义控制台应用程序的入
www.eeworm.com/read/269229/11104478
cpp maopao2.cpp
//冒泡排序法(上浮)maopao2.cpp
#include
#include
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j;
for(i=0;i
www.eeworm.com/read/269229/11105159
cpp erfenfa2.cpp
//二分查找法(非递归调用)erfenfa2.cpp
#include
#include
#include
void binsrch(int a[],int n,int x)
{int mid,top=0,bot=n-1,find=0,m=0;
do {
m=m+1;
mid=(top+bot)/2;
www.eeworm.com/read/266755/11213503
cpp unpower_method.cpp
//反幂法求方阵的按模最小特征值及对应特征向量。
#include
#include
#include
#include
#define eps 0.000001
#define N 10
void doolittle(double a[N][N],double b[N],double x[N],int n
www.eeworm.com/read/265866/11251750
txt lg.txt
#include
#include
#include
typedef struct data
{
float x;
float y;
}Data;//变量x和函数值y的结构
Data d[20];//最多二十组数据
float f(int s,int t)//牛顿插值法,用以返回插商
{
if(t==s+1)
www.eeworm.com/read/334943/12560080
m 12-10.m
I = imread('ic.tif');
J = imrotate(I,60,'bilinear','crop');
%双线性插值法旋转图像60度,并剪切图像和原图像大小一致
subplot(121),imshow(I)
title('原图像')
subplot(122),imshow(J)
title('旋转图像60度,并剪切图像')
www.eeworm.com/read/147198/12577128
asv thresh_md.asv
% function thresh_md(a)
tic;
a=imread('kids.tif');
% a=rgb2gray(A);
% 该函数实现最大方差法计算分割门限。
% 输入参数为灰度图像,输出为灰度分割门限
count1=imhist(a);
% 返回图像矩阵a各个灰度等级象素个数。
[m,n]=size(a);
gs=find(a==0);
mm=siz
www.eeworm.com/read/147198/12577140
m thresh_md.m
% function thresh_md(a)
tic;
a=imread('rice.tif');
% a=rgb2gray(A);
% 该函数实现最大方差法计算分割门限。
% 输入参数为灰度图像,输出为灰度分割门限
count1=imhist(a);
% 返回图像矩阵a各个灰度等级象素个数。
[m,n]=size(a);
gs=size(find(a==0));
www.eeworm.com/read/248081/12601435
txt cxshiyan.txt
* 进程调度实验
* 本程序提供了以下几种种进程调度方法
*1、可强占优先法
*2、普通的优先级算法
*
*/
#include
#include
#include
#include
#include
#include
const int