搜索结果
找到约 628 项符合
Y-combinator 的查询结果
源码 学生成绩guanli
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define N 100
int iNumOfStu=0;
struct score
&nbsp;&nbsp;{
&nbsp;&nbsp;float math;
&nbsp;&nbsp;float english;
&nbsp;&nbsp;float computer;
&nbsp;&nbsp;};
struct student
&nbsp;&nbsp;{
&nbsp;&nbsp;int number ...
源码 C语言编写雅可比迭代
# include<stdio.h>
# include<math.h>
# define N 3
main(){
&nbsp;&nbsp; &nbsp;float NF2(float *x,float *y);
&nbsp;&nbsp; &nbsp;float A[N][N]={{10,-1,-2},{-1,10,-2},{-1,-1,5}};
&nbsp;&nbsp; &nbsp;float b[N]={7.2,8.3,4.2},sum=0;
&nbsp;&nbsp; &nbsp;float x[N]= {0,0,0},y[N]={0},x0[N]={};
&nbsp;&nbsp; &n ...
技术资料 API函数详解winAPI32
API函数详解winAPI32.chm
表1 SetWindowPos函数的参数解释
参数名 参数含义
hwnd 要移动的窗口的句柄(可以用窗体的hwnd属性)
hWndInsertAfter 关于如何在Z轴上放置窗口的标记(具体见表2)
x 相当于窗口的Left属性
y 相当于窗口的Top属性
cx 相当于窗口的Right属性
cy 相当于窗口的Bottom属性
wFlags 关于如何移动窗 ...
源码 matlab神经网络算法通信信号调制识别
%========================开始提取加噪信号的各类特征值================================
for n=1:1:50;
&nbsp; &nbsp; m=n*Ns;
&nbsp; &nbsp; x=(n-1)*Ns;
for i=x+1:m;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; %提取加噪信号'signal_with_noise=y+noise'的前256个元素,抽取50次
&nbsp; &nbsp; y0(i)=signal_with_noise(i); ...
源码 VHDL4选1数据选择器
VHDL编写的4选一数据选择器
entity mux41a is
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port(a,b:in
std_logic;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;s1,s2,s3,s4:in std_logic;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbs ...
书籍 ComSoc+Guide+to+Next+Generation+Optical+Transport
Many times I have been asked to explain “ briefl y ” how SDH, SONET, and the
OTN “ exactly ” work. The questions came mainly from new colleagues, stu-
dents, and users of these technologies, personally or via the usenet newsgroup
comp.dcom.sdh - sonet. I could have referred them to the standards ...
源码 lagr.m
function y=lagr(x0,y0,x)
%x0,y0为节点
%x是插值点
n=length(x0);
m=length(x);
for i=1:m
z=x(i);
s=0.0;
for k=1:n
p=1.0;
for j=1:n
if j~=k
p=p*(z-x0(j))/(x0(k)-x0(j));
end
end
s=p*y0(k)+s;
end
y(i)=s;
end
书籍 Digital+Control+Applications
My association with the theory of controls in continuous time started during my studies at
the Indian Institute of Technology, Kharagpur, India, in 1974 as an undergraduate student
in the Controls and Power program. The initial introduction by Professors Kesavamurthy,
Y. P. Singh, and Rajagopalan la ...
源码 二叉树子系统
#include<stdio.h>
#define TREEMAX 100
typedef struct&nbsp; BT
{
char data;
BT *lchild;
BT *rchild;
}BT;
BT *CreateTree();
void Preorder(BT *T);
void Postorder(BT *T);
void Inorder(BT *T);
void Leafnum(BT *T);
void Nodenum(BT *T);
int TreeDepth(BT *T);
int count=0;
void main()
{
BT *T=NULL;
char ...
源码 数组子系统
#include <stdio.h>
#include <stdlib.h>
#define SMAX 100
typedef struct SPNode
{
int i,j,v;
}SPNode;
struct sparmatrix
{
int rows,cols,terms;
SPNode data [SMAX];
};
sparmatrix CreateSparmatrix()
{
sparmatrix A;
printf("\n\t\t请输入稀疏矩阵的行数,列数和非零元素个数(用逗号隔开):");
scanf("%d, ...