搜索资源列表
n
- DELPHI实现图象处理,实现灰度转换,可能有点小错误,需要少作修改-DELPHI image processing, Grayscale conversion, may be a bit small, less need for change
25093950538
- Von Neuman在1940年提出了平方取中法,其原理是将一个给定的2n比特的数平方,然后高位补0得到4n比特的数,再截取中间的2n位进行下次迭代,并得到一个随机数序列。这种方法无论是在硬件实现上,还是在仿真测试上都比较容易实现,但是它的周期受初始值的影响很大,如果初始值选得不好,会严重影响随机数序列的质量和周期,而且其最大周期不会超过22n 随机数生成-Von Neuman in the 1940 square from France, Its principle is to be a
shanshuwenti
- 给定n位正整数a,去掉其中任意k<=n个数字后,剩下的数字按原次序排列组成一个新的正整数,设计算法找出剩下的数字组成的新数最小的删数方案-Given n-bit positive integer a, removing one arbitrary k <= n In the figures, the remaining number of the original order to form a new positive integer, design algorithm to id
Recursive
- 格雷码问题 1.问题描述 对于给定的正整数n,格雷码为满足如下条件的一个编码序列: (1) 序列由2n个编码组成,每个编码都是长度为n的二进制位串。 (2) 序列中无相同的编码。 (3) 序列中位置相邻的两个编码恰有一位不同。 例如:n=2时的格雷码为:{00, 01, 11, 10}。 设计求格雷码的递归算法并实现。 -Gray-code problem 1. Problem descr iption for a given positive integer n
counter
- 详细描述n比特计数器及RTL验证,计数器的位宽用generic语句设置为参数。MY_CNTR是一个n比特二进制的计数器,可以向上向下计数,并可设置计数值,计数器用异步的方式进行低电平复-A detailed descr iption of n-bit counter and RTL verification, the bit counter is set to use generic parameters statement. MY_CNTR is an n-bit binary counter
ac
- 最大 k 乘积 设 I 是一个 n 位十进制整数。如果将 I 划分为 k 段,则可得到 k 个整数。这 k 个整数的乘积称为 I 的一个 k 乘积。 对于给定的 I 和 k,请计算 I 的最大 k 乘积。 -I set up the largest product k is a n-bit decimal integer. If the paragraph I is divided into k, k-integral can be obtained. This is the
N!
- 计算N!: 编写计算N阶乘的程序,数值N由键盘输入,N的值要在0到65536之间(用一个16位的字表示),结果在显示器上显示。 -Calculation of N! : Preparation of N factorial process calculation, numerical N from keyboard input, N the value of 0-65536 in between (with a 16-bit word that), the results shown i
lagrange
- 1.n个节点分段Lagrange插值多项式; 2.使用格式y=lagrange(x0,y0,x,k); 3.输入项x0为n维插值节点向量,y0为n维被插函数值向量; 4.x为m维插值点向量,k为分段插值多项式次数,不超过3,缺省为k=1; 5.输出y为插值点x处的函数值;- 1.n a sub-node Lagrange interpolation polynomial 2. The use of the format y = lagrange (x0, y0,
mult
- 实现十进制的两个n位的大整数乘法。输入两个大整数,输出两者之积。该算法比普通乘法时间复杂度低,效率高。-Achieve the decimal two n-bit large integer multiplication. Enter two large integers, the output of both of the product. The algorithm time complexity than ordinary multiplication is low, and high e
lab2
- n-bit sequentional substractor in vhdl
JQuery
- Jquery是继prototype之后又一个优秀的Javascrīpt框架。有人使用这样的一比喻来比较prototype和jquery:prototype就像Java,而jquery就像ruby.实际上我比较喜欢java(少接触Ruby 罢了)但是jquery的简单的实用的确有相当大的吸引力啊!在项目里我把jquery作为自已唯一的框架类包。使用其间也有一点点心得,其实这些心得,在jquery的文档上面也可能有讲,不过还是记下来,以备忘罢。-Jquery is the second protot
zhezeshi
- C#正则表达式小结 以下是一些常用的正则表达式,觉得实用就收藏一下吧。 只能输入数字:"^[0-9]*$"。 只能输入n位的数字:"^\d{n}$"。 只能输入至少n位的数字:"^\d{n,}$"。 -C# Regular expression summary The following are some common regular expressions, find useful about it on the collection. Can only ent
Exhaustive-N-binary-system-number
- 列举N位二进制数,的分治递归算法,由C语言写成,附带运行,生成文件-Enumerate the N-bit binary number, divide and conquer recursive algorithm, written in C, with run to generate the file
BIT-N-queen
- 皇后问题是经典的回溯算法问题,本文使用BIT位运算对非递归的回溯算法进行优化,取得了较好的效果,对其他类似问题的算法的优化有一定指导意义-Queens problem is a the classic backtracking algorithm, BIT bit computing to optimize non-recursive backtracking algorithm, and achieved good results, the optimization algorithm to
sy9_2a
- 利用动态分配内存方法,编写一个能计算N位整数相加的程序,如N≤100。 根据N的值动态分配3个内存空间,分别存放加数、被加数和相加的结果;它们以字符串的形式存放 -Use of dynamically allocated memory, write a calculation of the N-bit integer program, such as N ≤ 100. Dynamically allocated memory space according to the value of
N---Bit-Full-SUBSTRUCTURE
- VHDL program for “N Bit Substructure” behavioral design in Xilinx integrated software environment
bit-yuanpailie
- 给定n个大小不等的圆c , c , , cn 1 2 ,现要将这n个圆排进一个矩形框中,且要求各圆与矩形框的底边相切。圆排列问题要求从n个圆的所有排列中找出有最小长度的圆排列。例如,当n=3,且所给的3 个圆的半径分别为1,1,2时,这3个圆的最小长度的圆排列如图所示。其最小长度为2 + 4 2 。-Given n circles of varying sizes c, c,, cn 1 2 , now to the n rows into a round rec
main
- 对于n位选手进行赛程安排,确定比赛项目和时间-For an n-bit players for the schedule, identify events and time
BinaryAdd
- 有两个各存放在数组A和B中的n位二进制整数,考虑它们的相加问题.两个整数的和以二进制形式存放在具有(n+1)个元素的数组C中-There are stored in each of the two arrays A and B of the n-bit binary integers, the sum consider their problem two integers in binary form and stored in a (n+1) element array in C
Print1ToMaxOfNDigits
- 输入数字n,按顺序打印出从1到最大的n位十进制数-Enter a number n, in order to print from 1 to the maximum number of n-bit decimal
