由买买提看人间百态

topics

全部话题 - 话题: interger
首页 上页 1 2 3 (共3页)
h****r
发帖数: 2056
1

no, long is 32 bits too.
j***y
发帖数: 87
2

it depends on whether you are using a 64bit program or 32bit program.
c*****t
发帖数: 1879
h****r
发帖数: 2056
y***y
发帖数: 56
5
来自主题: Unix版 - 有没有四舍无入的函数?
what if x is equal to interger.
y***y
发帖数: 56
6
来自主题: Unix版 - 有没有四舍无入的函数?
He deleted his post because he know he made a mistake.
BUt it seems you still dont understand and self-feeling good.
What I mean is int(x+0.5) gives you x if x is an interger itself.
but 四舍五入 gives you x+1. so int(x+0.5) is a wrong answer. You need
to write if-else.
c******r
发帖数: 104
7
【 以下文字转载自 Economics 讨论区 】
【 原文由 charchar 所发表 】
For finance research, any language is ok.
The finance research mostly uses the mathmatic part
of the computer language, which is always some simple
math function or expression within the interger, real
or long real(double real) data type.
In most popular computer languages, such as MSVC, Borland
C++,
Fortran, Pascal. even Java, or VB, all of tham can handle
this easy mathmatic application without any problem.
To be in more detail.
Fortran is focus
t**i
发帖数: 511
8
来自主题: Computation版 - 求解:Matlab 积分
I want to use linear interpolation to make a function f, then intergrate it,
but matlab says that it is a variable, for example, the code is:
a=[1,2,9,20];
b=[2.5,3.4,4.5,4.8];
f=@(c) interp1(a,b,c,'linear');
% intergate f from 1 to 20
quad(@f,1,20)
the error is:
"f" was previously used as a variable,
conflicting with its use here as the name of a function or command.
求教:怎么才能改进,让f变为function,而不是variable?
Thanks a lot for your answering!
f*****y
发帖数: 124
9
来自主题: Computation版 - 请教一个问题
If the d is just one of 1,2 or 3,(or any integer)
you can plot lines with different d!then find out which line fits your data.
If d is not an interger, you should find a way to regress your data by an ex
ponential rule.
you should get values of a, b and c in a regression equation like lnA=a+bB^c
.
A0=a,(-1/(1+d))=c and B0=-b/c....
Good luck
x******i
发帖数: 172
10
Given and AVL tree show (using pseudocode) how to support the following
queries:
RangeMin(K1, K2): consider the field data stored in each node to be an
interger. Find the key with minimum data values among all the keys which are
between k1 and k2 in O(log n) time. Hint: consider storing an additional
field in the Node structure and show how can this field be maintained during
updates.
Thank you very much
c******r
发帖数: 104
11
来自主题: Economics版 - Re: VC, Boland C++ builder or Fortran?
For finance research, any language is ok.
The finance research mostly uses the mathmatic part
of the computer language, which is always some simple
math function or expression within the interger, real
or long real(double real) data type.
In most popular computer languages, such as MSVC, Borland
C++,
Fortran, Pascal. even Java, or VB, all of tham can handle
this easy mathmatic application without any problem.
To be in more detail.
Fortran is focusing on its efficiently solving advanced
math
l*****e
发帖数: 65
12
来自主题: Mathematics版 - 级数的估计


