代码搜索:三垦
找到约 10,000 项符合「三垦」的源代码
代码结果 10,000
www.eeworm.com/read/316786/13517793
c varpoint.c
/* 输入x、y和z三个整数,按大小顺序输出 */
# include
void swap(int *pt1, int *pt2);
void exchange(int *q1, int *q2, int *q3);
void main()
{
int x, y, z;
int *p1, *p2, *p3;
printf("请输入三个整数:");
www.eeworm.com/read/315999/13532712
cpp algo5-2.cpp
// algo5-2.cpp 实现算法5.2的程序
#include"c1.h"
typedef int ElemType; // 定义矩阵元素类型ElemType为整型
#include"c5-2.h" // 稀疏矩阵的三元组顺序表存储结构
#include"func5-1.cpp" // comp()函数
#include"bo5-2.cpp" // 三元组稀疏矩阵的基本
www.eeworm.com/read/310520/13649796
c varpoint.c
/* 输入x、y和z三个整数,按大小顺序输出 */
# include
void swap(int *pt1, int *pt2);
void exchange(int *q1, int *q2, int *q3);
void main()
{
int x, y, z;
int *p1, *p2, *p3;
printf("请输入三个整数:");
www.eeworm.com/read/310286/13653972
h sort.h
/*
sort.h exp4_2
利用多线程并行执行三种排序算法(冒泡排序、快速排序、归并排序),并比较三种排序算法的执行速度
申明程序中用到的一些函数
uuhorse
*/
#ifndef _EXP_4_2_SORT_H_
#define _EXP_4_2_SORT_H_
#include
#include
www.eeworm.com/read/310286/13653974
cpp main.cpp
/*
exp4_2 main.cpp : 定义控制台应用程序的入口点。
利用多线程并行执行三种排序算法(冒泡排序、快速排序、归并排序),并比较三种排序算法的执行速度
uuhorse
2008 年 5月 5日
*/
#include "sort.h"
#include
#include
#include
www.eeworm.com/read/310200/13655744
txt duilie.txt
duilie.cpp运行结果:
输出向队列end1插入4,5,6三个元素后情况:
4 5 6
输出删除最后一个元素后的队列end1的情况:
4 5
输出向队列end2插入7,8,9三个元素后情况:
5 4 7 8 9
www.eeworm.com/read/308879/13688786
m zuigan.m
function [x]=zuigan(a,b,c,f)
%三对角方程的追赶法;
%a,b,c为A的三个对角,
c(1)=c(1)/b(1);
f(1)=f(1)/b(1);
for i=2:size(b,2)
b(i)=b(i)-a(i)*c(i-1);
c(i)=c(i)/b(i);
f(i)=(f(i)-a(i)*f(i-1))/b(
www.eeworm.com/read/308708/13695050
h c5-2.h
// c5-2.h 稀疏矩阵的三元组顺序表存储表示
#define MAXSIZE 100 // 非零元个数的最大值
struct Triple
{
int i,j; // 行下标,列下标
ElemType e; // 非零元素值
};
struct TSMatrix
{
Triple data[MAXSIZE+1]; // 非零元三元组表,dat
www.eeworm.com/read/307670/13717668
h c5-2.h
// c5-2.h 稀疏矩阵的三元组顺序表存储表示
#define MAXSIZE 100 // 非零元个数的最大值
struct Triple
{
int i,j; // 行下标,列下标
ElemType e; // 非零元素值
};
struct TSMatrix
{
Triple data[MAXSIZE+1]; // 非零元三元组表,dat
www.eeworm.com/read/147529/5728687
m interp1.m
function yi = interp1(varargin)
% yi=interp1(x,y,xi)根据数据(x,y)给出在xi的线性插值结果yi.
% yi=interp1(x,y,xi,'spline')使用三次样条插值.
% yi=interp1(x,y,xi,'cubic')使用三次插值.
% 例如
% clear;close;fplot('sin',[0,2*pi]);