代码搜索:三垦
找到约 10,000 项符合「三垦」的源代码
代码结果 10,000
www.eeworm.com/read/184067/9123797
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]);
www.eeworm.com/read/181815/9236363
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/378041/9252969
m 6-27.m
[X,Y] = meshgrid(-2:0.25:2,-1:0.2:1);
Z = X.* exp(-X.^2 - Y.^2);
[U,V,W] = surfnorm(X,Y,Z);
%返回三维表面图的法线
quiver3(X,Y,Z,U,V,W,0.5);
%绘制三维箭头图
hold on
surf(X,Y,Z);
%绘制网状表面图
axis ([-2 2 -1 1 -.6 .
www.eeworm.com/read/372762/9494447
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/372391/9511841
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/366495/9811613
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/169721/9845013
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/166632/10010609
m nalu.m
function [l,u]=nalu(a)
% 用途:求可逆方阵的Doolittile分解。
% 格式:[l,u]=nalu(a) 其中a为可逆方阵,l返回单位下三角矩阵,u返回上三角矩阵。
n=length(a);
u=zeros(n,n);l=eye(3,3);
u(1,:)=a(1,:);l(2:n,1)=a(2:n,1)/u(1,1);
for k=2:n
u(k,
www.eeworm.com/read/166306/10024604
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]);
www.eeworm.com/read/165933/10044948
txt duilie.txt
duilie.cpp运行结果:
输出向队列end1插入4,5,6三个元素后情况:
4 5 6
输出删除最后一个元素后的队列end1的情况:
4 5
输出向队列end2插入7,8,9三个元素后情况:
5 4 7 8 9