搜索资源列表
十进制四则运算器
- 题目内容:在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器。主要功能:实现整数浮点数的四则运算。-topic : expressed in a binary tree arithmetic expressions on the basis of the design of a four decimal computing calculator. The main functions : to achieve integral float the four operations.
HexStrToIntac
- C++/VC.Net...实现二进制、八进制、十进制、十六进制之间的转换 实现不同进制数的加减乘除运算 所有的数据需由键盘(或鼠标操作...输入输出界面,可通过设置窗口或模拟计算器的外形做一些设计。 -C / VC.Net ... to achieve binary, octal, decimal, hexadecimal conversion between the different band to achieve a number of arithmetic operations all
golay24
- Encoding and decoding of the binary extended (24,12,8) Golay code: An arithmetic decoding algorithm. It is a very close relative of the error-trapping decoding algorithms developed by Kasami in the 1960s.-Encoding and decoding of the binary extend
n2b
- Two functions, num2bin and bin2num are provided. num2bin takes a double and converts it to a binary string representation. bin2num is its inverse operation. It can be used in a numerical analysis course when floating point arithmetic is discussed.
Twoforktrees
- 二叉树操作,掌握指针变量的含义,二叉树的结构特征,以及各种存储结构的特点及使用范围;指针类型描述、访问和处理二叉树的运算。程序1: 按先序次序输入二叉树中结点的值(一个字符),`0`表示空树,生成二叉树的二叉链表存储结构, a为指向根结点的指针。然后按中序顺序遍历二叉树。算法思想:先访问左子树,再访问根结点,最后访问右子树。-binary tree operation, grasp the meaning indicator variables, binary tree structure, a
AI_GA_matlab
- 遗传算法程序 主要程序 ga.m 遗传算法核心程序 BinaryExample.m 二进制编码应用程序 FloatExample.m 浮点编码的应用程序 相关算子及函数 initializega.m 种群初始化函数 simpleXover.m 用于二进制编码的简单交叉算子 arithXover.m 用于浮点编码的算术交叉算子 binaryMutation 用于二进制编码的变异算子 nonMutation.m 用于浮点编码的非均匀变异算子
arithmetic_edwardversion
- 本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释并执行四则运算表达式。四则运算就是包含+、—、*、/、.(小数点)和数字的运算表达式,例如:3+2.9*(5-6/3) -4+(+8*6)等; 2.错误警告:能够对不符合语法的表达式给出相应的错误警告,本程序共给出了8大类警告 3.进制转换:能够做二进制、八进制、十进制、十六进制中任意两种进制之间的互相转换 4.帮助系统:提供完善的帮助系
cbs3-20020516[1].tar
- CBS是一个科学计算器工具,它首次以教育工具出现在法国二进制模拟转换测试中。当你选中“Step by step”选项,你将可以看见计算器是如何处理你的你的算术表达式的。“Calc-By-Step”程序可以在英语和法语两种模式中使用。“Calc-By-Step ”程序是Delphi语言建立的计算器程序,可以显示如何创建词汇剖析器和求值程序。在压缩包中包含Delphi 5的原代码,“Calc-By-Step” 是一个自由程序。-CBS is a scientific calculator tool,
EJF
- 八位2进制相加 就是2进制数的加法 是8位的-the code realized the plus arithmetic between 8 bit binary numbers.
用matlab写的算术编码的程序
- 自己用matlab写的算术编码的程序,信源为二元信源,信源序列、码长均可自定义,Using matlab to write their own arithmetic coding procedures for the binary source-source, source sequence, code length can be custom
genalg
- The simple class for real-numbers genetic algorithm. The main advantage of this realisation is a lot of crossover functions. Simple, Arithmetic, Geometry, Discrete, Binary Crossover, Blend Crossover (BLX) are implemented. Class useful for numerical
gai
- 能实现二进制、十 六进制之间的相互转换以及两个数之间的加减乘除的运算。-The arithmetic of addition and subtraction, multiplication and division between binary, decimal, hex conversion between, as well as two numbers.
Expreesion
- 一个表达式和一棵二叉树之间,存在着自然的对应关系。写一个程序,实现基于二叉树表示的算术表达式Expression的操作。 【基本要求】 【一】【必做部分】 假设算术表达式Expression内可以含有变量(a-z),常量(0-9)和二元运算符(+,-,*,/,^(乘幂))。实现以下操作: (1)ReadExpr(E)――以字符序列的形式输入语法正确的前缀表达式并构造表达式E。 (2)WriteExpr(E)――用带括号的中缀表达式输出表达式E。 (3)Assign(V,c
calc
- 一个简单的科学计算器,用vc6.0编的,不仅有简单的十进制四则运算,包括平方、取模等高级运数,还有角度和弧度的三角函数计算,还有二进制、八进制、十六进制的计算。-A simple scientific calculator, using vc6.0 made, not just a simple decimal arithmetic, including the square modulus, such as the number of senior transportation, as wel
suanshubianma
- 算术编码是将累积分布函数的区间(0,1)分成许多互不重叠的小区间,每个信源符号对应于各个小区间,每个小区间的长度等于这个信源符号的概率分布值,在此小区间内取一点,取该点二进制小数点后l位作为这个信源符号的码字。把这基本思想运用到信源符号序列中来,能计算出信源符号序列的累积分布函数,使每个符号序列对应于累积分布函数上的不同区间,在此区间上取一点,将其二进制小数点后l位作为这符号序列的码字,只要这些区间不重叠,编的的码即为算术编码。-Arithmetic coding is the cumulati
Lab07-Timer
- DSP5416时钟配制,片内定时器是一个软件可编程定时器,可以用来产生周期的中断信号。 定时器主要由 3 个寄存器所组成:定时器寄存器(TIM) 、定时器周期寄存器(PRD)和时器控制寄存器(TCR) 。这 3 个寄存器都有映象寄存器,它们在数据存储器中的地址分别24H、25H 和 26H。TIM 是一个递减计数器;PRD 中存放计数值;TCR 中有定时器的控制和状态位-DSP 5416 timer configuring,A timepiece, especially one used for
LongestPiece
- 这是一个对于输入的任意长度的二进制数输出其最长0连续序列个数和最长1连续序列个数的算法程序-This is a arithmetic that for each binary number you input can output it s longest sequence number of 1 and sequence number of 0.
tree
- 算术表达式与二叉树之间存在着对应关系,编写把以前缀形式输入的合法算术表达式转换为中缀表达式,再转换为后缀表达式,并求表达式的值-Arithmetic expressions with binary tree there is a correlation between the preparation of the form to enter the legitimate prefix arithmetic expression conversion infix expression, and t
ForWin32
- 一种高性能的算术编码方法。对二进制文件有很好的压缩性能。-A high-performance arithmetic coding method. Binary file has a very good compression performance.
MySource
- 1)设定字节型变量VAR1的内容为35H,编写程序将VAR1的高4位与低4位分离,分别作为低4位保存在RES1和RES2中,这两个变量高4位置0。 2)设定32位(二进制)数据0E2597455H(注:最高位为E)保存在变量VAR2中,将该变量中的内容算术左移2位,所得结果仍然保存在VAR2中-1) Set the contents of byte variable VAR1 is 35H, the preparation of the program will VAR1 high 4