搜索资源列表
计算分数的精确值
- 使用数组精确计算M/N(0<M<N<=100)的值。如果M/N是无限循环小数,则计算并输出它的第一循环节,同时要求输出 循环节的起止位置(小数位的序号) *问题分析与算法设计 由于计算机字长的限制,常规的浮点运算都有精度限制,为了得到高精度的计算结果,就必须自行设计实现方法。 为了实现高精度的计算,可将商存放在一维数组中,数组的每个元素存放一位十进制数,即商的第一位存放在第一个元素中,商的第二位存放在第二个元素中....,依次类推。这样就可以使用数组不表示一个高
多赋值语句算术表达式解析器2.2
- 能计算如下表达式:x=3 y=4 z=x^2+sin(y) -expression can be calculated as follows : 3 x = y = z = 4 x ^ 2 sin (y)
计算 HASH 值的 C 语言源代码
- 计算 HASH 值的 C 语言源代码 -calculated hash value of the C language source code
表达式计算源代码
- 能计算+-*/四则运算,支持变量,可以给变量赋值,支持条件判断等...开发环境vc6,win2000sp4下测试通过-computation -* / 4 Operational support variables, variables can be assigned to support the conditions judgment ... vc6 development environment, under the test win2000sp4
逻辑运算、命题公式的真值表
- 给出任意一个合式公式,我们应该怎样能够将它用C语句表示出来,并且能够计算它在各组真值指派下所应有的真值(或是逻辑运算的结果)。这有多种方法。下面我们给出一种较为简便的方法。上面我们已经给出了逻辑连结词的定义,根据这种定义方法,我们也可以把一个合式公式表示成为条件语句中的条件表达式,这样我们就可以得到该合式公式的逻辑运算结果了。
基于二叉树求算术表达式求值的课程设计
- 这是本人做的关于基于二叉树求算术表达式求值的课程设计,供大家一起学习。表达式求解问题 设计一个程序实现基于二叉树表示的算术表达式的操作。 1、 需求分析 1. 算术表达式的合法输入数据包括变量(A~Z,a~z)、常量(0-9)和二元运算符(+,-,*,/,^(乘幂))。程序对数据输入格式不作要求,用户需自己保证语法正确,详见用户手册说明。 2. 演示程序以人机对话的方式执行,即在计算机上显示提示信息后,由用户在键盘上输入对应的数据或命令,程序将执行相应的操作并显示下一步信息。 3. 程
Matlab中erf(x)函数的表达式是怎样的
- Matlab中erf(x)函数的表达式是怎样的,erf(x)与标准正态分布函数之间的关系是怎样的,怎样自己编制一个计算标准正态分布函数数值近似值的函数,如何利用matlab自带的erf(x)函数包近似计算标准正态分布函数的值,数值计算值与用erf(x)转化求得的值之间的相对误差是怎样的。-将中文译成英语 Matlab, erf (x) function expression is what, erf (x) the standard normal distribution func
pi3f90
- 用并行方法编写的计算π值的程序,常用来测试并行环境的运算速度。-Method using parallel computing π value written procedures used to test the speed of parallel computing environment.
one_dimension_evaluate
- 一维势阱计算基态能量本征值,可以计算有限深势阱的基态能量本征值,运行时有提示。-One-dimensional potential well calculation of the ground state energy eigenvalue can be calculated finite deep potential well of the ground state energy eigenvalue, running tips from time to time.
C
- C#算术表达式求值我是的算法核心是逆波兰式.还有就是w3eval这个算术表达式求值算法很不错.但有一种表达式它会报错.我想这是一个BUG:w3eavl不能计算"-(3+5)"的值.或者类似的计算式.-C# Arithmetic expressions evaluate my algorithm is the core of Reverse Polish-style. W3eval there is the arithmetic expression evaluation algorithm is
jiusan
- 利用多边形无限接近圆的方法计算π值,可以通过增加变数来改变其精确度。-Unlimited use of polygons close to a circle π value calculated can be variable to change by increasing its accuracy.
jisuanzukang
- 电力系统中根据电压电流计算阻抗,其中使用半周积分算法计算电压电流的有效值-Power system voltage and current calculation based on impedance, in which the use of half integral algorithm of the RMS voltage and current
zhenzhibiao
- 一个专门用来计算离散数学真值表的程序,用C语言编写-A special discrete mathematics used to calculate the truth table of the program, using C language
mpv
- 这是一个pvm实现的并行计算程序 计算pai值 欢迎大家分享-this is also a parallel progam in linux
PI
- 计算π值 C++ 并行算法 分别使用方法左矩形分解、中矩形分解以及梯形分解-π C++ MPI π C++ MPI π C++ MPI π C++ MPI
LabVIEW-point-line-meter
- 利用Matlab的图象处理功能对摄象头采集到的仪表图象进行分析,得到指示值,同时利用dll 技术,在虚拟仪器编程软件Labview 中调用,输出得到对应的计算值,实现了对指针式仪表的自动监控,增加了整个系统的稳定性和可靠性。-Using Matlab image processing functions on the image pickup head collected instrument image analysis, to give the instruction value, whil
OpenMp
- 并行计算,使用OpenMp计算π值,两种方式;矩阵向量乘法;矩阵乘法-Parallel computing, using OpenMp calculated π values in two ways matrix-vector multiplication matrix multiplication
GRANOM
- 可以建立二维剖面模型,并计算重力数据,对计算值和观测值做比较,。-It calculates the gravuty anomaly associated to the provided geometries, and compares calculated and observed data.
批量法向量计算代码
- 由点的三维坐标,进行批量计算所在点的局部曲面的法向量,法向量中x赋值给予,y,z计算得出。然后计算欧拉角表示的坐标(From the point of three-dimensional coordinates, batch calculation of the local surface of the normal vector, the normal vector x assignment given, y, Z calculation. Then calculate the coordin
AC值计算器
- 彩票的AC值计算 可以计算出任何彩票的AC值 值得拥有(The calculation of the lottery's value can calculate any lottery's AC value.)
