代码搜索结果
找到约 10,000 项符合
6 的代码
c6-6.h
/* c6-6.h 二叉树的三叉链表存储表示 */
typedef struct BiTPNode
{
TElemType data;
struct BiTPNode *parent,*lchild,*rchild; /* 双亲、左右孩子指针 */
}BiTPNode,*BiPTree;
main6-6.c
/* main6-6.c 检验bo6-6.c的主程序 */
#define CHAR /* 字符型 */
/*#define INT /* 整型(二者选一) */
#include"c1.h"
#ifdef CHAR
typedef char TElemType;
TElemType Nil=' '; /* 字符型以空格符为空 */
#endif
#ifd
shiyan6_6.cpp
// lab6_6.cpp
#include "employee.h"
void main(void)
{
Employee emp[5] =
{ Employee("张三","平安大街3号", "北京", "100000"),
Employee("李四","王府井大街20号", "北京", "100000"),
Employee("赵刚","中山路112号",
bo6-6.c
/* bo6-6.c 二叉树的三叉链表存储(存储结构由c6-7.h定义)的基本操作(21个) */
Status InitBiTree(BiPTree *T)
{ /* 操作结果: 构造空二叉树T */
*T=NULL;
return OK;
}
void DestroyBiTree(BiPTree *T)
{ /* 初始条件: 二叉树T存在。操作结果:
c6-6.h
/* c6-6.h 二叉树的三叉链表存储表示 */
typedef struct BiTPNode
{
TElemType data;
struct BiTPNode *parent,*lchild,*rchild; /* 双亲、左右孩子指针 */
}BiTPNode,*BiPTree;
main6-6.c
/* main6-6.c 检验bo6-6.c的主程序 */
#define CHAR /* 字符型 */
/*#define INT /* 整型(二者选一) */
#include"c1.h"
#ifdef CHAR
typedef char TElemType;
TElemType Nil=' '; /* 字符型以空格符为空 */
#endif
#ifd
ex6_6.m
% Example 6.6
clc
clear
% Here are the two sets of parameters
R1(1) = 0.262; R1(2) = 0.262;
R2(1) = 0.447; R2(2) = 0.444;
X1(1) = 0.633; X1(2) = 0.603;
X2(1) =
examp6_6.m
syms x y;
[x,y]=solve('x^2/2+x+3/2+2/y+5/(2*y^2)+3/x^3=0',...
'y/2+3/(2*x)+1/x^4+5*y^4','x,y');
size(x)
err=[x.^2/2+x+3/2+2./y+5./(2*y.^2)+3./x.^3,y/2+3./(2*x)+1./x.^4+5*y.^4];
norm(double(