搜索资源列表
GraphMatrix
- 以邻接矩阵作为图的存储结构,根据键盘输入创建图,并深度优先、广度优先遍历该图-matrix as to the adjacent storage structure of the plan, according to the keyboard input to create map and depth of priority, breadth priority traversal of the plan
xianxingfangcheng
- 编程序,按如下要求来求解n元一次线性方程组(假设方程组具有唯一解)。 (1)方程个数n之值由用户通过键盘输入; (2)方程组存放在“增广矩阵”A之中,而n行n+1列的A存储空间通过new来动态分配,且A的各元素值也由用户通过键盘输入; (3)方程组的解存放于“向量”B之中,而具有n个元素的B存储空间也通过new来动态分配。 -programmed by the following demands to solve an n-linear equation (equatio
fasttrans
- 键盘任意输入一个稀疏矩阵A(m*n),采用三元组存储方法求其转置矩阵B(n*m),并用快速转置算法实现该操作。-keyboard indiscriminate importation of a sparse matrix A (n * m), using triple storage switch for its own matrix B (n * m), and fast algorithm home to the operation.
matlabmatrix
- 1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Writ
612109301
- 要求采用邻接矩阵作为无向图的存储结构,邻接表作为有向图的存储结构,完成无向图和有向图的建立,并对建立好的图进行深度和广度优先遍历。具体实现要求: 1. 通过键盘输入图的顶点和边信息,分别构造一个无向图的邻接矩阵和一个有向图的邻接表。 2. 分别对建立好的两个图进行深度和广度优先遍历,输出相应的遍历序列。 3. 统计两个图的连通分量的个数。 -Require the use of adjacency matrix as the storage structure of an und
cifa
- 编程序,按如下要求来求解n元一次线性方程组(假设方程组具有唯一解)。 (1)方程个数n之值由用户通过键盘输入; (2)方程组存放在“增广矩阵”A之中,而n行n+1列的A存储空间通过new来动态分配,且A的各元素值也由用户通过键盘输入; -Allocation procedures, the following requirements to solve the n-a system of linear equations (assuming a unique solution
juzhen1
- 一个在c++环境里可以运行的c语言为基础的矩阵连乘的程序,数组的值有键盘输入-One in c++ environment can be run based on c language by a matrix with the program, the value of the array have keyboard input
matrixcompress
- C语言实现矩阵压缩的小程序 掌握特殊矩阵通过压缩存储算法进行压缩存储的方法,并编程实现相关功能。 基本要求: (1) 可以对对称矩阵、上三角矩阵、下三角矩阵、三对角矩阵进行压缩存储; (2) 原始矩阵通过键盘输入,执行后输出压缩后的矩阵; (3) 输入在原始矩阵中的位置,能够得出压缩后的位置; (4) 原始矩阵的行列数从键盘输入。 -C language implementation of small programs to master matrix comp
Graph
- 1.建立无向网的邻接矩阵。 要求:从键盘输入无向网的顶点数和边数;然后以“顶点1,顶点2,权值”的方式输入图的各边,建立邻接矩阵存储,并输出各顶点和邻接矩阵。 2.对无向网进行深度优先遍历,输出遍历序列。 3.判断给定的无向网是否是连通的? 要求:从键盘上输入出发点进行搜索遍历,输出遍历序列。 -1. The establishment of the network adjacency matrix. Requirements: No input from the ke
liezuxiaoyuanfa
- 用列主消元法求解线性方程组:可通过修改从键盘上输入矩阵-With out the main elimination method for solving linear equations: You can enter from the keyboard by modifying the matrix
code
- 从键盘输入两个矩阵,输出这两个矩阵和这两个矩阵相乘的矩阵,图书管理系统的一小部分 要求能 登陆 注册 推出 登陆要有次数限制(失败三次退出程序等),注册信息要求写入到文本文件里保存,已知圆半径r=2.5 圆柱高h=4,求圆的周长,面积,圆球体积,圆柱体积,用cin输入要计算的项目,然后输出计算结果,输入输出时要有文字提示,求1!+2!。。。+10!c语言代码,贪吃蛇游戏的C语言代码,求几个带权字符的哈夫曼编码,本打字游戏可进行英文,其它字符和全部字符的打字训练,每次训练若干个字符并进行打字时间,
xishujuzhen
- 稀疏矩阵的运算程序。该设计程序的功能是由键盘输入稀疏矩阵中非零值的行标,列标和元素值构成的三元组顺序表,这样就确定了整个矩阵,再使两个矩阵以三元组表形式求和、差、乘积并将运行的结果输出,本程序主要用到的知识是以顺序表形式存储稀疏矩阵,再用链表对其进行操作,来通过三元组判断位置、非零值运算实现稀疏矩阵的加、减、乘等运算。-Sparse matrix computation program. The design process is the function of keyboard input s
graphoperation
- 根据从键盘输入的数据创建图(图的存储结构可采用邻接矩阵或邻接表),并对图进行深度优先搜索和广度优先搜索(实验类型:验证型) 1)问题描述:在主程序中提供下列菜单: 1…图的建立 2…深度优先遍历图 3…广度优先遍历图 0…结束 2)实验要求:图的存储可采用邻接表或邻接矩阵;定义下列过程: CreateGraph(): 按从键盘的数据建立图 DFSGrahp():深度优先遍历图 BFSGrahp():广度优先遍历图-According to dat
equation
- 解线性方程组的控制台程序,程序里有一个向量类,一个矩阵类和一个方程类;可以用键盘输入数据,也可从文本文件中读入数据,输出结果到屏幕和文本文件。-Linear Equations of the console program, the program there is a vector class, a matrix equation of class and a class can use the keyboard input data can also be read from a text
AutoMaze
- 此迷宫实现从键盘读入矩阵迷宫地图 然后输出任一条可走出路径 若无可走通路径 则输出error-This labyrinth from a maze map the keyboard and then read into the matrix may be out of the path of the output of any one to go through the path without the output error
matrix
- 主要功能是为了运算两个矩阵的乘积,该矩阵文件必须从系统读取,不能从键盘输入-Main function is to computing two matrices, the matrix file must be read from the system, not from the keyboard
keyboard
- 该程序是一个优秀的矩阵键盘子程序,代码长度短,程序精简,易懂。可靠性高-The program is an excellent matrix keyboard subroutine, the code length is short, the program is streamlined and easy to understand. High reliability
stepmotor
- 这是个用矩阵键盘控制步进电机圈数和转速的程序,参数设定在触摸屏上显示-This is a matrix keyboard to control the stepper motor number of turns and speed program parameter settings on the touch screen display
KEY
- 5x6矩阵键盘实现,基本思想:逐行扫描,列端口设置为上拉输入,先将第一行置低,检测列有没有被拉低的,没有则置低第二行,置高第一行,检测列有没有置低的,以此类推。-5x6 matrix keyboard realization, the basic idea: Progressive scan, the column is set to pull the input port, the first line of the first set low, there has not been pull
keyscan_int
- 此方法是我用4*5矩阵键盘时候想到的,采用了中断检测方法,释放了CPU等待时间,加强OS实时性。此算法和电路经验证简单可行,仅以简单的51单片机做例子.-This method is what I use 4* 5 matrix keyboard ever think of, using the interrupt detection methods, the release of CPU wait time, strengthen the real-time OS. This algorith