|
g*****g 发帖数: 34805 | 2 Yes, java always does it this way. Separate declaration and implementation
doesn't make it more OO.
question.
if
definitions |
|
J*******n 发帖数: 2901 | 3 Definitions of Designations |
|
r********r 发帖数: 208 | 4 Just began to learn Thinking in Java, 4th edition. I read the method in the
title among the following code, but failed to find its definition. Anyone
can give me a hint? Thanks in advance.
----on Page 76 of Thinking in Java, 4th edition -------
//: object/ShowProperties.java
public class ShowProperties {
public static void main(String[] args) {
System.getProperties().list(System.out);
System.out.println(System.getProperty("user.name"));
System.out.println(
System.getProperty("java.library.path")... 阅读全帖 |
|
y****e 发帖数: 23939 | 5 一个从MSVC port到GCC的project, 有一个GlobalDefinition.h在一个目录中,定义了
很多global的变量,现在编译的时候出现了很多"multiple definition of blah blah"
的错误在link stage。这个头文件已经有inclusion guard,怎么还会有这个问题呢?
网上查了一下,说这个inclusion guard只能protect a single translation unit。有
点迷惑,怎么解决这个问题呢?
Thx |
|
e****d 发帖数: 895 | 6 Class mytest has external linkage. Both compilation units
have the same definition of mytest, which doesn't violate
the ODR. |
|
r*******y 发帖数: 1081 | 7 but the example below is not ok.
//1.cpp
int i;
int main(){
return 0;
}
//2.cpp
int i;
if I compile g++ -o 1 1.cpp 2.cpp, then I will get a
redfinition error? here int i is also an external linkage.
What is the difference between th definition of a class and
an interger here? thanks. |
|
t****t 发帖数: 6806 | 8 --quote-- [3.2, clause 5]
If the definitions of D do not satisfy these requirements, then the behavior
is undefined.
--end quote--
it's "undefined", not "ill-formed". there are multiple level of "error" in c
++ standard, you need to differentiate. conforming compiler only need to
report "ill-formed" program, without "no diagnostic required". |
|
p****r 发帖数: 165 | 9 when in Visual Studio 2008: setup linker option for an already created .def
file. the compiler always complain at the linking stage:
fatal error LNK1104: cannot open file '/DEF: XXXX.DEF'
I googled, and I specified '/DEF: XXXX.DEF' in
project-> property-> linker-> input-> Model definition: use /DEF: XXXX.DEF
to specifiy the file name.
but at linking stage, the compile failed.
any suggestions? thanks. |
|
G*****7 发帖数: 1759 | 10 try specifying full_path_to\XXXX.DEF without "/DEF:"?
you can verify the actual linker command line by looking at
project-> property-> -> Linker -> Command Line. be sure to apply all changes
before looking at the command line.
i believe if you put "/DEF:xxxx.def in "input-> Model definition", your
command line ends up like
blah blah blah /DEF "/DEF:xxxx.def" blah blah blah.
def |
|
w*s 发帖数: 7227 | 11 救命啊,
c++ include里的list definition跟boost list不一样
引起编译错误。我又得用iosteam等std c++的header。
大家有什么好办法?
谢谢! |
|
N****s 发帖数: 645 | 12 我的电脑知识非常有限。诚请帮忙。
我的电脑的操作系统是Windows XP. 前几天Audio Device 被不小心删掉了,现在电脑没
有声音了。每次开机,都会弹出对话框,要求装 Audio Device on High Definition
Audio Bus
-试了随机来的4张cd,Installation Wizard 都找不到这个软件。
-在C盘搜索Recovery Manger, 找不到。
-在网上搜索Windows XP Audio Device Download, Microsoft主页没有,其他出来的有
些乱,搞不清头绪。
我想这个问题对大牛来说,也许会比较简单,特来求教,如何/在什么网站可以下载这
个软件?
非常感谢。 |
|
w*******i 发帖数: 987 | 13 definition,theorem这些内容都被设在一个盒子里面了,觉得不好看
怎么去掉这个盒子,就好比背景色为透明一样?
谢谢 |
|
j****x 发帖数: 943 | 14 As to the definition of galerkin and collocation method, in general, shouldn
't that be: collocation=exact fitting on nodes and galerkin=best fitting, i.
e. minimum of residual? |
|
z********u 发帖数: 30 | 15 Quote"My definition is, therefore, as follows: Men are involuntarily
unemployed if, in the event of a small rise in the price of wage-goods
relatively to the money-wage, both the aggregate supply of labour willing to
work for the current money-wage and the aggregate demand for it at that
wage would be greater than the existing volume of employment."
I am a little confused about his logic, who can tell me that.. |
|
d*******d 发帖数: 3382 | 16 If high order statistics are taken into consideration,
white noise definition needs to be reconsidered.
We can define white noise if it's not correlated
to other time. In this way, it does not have to be stationary,
and spectrum does not exist.
Also, white noise is relevant to bandwidth. There is no
physical infinite bandwidth signal. Therefore, "whiteness"
is always with respect to the sampling rate of the signal.
If a signal is filtered at B bandwidth continuously,
then sampled at double of th |
|
j****s 发帖数: 156 | 17 What I have learned as Hadamard's Inequality is that for positive-semi-
definite matrix
det(A)<=a_11a_22.....a_NN
where a_ii is the $i$th diagonal elements of A.
This is different from the definiation of Hadamard's Inequality in Wiki and
Mathworld.
http://en.wikipedia.org/wiki/Hadamard's_inequality
And I cannot find the related matrials from google!!!!!!!!!!!!!!!!
What really is going on?
Thanks |
|
H****h 发帖数: 1037 | 18 Suppose A is an n by n positive definite real matrix. Then there are n
linearly independent vectors v_1,...,v_n such that (v_i,v_j)=A(i,j).
Let v_0 be the projection of v_1 to the space generated by v_2,...v_n.
Then v_0=b_2v_2+...+b_nv_n. To find the coefficients b_2,...b_n, we
solve the equations (v_1-b_2v_2-...-b_nv_n,v_j)=0 for j=2,...,n.
Thus we have (1,-b_2,...,-b_n)A=(C,0,...,0). Let B=A^{-1}. Then we have
(1,-b_2,...,-b_n)=B(C,0,...,0)=C(B(1,1),...,B(n,1)). Thus C=1/B(1,1),
and b_j=-B(j,1 |
|
j****s 发帖数: 156 | 19 What I have learned as Hadamard's Inequality is that for positive-semi-
definite matrix
det(A)<=a_11a_22.....a_NN
where a_ii is the $i$th diagonal elements of A.
This is different from the definiation of Hadamard's Inequality in Wiki and
Mathworld.
http://en.wikipedia.org/wiki/Hadamard's_inequality
And I cannot find the related matrials from google!!!!!!!!!!!!!!!!
What really is going on?
Thanks |
|
f*******g 发帖数: 55 | 20 Consider a dynamic process { Q[t] } evolving on the set of M-by-M positive
semi-definite matrices. In particular, { Q[t] } follows the recursive
equation:
Q[t+1] = Q[t] - Q[t] a[t] a[t]' Q[t] / (a[t]' (c I + Q[t] ) a[t]) + d I
where:
a[t] is an M-by-1 vector, which can be adjusted;
c and d are fixed positive real numbers; and
I is an M-by-M identity matrix.
Note that by normalization, we can consider a[t] to be a unit vector without
loss of generality.
The "total reduction" at time t
... 阅读全帖 |
|
c**a 发帖数: 316 | 21 Let C is known and C is positive definite.
How to approximate C as
C = x x' + D where x is a vector and D is a diagonal matrix
i.e.
min || C - x x' - D ||^2
s. t. D is a diagonal matrix
Is there an explicit solution ?
Is the problem convex?
Thanks. |
|
W******4 发帖数: 44 | 22 I am a PhD candidate in ME
Now my research project is focused on sheet metal bending.
In the definition of “Fixed-End Entity Bending” in API documents, the part
after bending can be divided into three portions:
Fixed Portion, Transformed Portion and Bent Portion. In my paper I want to
cite the three concepts but I cannot find them by Goolge or in journal
papers of scientific databases.
Can anyone tell me where the resource of the three concepts is?
Thank you very much! |
|
b***k 发帖数: 2673 | 23 ☆─────────────────────────────────────☆
anderg (anderg) 于 (Thu Oct 9 17:44:45 2008) 提到:
一个positive definite(PD)矩阵一定能分解成另一个PD矩阵的平方吗?
谢谢大家提示。
☆─────────────────────────────────────☆
cavaliere ( amo la salsa :) 于 (Thu Oct 9 18:12:37 2008) 提到:
sure
say A = Q^T * D * Q, where D is a diagonal matrix and Q is an orthogonal
matrix
Let B = Q^T * D^{1/2} * Q, then A = B^2
☆─────────────────────────────────────☆
anderg (anderg) 于 (Thu Oct 9 18:37:48 2008) 提到:
thanks!
i m dumb
☆────────── |
|
h*****u 发帖数: 204 | 24 On page 228 Shreve II:
Definition 5.4.3 A probability measure Q is said to be risk neutral if
(i) Q is equivalent to P.
(ii) Under Q, the discounted stock price is a martingale.
My question: He uses the discount stock price is a martingale,
why not the discount portfolio is a martingale?
My comment: From my experience, we usually use the risk neutral measure to
compute the option price.(?? Is this right?)
But in section 5.5 dividend-paying stocks,(page234-237) he said under the
risk neutral mea... 阅读全帖 |
|
h*****u 发帖数: 204 | 25 1 "Discounted portfolio value, given there is no cost/benifit of carry,
follows a martingale too UNDER the Q measure. B-S derivation uses this fact."
I think even if there is dividend/cost of carry, but the discounted
portfolio is still a martingale.
(if there is dividend/cost of carry, then the discounted stock price is not
martingale)
2 My comment: From my experience, we usually use the risk neutral measure
to
Derivative price is the expected discounted payoff UNDER the Q measure. You
are ri... 阅读全帖 |
|
y******i 发帖数: 199 | 26 I think even if there is dividend/cost of carry, but the discounted
portfolio is still a martingale.
正确
but shreve section 5.5 he didn't use the risk neutral measure to compute
theoption price, he used the measure such that the discounted portfolio is
martingale.
这就是risk-neutral measure。如果所有asset的discounted value都是martingale,
那么用它们所组成的portfolio的discounted value也必定是martingale。
My Question:
But in section 5.5 dividend-paying stocks,(page234-237) he said under the
risk neutral measure, the discount... 阅读全帖 |
|
y**t 发帖数: 50 | 27 for two square matrices A and B assume A is mXm, B is nXn
then A kronecker sum B=A kronecker product I2 + I1 kronecker product I1
where I1 and I2 are identity matrices with dimensions mXm and nXn respectively
hope you know the definition of kronecker product (tensor product) and
hope this help |
|
n****8 发帖数: 37 | 28 我看到:
A,B都是n x n 对称positive definite(pd)。
如果A-B是pd
那么 B逆-A逆一定也是pd. ( B^{-1} - A^{-1} )
请问为什么啊?
谢谢! |
|
g*******e 发帖数: 150 | 29 I couldn't find the exact definition for it using "google".
Any one has some idea about it?
Thanks a lot! |
|
|
C******g 发帖数: 2930 | 31 I'm going to say something now and I don't want you to get mad. Promise that
you won't? Promise?! Okay, fine -- I've never played Ico. It just didn't
happen. A mixture of procrastination and disc-read errors have conspired to
keep me from the lauded PS2 classic.
That changed late last week at a Sony press event, where the publisher
showed off the forthcoming, double-game remaster Ico and Shadow of the
Colossus Collection.
ICO / Shadow of the Colossus Collection
It may surprise you to learn that ... 阅读全帖 |
|
N****E 发帖数: 1474 | 32 发信人: happyland (心中有爱花开不败), 信区: Living
标 题: Real Estate Terms, Definitions and Dictionary
发信站: BBS 未名空间站 (Wed Jul 14 18:49:25 2010, 美东)
I am a new buyer and is unfamiliar with many terms on the real estate. I
just found the following website is very useful and hope you can benefit as
well:
http://www.realestateabc.com/glossary/ |
|
|
w*******y 发帖数: 60932 | 34 LG 55LE5400 - 55 inch 1080p 120Hz High-definition LED LCD TV $1599:
http://www.buydig.com/shop/product.aspx?sku=LG55LE5400
with free shipping
Specs:
Tuner: ATSC/NTSC/Clear QAM
Resolution: 1920x1080p
Response Time: 2.6ms
TruMotion 120Hz Yes
Viewing Angles: 178 H / 178 V
Contrast Ratio: 4,000,000:1 Dynamic
Inputs:
4x HDMI
3x Component
1x Digital Audio Out (Optical)
1x RF (Antenna/Cable)
1x PC Audio
SPECIAL FEATURES
Wireless 1080p Ready (WHDI) Yes
Wi-Fi Ready Yes
Picture Wizard II Yes
Backlight Con |
|
|
|
w*******y 发帖数: 60932 | 37 Sony HDRCX110 High Definition Handycam Camcorder $358 with Free Shipping w
code NLENS
Also in blue (sku sonhdrcx110L) and red (sku sonhdrcx110R) are same price.
this is the cheapest i saw by almost $40.
Link:
http://www.electronics-expo.com/make-a-store/item/SONHDRCX110 /Sony/HDRCX110/1.html
peep the wiki below. Much appreciated
|
|
|
w*******y 发帖数: 60932 | 39 Sony HDR-CX150 16GB High Definition Handycam Camcorder (Red) for $420
shipped. You must use coupon NLBASS at checkout for savings. It seems like
all they have is the red model in stock, considering the site wouldnt let
me add the blue or black one to cart. $420 is still the lowest price on
this model that i've come across.
Link:
https://www.electronics-expo.com/index.php?page=item&id=SONHDRCX150R
&extra=a:2:{i:0;s:40:"
03823345592a403b2f4a37a59384e7ab28f02 |
|
w*******y 发帖数: 60932 | 40 Technical Details :
Absolute state-of-the-art sonic performance for music and home theater
perfection with rich warm sound plus superior detail, clarity and presence
Cast-basket high-de?nition bass/midrange drivers and annealed pure aluminum
dome tweeters
Non-resonant high density PolyStone cabinets
Perfectly timbre-matched with Definitive Technology Pro Series surround
sound systems
Engineered to allow in-cabinet installation with excellent results
LINK : Link:
http://www.amazon.com/dp/B001N0LF |
|
w*******y 发帖数: 60932 | 41 High-Definition Over Series - Blu-Ray Format: Over America, Over British
Columbia, Over Ireland, and Over Alaska
Link:
http://family.1saleaday.com/
|
|
|
|
|
w*******y 发帖数: 60932 | 45 ST2220M 21.5 inch Widescreen LCD Panel Monitor with High Definition LED
Display for 115 + Tax FS AC & PM
placed this order with Staples.com
Called the staples.com for placing order for this Monitor:
http://www.staples.com/Dell-ST2220-21.5-Widescreen-LED-Monitor/
or you can chat with CSR they will able to do it too. Item # 870617
Then told them this monitor is available on Dell.com for 139.99 Here
Dell Sku # 320-9332 ( If they ask)
Rep @ Staples was able to match the price and Price Match is no... 阅读全帖 |
|
|
w*******y 发帖数: 60932 | 47 RCA EZ209 High Definition Camcorder for $19.99 with $6 shipping. Features
high-speed sports mode at 60fps, up to 720p resolution, MicorSD card slot,
and takes 8MP stills.
Link:
http://www.thingfling.com
|
|
|
|
w*******y 发帖数: 60932 | 50 Newegg has the Panasonic HDC-TM900K Black 3CMOS High Definition HDD/Flash
Memory Camcorder for $599.99. Starts at midnight PST 11/25.
This is a very high-end consumer camcorder. I paid $850 back in July for
this model, and it's worth every penny.
Link:
Link:
http://www.newegg.com/Product/Product.aspx?Item=N82E16830180415
|
|