<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6958486946532519505</id><updated>2011-04-21T18:18:49.573-07:00</updated><title type='text'>Opportunism</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6958486946532519505.post-3285449115616860490</id><published>2011-02-22T21:10:00.001-08:00</published><updated>2011-02-22T21:10:43.616-08:00</updated><title type='text'>Well</title><content type='html'>发现我曾经用过的博客地址还真多&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6958486946532519505-3285449115616860490?l=lostzn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/3285449115616860490/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6958486946532519505&amp;postID=3285449115616860490' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/3285449115616860490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/3285449115616860490'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/2011/02/well.html' title='Well'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6958486946532519505.post-1788342819468545935</id><published>2008-09-12T16:46:00.000-07:00</published><updated>2008-09-12T16:48:43.223-07:00</updated><title type='text'>新地点|新工作|新操作系统|第一个程序</title><content type='html'>#include &lt;iostream&gt;&lt;br /&gt;          int main()   &lt;br /&gt;              {        &lt;br /&gt;std::cout &lt;&lt; "Enter two numbers:" &lt;&lt; std::endl;&lt;br /&gt;int v1, v2;        &lt;br /&gt;std::cin &gt;&gt; v1 &gt;&gt; v2;        &lt;br /&gt;std::cout &lt;&lt; "The sum of " &lt;&lt; v1 &lt;&lt; " and " &lt;&lt; v2                   &lt;&lt; " is " &lt;&lt; v1 + v2 &lt;&lt; std::endl;        &lt;br /&gt;&lt;br /&gt;return 0;    &lt;br /&gt;} &lt;/iostream&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6958486946532519505-1788342819468545935?l=lostzn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/1788342819468545935/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6958486946532519505&amp;postID=1788342819468545935' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/1788342819468545935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/1788342819468545935'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/2008/09/blog-post.html' title='新地点|新工作|新操作系统|第一个程序'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6958486946532519505.post-9009945957068693249</id><published>2007-05-21T22:57:00.000-07:00</published><updated>2007-05-21T23:08:37.972-07:00</updated><title type='text'>Linear Algebra (Schedule Update)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.douban.com/lpic/s2405411.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.douban.com/lpic/s2405411.jpg" alt="" border="0" /&gt;&lt;/a&gt;Sec. 6.3 The Adjoint of a Linear Operator&lt;br /&gt;Sec. 7.1 The Jordan Canonial Form I&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6958486946532519505-9009945957068693249?l=lostzn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/9009945957068693249/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6958486946532519505&amp;postID=9009945957068693249' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/9009945957068693249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/9009945957068693249'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/2007/05/linear-algebra.html' title='Linear Algebra (Schedule Update)'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6958486946532519505.post-7120111120923790967</id><published>2007-02-27T07:51:00.000-08:00</published><updated>2007-02-27T07:54:17.139-08:00</updated><title type='text'>spectrum</title><content type='html'>spectrum(sunspots,spans=10,xlim=c(0,1),main="10:Notquite)&lt;br /&gt;abline(v=1:3/10,lty=3)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6958486946532519505-7120111120923790967?l=lostzn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/7120111120923790967/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6958486946532519505&amp;postID=7120111120923790967' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/7120111120923790967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/7120111120923790967'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/2007/02/spectrum.html' title='spectrum'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6958486946532519505.post-4609995780934607184</id><published>2007-02-24T00:07:00.000-08:00</published><updated>2007-02-24T00:13:17.861-08:00</updated><title type='text'>程序2</title><content type='html'>sym.poly&lt;-function(z,k)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;# Sum of the products of k&lt;br /&gt;# distinct elements of the vector z&lt;br /&gt;&lt;br /&gt;if(k==0)  {r &lt;- 1}&lt;br /&gt;else if(k==1)&lt;br /&gt;{r &lt;- sum(z)}&lt;br /&gt;else {&lt;br /&gt;r &lt;- 0&lt;br /&gt;for(i in 1:length(z)) {r &lt;- r + z[i]*sym.poly(z[-i],k-1)}&lt;br /&gt;r &lt;- r/k&lt;br /&gt;# Each term appeared k times&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;r&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sym.poly(c(1,2,3),1)&lt;br /&gt;#6&lt;br /&gt;sym.poly(c(1,2,3),2)&lt;br /&gt;#11&lt;br /&gt;sym.poly(c(1,2,3),3)&lt;br /&gt;#6&lt;br /&gt;&lt;br /&gt;roots.to.poly&lt;-function(z)&lt;br /&gt;{&lt;br /&gt;n &lt;- length(z)&lt;br /&gt;p &lt;- rep(1,n)&lt;br /&gt;for(k in 1:n) {p[n-k+1]&lt;-(-1)^k*sym.poly(z,k)}&lt;br /&gt;p &lt;- c(p,1)&lt;br /&gt;p&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;roots.to.poly(c(1,2))&lt;br /&gt;#2-31&lt;br /&gt;&lt;br /&gt;round(Re(polyroot(roots.to.poly(c(1,2,3)))),digits=1)&lt;br /&gt;# After this interlude, we can finally construct an MA process and one of its inverse&lt;br /&gt;&lt;br /&gt;sn &lt;- 200&lt;br /&gt;k &lt;- 3&lt;br /&gt;&lt;br /&gt;ma&lt;-runif(k,-1,1)&lt;br /&gt;# The roots&lt;br /&gt;&lt;br /&gt;z &lt;- polyroot(c(1,-ma))&lt;br /&gt;# The inverse of the roots&lt;br /&gt;&lt;br /&gt;zi&lt;-1/z&lt;br /&gt;# The polynomial&lt;br /&gt;&lt;br /&gt;p &lt;- roots.to.poly(zi)&lt;br /&gt;# The result should be real, but because of rounding errors, it is not.&lt;br /&gt;&lt;br /&gt;p &lt;- Re(p)&lt;br /&gt;# We want the constant term to be 1.&lt;br /&gt;&lt;br /&gt;p &lt;- p/p[1]&lt;br /&gt;mai&lt;--p[-1]&lt;br /&gt;op&lt;-par(mfrow=c(4,1),mar=c(2,4,1,2)+.1)&lt;br /&gt;x &lt;- arima.sim(list(ma=ma),n)&lt;br /&gt;plot(x,xlab="")&lt;br /&gt;acf(x,main="",xlab="")&lt;br /&gt;lines(0:n,ARMAacf(ma=ma,lag.max=n),lty=2,lwd=3,col='red')&lt;br /&gt;x &lt;- arima.sim(list(ma=mai),n)&lt;br /&gt;plot(x,xlab="")&lt;br /&gt;acf(x,main="",xlab="")&lt;br /&gt;lines(0:n,ARMAacf(ma=mai,lag.max=n),lty=2,lwd=3,col='red')&lt;br /&gt;par(op)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6958486946532519505-4609995780934607184?l=lostzn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/4609995780934607184/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6958486946532519505&amp;postID=4609995780934607184' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/4609995780934607184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/4609995780934607184'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/2007/02/2.html' title='程序2'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6958486946532519505.post-5103319582033709548</id><published>2007-02-20T04:58:00.000-08:00</published><updated>2007-02-20T05:30:57.275-08:00</updated><title type='text'>程序1</title><content type='html'>op&lt;-par(mfrow=c(4,2),mar=c(2,4,4,2))&lt;br /&gt;n &lt;- 200&lt;br /&gt;for(i in 1:4) {&lt;br /&gt;x &lt;- NULL&lt;br /&gt;while(is.null(x)) {&lt;br /&gt;model&lt;-list(ar=rnorm(1))&lt;br /&gt;try(x&lt;-arima.sim(model,n))&lt;br /&gt;}&lt;br /&gt;acf(x, main=paste( "ARMA(1,0)", "AR:", round(model$ar,digits=1) ))&lt;br /&gt;points(0:50, ARMAacf(ar=model$ar,lag.max=50), col='red')&lt;br /&gt;pacf(x,main="")&lt;br /&gt;points(1:50,&lt;br /&gt;ARMAacf(ar=model$ar,lag.max=50,pacf=T),&lt;br /&gt;col='red')&lt;br /&gt;}&lt;br /&gt;par(op)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6958486946532519505-5103319582033709548?l=lostzn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/5103319582033709548/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6958486946532519505&amp;postID=5103319582033709548' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/5103319582033709548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/5103319582033709548'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/2007/02/transcript-of-jobs-commencement-speech.html' title='程序1'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6958486946532519505.post-9082649238443789676</id><published>2007-01-25T05:52:00.000-08:00</published><updated>2007-01-29T22:29:07.842-08:00</updated><title type='text'>2007 on the move</title><content type='html'>&lt;ol&gt;&lt;li&gt;一个关于环境监测和水污染的项目&lt;/li&gt;&lt;li&gt;数据库学习&lt;/li&gt;&lt;li&gt;搞定老师分配的SRTP任务&lt;/li&gt;&lt;li&gt;重修的课 该过的过 能满绩点就满绩点&lt;/li&gt;&lt;li&gt;生活稳定 远离小偷&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6958486946532519505-9082649238443789676?l=lostzn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lostzn.blogspot.com/feeds/9082649238443789676/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6958486946532519505&amp;postID=9082649238443789676' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/9082649238443789676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6958486946532519505/posts/default/9082649238443789676'/><link rel='alternate' type='text/html' href='http://lostzn.blogspot.com/2007/01/2007-on-move.html' title='2007 on the move'/><author><name>LostZn</name><uri>http://www.blogger.com/profile/15112636720480619117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
