由买买提看人间百态

topics

全部话题 - 话题: maxiters
(共0页)
y****e
发帖数: 23939
1
来自主题: Programming版 - Visual C++ 高手帮忙,一个Link Error
I paste the full code to if anybody can help me out.
the function refalifn and refalifnfast are good to compile on vc++.
But the function refalidf and refalifdf will have this LNK2019 error on vc++
. Same code compiles OK on g++. It must be some kind of restraint with
visual c++.
static double refalifn(const gsl_vector * v, void *params)
{
Dict *dict = (Dict *) params;
double x = gsl_vector_get(v, 0);
double y = gsl_vector_get(v, 1);
double a = gsl_vector_get(v, 2);
EMData *t... 阅读全帖
c****7
发帖数: 4192
2
来自主题: Stock版 - 关于option house的报税问题
请问有用option house的吗?报它家的税,是用它给的1099还是那个maxit的8849.
好像maxit的只有股票的trade,那些expired的option没有呀.但是1099它有提供每笔手
续费吗?大家都是怎么报的呢?谢谢!
c****7
发帖数: 4192
3
它给我的1099和在maxit里面的realized的prior year gain是一样的,我觉得那是对的
,但是maxit里面的8949就不对,我写信叫它改正,它说:
We cannot regenerate the 8949 for you as the 8949 is prepared as an
additional service by a third party to be used as a tool to assist in
preparing your taxes. If you do not agree with the information that is
populated on the 8949 form you can download a 8949 form from the IRS website
and populate the fields using your 1099.
咋办?谢谢!
i***r
发帖数: 1035
4
来自主题: Biology版 - MUSCLE alignment 问题
有大约2000 个virus 毒株的序列,用muscle align
拿到的algnment 很奇怪,gaps巨多
基本是隔几个bp就是几个bp的gap。请问怎么优化?
这几个command都不怎么work:
muscle -in f.fa -out f_out.fa -gapopen -12 -maxiters 2
muscle -in f.fa -out f_out.fa -maxiters 2
muscle -in f.fa -out f_out.fa
多谢!!
A*********u
发帖数: 8976
5
来自主题: Statistics版 - [合集] 一个关于Proc Qlim的问题
☆─────────────────────────────────────☆
jujiu (~~~~lala) 于 (Fri Jan 25 14:55:56 2008) 提到:
我想改变iteration number。根据proc qlim help, 下面的程序好像就可以了,可是
run起来总是出错。大侠指教一下吧。
proc qlim data=a;
model y=x /discrete maxiter=500;
run;
☆─────────────────────────────────────☆
oloolo (黑夜给了我白内障) 于 (Fri Jan 25 15:22:58 2008) 提到:
error info?

☆─────────────────────────────────────☆
jujiu (~~~~lala) 于 (Fri Jan 25 15:35:56 2008) 提到:
492 proc qlim data=a ;
493 model Y = X / discrete maxiter=500;
h**6
发帖数: 4160
6
来自主题: JobHunting版 - 贴一个Google面题
直接上代码吧:
pair maxpeopleperiod(const vector >& entry)
{
map M;
for(vector >::const_iterator it=entry.begin(); it!=entry.
end(); it++)
{
M[it->first]++;
M[it->second+1]--;
}
int current = 0, maxcurrent = 0;
map::iterator maxit;
for(map::iterator it=M.begin(); it!=M.end(); it++)
{
current += it->second;
if(current > maxcurrent)
{
maxcurrent = curre
b******7
发帖数: 639
7
THE BEAR MARKET IN STOCKS ENDED a year ago, but a lot of online traders and
investors apparently didn't get the memo. They cut back on equity
transactions in 2009 -- despite the 23.5% surge in the Standard & Poor's 500
-- and instead demanded more products and services. They got them. More
bonds, options, foreign exchange, commodities and mutual and exchange-traded
fund offerings; more social networks to combine their talents; more
education to wean themselves further from full-service brokerage... 阅读全帖
q****e
发帖数: 793
8
哪用得着这么麻烦。。。
老板,右下角,Maxit tax calc,打开,里面就有了
p****2
发帖数: 518
9
发现发来的1099-B表上只有stock的交易记录,而没有option的
怎么回事?
而登陆他家网站Maxit上下载的Schdule D表确是都有的。。。
我们还要把1099-B表寄给IRS吧?
这个怎么处理?
w********u
发帖数: 545
10
来自主题: Stock版 - optionshouse卖股的方式
刚发现optionshouse可以自己设置卖股的方式,有6种。不知道用optionshouse的,有
没有注意到这个。好像默认都是FIFO。大家都用的是哪种方式呀?不过这里的可能都是
一年内短期的买卖,都是short term capital gain,所以也都没什么差别了。但是如果
涉及到有长期仓位和短期仓位的时候,这可是10%的tax的差别呀。不知道我的理解对吗?
These 6 options are the settings that will help you manage your after tax
portfolio performance.
First In First Out (FIFO)
Selecting this option will result in those lots which you purchased first to
be sold first.
Last In First Out (LIFO)
Selecting this option will result in those lots which you purchased last t... 阅读全帖
K*C
发帖数: 2825
11
用它那个Maxit直接出8949,算出来的数是错的。short sale日期一般都不对,不少
transaction连数都不对,最后算出来的总数比1099B得差个50%。
不知道用turbo tax导出那个是不是也是错的
i***0
发帖数: 8469
12
快送人来,..NET八月中开班, 工作
纽约,新泽西
13万起
r***********[email protected],, subject 请加上:ann zhao
方便你的简历被快速处理
g*****x
发帖数: 3283
13
来自主题: Chemistry版 - 计算化学菜鸟求指点
1) 你根本没说你要算啥东西,如果只是零点能+震动,那真没啥好注意的。
2) 你至少告诉大家为啥没停啊,不收敛?基组太大算太慢?分子太大?如果别的分子
两天算完,就算你MAXIT设很大一个月也应该挂了。
3) 这么简单的问题自己看手册去。把dat里的orbital copy到input里,然后guess=
moread
o****o
发帖数: 8077
14
来自主题: Statistics版 - 请教一个SAS问题
use ID# as a BY variable, A is your main data set, B is your seed
and use
PROC FASTCLUS maxiter=0 seed=B replace=NONE data=A out=AB;
var date;
run;
w*******t
发帖数: 928
15
来自主题: Statistics版 - 请教一个SAS问题
嗯,练了一下。学习了。
data A;
infile cards;
input id $ date mmddyy10.;
format date mmddyy10.;
cards;
111 10/12/2010
111 05/14/2010
111 01/04/2008
222 05/25/2009
333 02/15/2009
333 03/15/2010
;
run;
data B;
infile cards;
input id $ date mmddyy10.;
format date mmddyy10.;
cards;
111 02/14/2010
222 04/20/2006
333 03/14/2010
; run;
PROC FASTCLUS maxiter=0 seed=B replace=NONE data=A out=AB(drop=cluster)
MAXCLUSTERS=999;
var date;
run;
proc sort data=ab; by id distance; run;
data
s******r
发帖数: 1524
16
来自主题: Statistics版 - 请教一个SAS问题
haha,
you only keep one copy if there are two record in a with same distance.
try following. check 333
data A;
infile cards;
input id $ date mmddyy10.;
format date mmddyy10.;
cards;
111 10/12/2010
111 05/14/2010
111 01/04/2008
222 05/25/2009
333 03/12/2010
333 03/16/2010
;
run;
data B;
infile cards;
input id $ date mmddyy10.;
format date mmddyy10.;
cards;
111 02/14/2010
222 04/20/2006
333 03/14/2010
; run;
PROC FASTCLUS maxiter=0 seed=B replace=NONE data=A out=AB(d
(共0页)