Computes the permanent of a nonnegative Integer matrix. Notes: Compile in C++, "g++ -o permanent permanent.c".
标签: permanent nonnegative Computes Compile
上传时间: 2013-12-23
上传用户:zhangyi99104144
Computes the hafnian of a nonnegative Integer matrix. Notes: Copy hafnian.c to main.c, in the same directory as Rothberg s code (see above). You can download the .tar directory with the code weighted-match.tar here. Then "make" the codes (this codes are in C, not C++). The program is then run by the command "wmatch".
标签: hafnian nonnegative the Computes
上传时间: 2013-12-23
上传用户:lmeeworm
merge sort give a set S of n Integers and another Integer x, determine whether or not there exits two elements in S whose sum is exactly x.
标签: determine Integers another Integer
上传时间: 2013-12-23
上传用户:xmsmh
a program that takes in an Integer number as an argument and returns its equivalent in the binary and octal formats.
标签: equivalent argument program Integer
上传时间: 2015-07-22
上传用户:h886166
ACM试题Problem K:Ones Description Given any Integer 0 <= n <= 10000 not divisible by 2 or 5, some multiple of n is a number which in decimal notation is a sequence of 1 s. How many digits are in the smallest such a multiple of n?
标签: Description divisible Problem Integer
上传时间: 2015-08-23
上传用户:zhenyushaw
BNB20 Finds the constrained minimum of a function of several possibly Integer variables. % Usage: [errmsg,Z,X,t,c,fail] = % BNB20(fun,x0,xstatus,xlb,xub,A,B,Aeq,Beq,nonlcon,settings,options,P1,P2,...) % % BNB solves problems of the form: % Minimize F(x) subject to: xlb <= x0 <=xub % A*x <= B Aeq*x=Beq % C(x)<=0 Ceq(x)=0 % x(i) is continuous for xstatus(i)=0 % x(i) Integer for xstatus(i)= 1 % x(i) fixed for xstatus(i)=2 %
标签: constrained variables function possibly
上传时间: 2014-01-13
上传用户:youth25
Power frequency harmonic measurement using Integer periodic extension method
标签: measurement frequency extension harmonic
上传时间: 2015-10-17
上传用户:大三三
用GOSS解线性方程组 Dim i As Integer 循环变量 Dim j As Integer 循环变量 Dim k As Integer 循环变量
上传时间: 2015-10-25
上传用户:xinzhch
Given an positive Integer A (1 <= A <= 109), output the lowest bit of A. For example, given A = 26, we can write A in binary form as 11010, so the lowest bit of A is 10, so the output should be 2. Another example goes like this: given A = 88, we can write A in binary form as 1011000, so the lowest bit of A is 1000, so the output should be 8.
标签: A. positive Integer example
上传时间: 2014-01-22
上传用户:rocketrevenge
Did anyone ask for an Integer version of sqrt? Following is an implementation I found and adapted. Hope it is useful for somebody.
标签: implementation Following adapted Integer
上传时间: 2013-12-24
上传用户:阿四AIR