Multivariable normal distribution is a positive definite matrix.
We can get (assume) Where
We do a simple transformation
分类:
其他好文 时间:
2014-11-21 09:06:33
阅读次数:
181
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication13{ public class myClass1 { ...
分类:
其他好文 时间:
2014-11-21 09:08:12
阅读次数:
162
在 Rajendra Bhatia 的 Matrix Analysis 中, Exercise I.5.8 说: Prove that for any matrices $A,B$ we have $$\bex |\per (AB)|^2\leq \per (AA^*)\cdot \per (B^*...
分类:
其他好文 时间:
2014-11-21 09:06:12
阅读次数:
179
题目连接:http://acm.nyist.net/JudgeOnline/problem.php?pid=325来看思路:本题看上去和背包没什么关系 可仔细阅读可以把他转换成一个01背包的问题01背包需要有一个容量可这个题的容量在哪 这也是本题的亮点所在 我们可以把所有物品的重量和的一半作为...
分类:
其他好文 时间:
2014-11-21 09:07:23
阅读次数:
171
题目连接:http://acm.nyist.net/JudgeOnline/problem.php?pid=456思路:一道01背包的问题,把总分值的一半作为背包容量 不懂的话可以看我上一篇文章和内个题一个思路下面看代码:#include#includeusing namespace std;int...
分类:
其他好文 时间:
2014-11-21 09:07:30
阅读次数:
174
Dynamic ProgrammingFind the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the arra...
分类:
其他好文 时间:
2014-11-21 09:06:09
阅读次数:
189
/******************************************************************************************************************参考:说明:这个是存到一个变量中,以后再补充一个返回值保存到指针中的。...
分类:
其他好文 时间:
2014-11-21 09:06:16
阅读次数:
212
以前在项目里碰到过一个问题input输入框用一个背景图模拟,设置height和line-height一样的高度,使里面的输入文字能够居中,在FF下出现的情况是:点击input时,输入光标其实上跟input的height一样高,但当开始输入文字时,光标又变得跟文字一样高,chrome下光标跟input...
分类:
其他好文 时间:
2014-11-21 09:06:33
阅读次数:
162
VisualC++如何与应用程序或其他DLL共享自己DLL中的数据?Win32DLL映射到调用进程的地址空间中。默认情况下,每个使用DLL的进程都有自己的所有DLL全局变量和静态变量的实例。如果DLL需要与它的由其他应用程序加载的其他实例共享数据,则可使用下列方法之一:使用data_seg杂注创建命...
分类:
其他好文 时间:
2014-11-21 09:04:05
阅读次数:
133
泛型接口using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication14{ public interface IGenericTnte...
分类:
其他好文 时间:
2014-11-21 09:05:29
阅读次数:
195
工作生活中,有一个基本原则,就是要事为先。 要清楚对你来说,什么才是最重要的。 是身体的健康,还是学习工作上的进步。 你愿意为工作努力得伤害身体吗? 一开始对自己来说,也许找不到明确的答案,但是要培养这个意识, 每天工作开始的时候,对自己说,哪些项目是今天最重要的,需要及时完成, 汇报给领导的,哪....
分类:
其他好文 时间:
2014-11-21 07:59:45
阅读次数:
180
3545: [ONTAK2010]PeaksTime Limit:10 SecMemory Limit:128 MBSubmit:635Solved:177[Submit][Status]Description在Bytemountains有N座山峰,每座山峰有他的高度h_i。有些山峰之间有双向道路相...
分类:
其他好文 时间:
2014-11-21 07:59:45
阅读次数:
405
在spring的<task:*> XML名字空间功能一样,使用在Configuration类如下: ?? ?@Configuration ?? ?@EnableScheduling ?? ?public class AppConfig { ?? ??? ?//@Bean 定义 ?? ?} ?? ?在sprin...
分类:
其他好文 时间:
2014-11-21 06:59:16
阅读次数:
220
作者:zhanhailiang 日期:2014-11-21
在使用版本工具提交修改之前,都需要通过update先将本地代码更新到最新版本。SVN通过svn update就可以实现,那么git如何实现呢?
1. 首先通过从远程的origin的master主分支下载最新的版本到本地origin/master分支上,然后比较区别,最后合并到当前分支;
[root@~/wade/nodejs...
分类:
其他好文 时间:
2014-11-21 06:59:08
阅读次数:
589
QLibraryPrivate 类的重要性
Qt中能加载库或插件的几个类:
QLibrary ,
QPluginLoader ,
QFactoryLoader ,
QStaticPlugin (暂时不研究这个)
QLibrary 和 QPluginLoader 依赖的'私有数据类'都是 QLibraryPrivate, 一个QL...
分类:
其他好文 时间:
2014-11-21 06:58:40
阅读次数:
305
如何开发Qt插件,可以在Qt Assistant 中搜索"Qt Plugins"或"How to Create Qt Plugins",看看那篇manual中的介绍。
其中涉及到了几个宏
Q_DECLARE_INTERFACE( ClassName, Identifier)
This macro associates the given Identifier (a string li...
分类:
其他好文 时间:
2014-11-21 06:59:25
阅读次数:
195
实现自己的Qt Quick元素,使用QPainter绘图……...
分类:
其他好文 时间:
2014-11-21 06:57:36
阅读次数:
273