x_n is bounded if and only if x_n=0 for all n. This happens if and only if
f(n) \in Integer*\pi.
proof(sketch): x_n is bounded if sin(f(n))->0 as n approaches infinity.
That means f(n)/ \pi -> integers when n is sufficiently large.
lemma1:if 实系数m次多项式f(x) satisfies f(n)-> Intergers when n is large,
then
a_i are rational numbers.
proof: Induction on the degree m of f(x) and consider a new polynomial
f(x+1)-f(x) with degree m-1.
Lemma2: if a rational [polynomial f(x) st. f(n)-> integer for n
z**e
发帖数: 10
13
来自主题: Mathematics版 - Quesion about real analysis, pls HELP
Suppose A is Positive Interge Set , so what kind of map can from A*A*A*.... to
R?

product
X*****r
发帖数: 2521
14
来自主题: Mathematics版 - 紧急求助!Stochastic Integer Programming
?
stochastic mixed interger programming没有global optimum吗?
就是optimize expected objective 的全局最优解啊?
X*****r
发帖数: 2521
15
来自主题: Mathematics版 - 紧急求助!Stochastic Integer Programming
非常感谢!
现在就是我formulate了一个Stochastic interger programming 的问题
然后提出了一个distributed的算法,但是目前需要和optimum比较
这个比较我就不知道用什么来比较了
没比较的话没法说明这个distributed 算法性能上到底差多少,不知道怎么办才好了
l*****a
发帖数: 119
16
来自主题: Mathematics版 - 紧急求助!Stochastic Integer Programming
interger programming 就是NP hard Stochastic IP比IP更难
全局解当然存在 问题是我们能不能在多项式时间内找到
而NP-hard的意思就是 我们不可能找到一个多项式时间的算法找到这个解
a*****g
发帖数: 1320
17
ONE MORE: HOW MANY FIVE DIGIT INTERGERS ARE PERFECT SQUARE?

PROBABILITY
r*****p
发帖数: 35
18
来自主题: MedicalCareer版 - Need CK partner badly
My CK exam in one month. Like to find some spype partner study MTB 2 or
kaplan notes or CD qs. Hope we can try to speak in English. My skype ID:
intergity. Thanks
r*****p
发帖数: 35
19
来自主题: MedicalCareer版 - CK MTB+UW 快速过 (PST 8pm-10pm)
I'm interested. My skype ID: intergity.
r*****p
发帖数: 35
20
来自主题: MedicalCareer版 - #### match 系列讲座第二季接受报名####
Please add me 4/6 and 4/8
My skype ID: intergity.
Thanks
r*****p
发帖数: 35
21
来自主题: MedicalCareer版 - 成立小组一起办California letter
Please add me ! skype ID: intergity. Thanks
r*****p
发帖数: 35
22
来自主题: MedicalCareer版 - #### match 系列讲座第三季接受报名####
Please add me on 4/12. My skype ID is : intergity. thanks
r*****p
发帖数: 35
23
Please add me . ID: intergity. Thanks.
r*****p
发帖数: 35
24
来自主题: MedicalCareer版 - 临时起意,希望斑竹见谅
There are so many nice person. Thanks for sharing
Please add me.Skype ID: intergity.
我想参加组1组3和组4的讲座.谢谢。
r*****p
发帖数: 35
25
来自主题: MedicalCareer版 - Step3 NBME discussion
Plan to discuss Step 3 NBME forum 2. Start from this weekend. 1-2 blocks/day
.Hope we can start it soon.
Please leave your contact info perfer Skype ID.
My skype ID is: intergity.
Thanks.
r*****p
发帖数: 35
26
来自主题: MedicalCareer版 - Arthur will give a talk about Matching this Sat
Please add me: Skype: intergity.
Thanks
r*****p
发帖数: 35
27
Please add me if you have unfilled position.Thanks.
Skype ID: intergity.
r*****p
发帖数: 35
28
来自主题: MedicalCareer版 - Mock interview
Please add me too. Thanks for your help inadvance!
My skype ID: intergity
m******r
发帖数: 1904
29
☆─────────────────────────────────────☆
hmis (hmis) 于 (Sun Apr 1 22:23:20 2012, 美东) 提到:
请各位同学再次连接下跟贴报名,名额有限请迅速报名。(接受报名只到100楼)
讲座老师:
Time :4/6, EST 8-10pm
Speaker: VictorG
Time : 4/8, CST2-4pm, EST 3-5pm
Speaker: Shine11
讲座规则及方法:参考第一次讲座
技术贴:http://www.mitbbs.com/article_t2/MedicalCareer/31471351.html
http://www.mitbbs.com/article0/MedicalCareer/31471379_0.html
VIP同学:
puma1979 (jenny)
xiaobeibao (小背包)
macula (2011)
newpoliceman (newpoliceman)
walleva (eva)
grantgran (grantgran)
flashingcar... 阅读全帖
m******r
发帖数: 1904
30
☆─────────────────────────────────────☆
hmis (hmis) 于 (Mon Apr 9 20:46:16 2012, 美东) 提到:
让风暴来得更猛烈些吧!牛群出没了,童孩们,冲!!!
请各位同学再次连接下跟贴报名,名额有限请迅速报名。(接受报名只到100楼)
讲座老师:
Time: 4/12 EST 8-10 PM
speaker: Zuomeng
yoyoseli
Time: 4/16 8-10pm
Speaker: Emma00
TIMINGCHAIN
Tinyapollo
讲座规则及方法:参考第一次讲座
技术贴:http://www.mitbbs.com/article_t2/MedicalCareer/31471351.html
http://www.mitbbs.com/article0/MedicalCareer/31471379_0.html
VIP同学:
==================================================================... 阅读全帖
m******r
发帖数: 1904
31
☆─────────────────────────────────────☆
hmis (hmis) 于 (Tue Apr 17 22:48:44 2012, 美东) 提到:
大结局,活动即到尾声!!!
请各位同学再次连接下跟贴报名,名额有限请迅速报名。(接受报名只到100楼)
讲座老师:
Time: 4/19 EST 8-10pm
Speaker: LULUDD
Time: 4/21 EST 4-6pm
Speaker: sleepycoffee
讲座规则及方法:参考第一次讲座
技术贴:http://www.mitbbs.com/article_t2/MedicalCareer/31471351.html
http://www.mitbbs.com/article0/MedicalCareer/31471379_0.html
===============================================
VIP :wherewhen123
sabrina99923
flashingcard (佳佳)
zhu84518 (lot)
dongyang (don... 阅读全帖
m******r
发帖数: 1904
32
☆─────────────────────────────────────☆
hmis (hmis) 于 (Sat Aug 4 22:21:02 2012, 美东) 提到:
请在此贴后报名。 名额有限,报名截止70楼.
此次的 VIP 名单(上次match talk第四季 写感想的童孩)
Meganli1998
cusmle
Ashlin
kittencute
wherewhen123 同声传译
Sarah
mmmouse2010 (mmmouse2010)
zilkr00 (Rubimaks)
gosarah
alexanda (鸭梨山大)
Sarah2 (Sarah)
incentive (incen)
hanabi (Ken)
walleva (eva)
lancom2008 (xiaoxiao)
xiaobeibao (小背包)
zilkr00 (Rubimaks)
pking
ilovemilktea (milk tea)
ducklingdong
xiaoliuliu (xiaoliuliu)
dongyang (dongyang)
leeky1978 (le... 阅读全帖
J**********g
发帖数: 213
33
来自主题: Quant版 - the brainteaser...
I think what he means is that
we have x units for arrangement, if there are 2 units per row, then is one
unit left, 3 units per row, one unit left, 10 units per row, one unit left,
but 11 units per row, nothing left.
It's obvious x=121 works, but I don't think the answer is unique: we are
looking or an positive interger such that:
1=x mod 2
1=x mod 3
1=x mod 10
and 11 is a factor of x.
11 does not work, and 121 works, and we can keep testing. it's a solution if
and only if 11 divides x and 30 di
p**e
发帖数: 41
34
来自主题: Quant版 - 再向大家请教一道面试题
A company has a competition to win a car. Each contestant needs to pick a
positive interger. If there's at least one unique choice, the person who
made the smallest unique choice wins the car. If there are no unique
choices, the company keeps the car and there's no repeat of the competition.
It turns out that there are only three contestants, and you are one of
them. Everyone knows before picking their numbers that there are only 3
contestants.
How should you make your choice?
S*******w
发帖数: 24236
35
来自主题: Quant版 - 问个optimization的问题
w_i <= x_i W_{UB}
w_i >= x_i W_{LB}
W_{UB} W_{LB} 是w_i的upper bound 和 lower bound

interger
t***h
发帖数: 5601
36
来自主题: Science版 - Re: Tough for me, Easy for you!
f(n) = (2*[n/2]+1)!
g(n) = (2*[(n+1)/2])!
where [] is Gauss interger function
The idea is to let f(n), g(n) be alternatively larger than the other,
and keep the multiple growing.
f********t
发帖数: 4574
37
来自主题: Science版 - Re: Integer Optimization
Excel has a simple interger programming solver, I guess it
is based on Branch & Bound.
You may find lots of Genetic Algorithms on the internet. The
trouble is you need to tune the GA to your problem.
c********n
发帖数: 7
38
来自主题: Science版 - 一道有意思的脑筋急转弯题
One general way:
Set colors to numbers: red=1, yellow=0, blue=-1.
Suppose all the 10 people's cap = x10, x9, x8, ...x1.
The #10 say the number: X9+...+x1.
Then #9 say the number: X9 after knowning the X9+...+x1 from
#10's saying and counting x8+...x1.
It is possible that the sum will not be in the range of -1, 0, 1.
Then say the number which is in the range and differ by the real
number by 3*interger, for example, if X9+X8+...+X1=4,
then #10 announces: red which stands for 1 (4-1=3*1)
C******t
发帖数: 72
39
A simple example: x ~ N (1/2,1/12), Y~ Uniform (0,1). Both of them have the expectation 1/2, and variance 1/12, but they are different distribution.
In more general scienario, there is a theorem: Let Fx(X) and Fy(Y)be two
cdfs all of whose moments existl If X and Y have bounded support, the Fx(u)=
Fy(u) for all u if and only if Ex^r=Ex^r for all intergers r=0,1,2,....;or
if the moment generating unctions exist and Mx(t)=My(t) for all t in some
neighborhood of 0, the Fx(u)=Fy(u) for all u.
h*e
发帖数: 10233
40
来自主题: Statistics版 - 这里有没有SAS ODS高手?
请教一个问题。我有一个dataset要output到excel,用的是ODS, 现在有一个问题。
dataset第1*n+1行(1,4,7。。。)需要用interger format,第1*n+2行(2,5,8。
。。)需要用currency format,
第1*n+3行(3,6,9。。。)需要用% format.这个code要怎么写呢?我想用cellstyle
as,但是不知道format部分要加在哪里。高手指点一下。
b********r
发帖数: 764
41
来自主题: Statistics版 - Help for sas to delete observation
SAS中非interger的这种等于判断基本都是false的
还是用_N_是正道
首页 上页 1 2 3 (共3页)