// Playground - noun: a place where people can playimport UIKit// For-In 循环// 1 遍历数字区间for index in 1...5 { println("\(index) times 5 is \(index)")}...
分类:
编程语言 时间:
2014-11-23 18:57:25
阅读次数:
195
import randomimport mathm=int(raw_input("Please input the Number of Times:"))#Then Output n=10~10^mn=1for j in xrange(m): n=n*10 Total=0 for i in x...
分类:
编程语言 时间:
2014-11-23 13:03:42
阅读次数:
211
Every $k\times k$ positive matrix $A=(a_{ij})$ can be realised as a Gram matrix, i.e., vectors $x_j$, $1\leq j\leq k$, can be found so that $a_{ij}=\s...
分类:
其他好文 时间:
2014-11-22 17:26:04
阅读次数:
126
[问题2014A09] 设 \(A,B\) 分别是 \(3\times 2\), \(2\times 3\) 矩阵且满足\[AB=\begin{bmatrix} 8 & 2 & -2 \\ 2 & 5 & 4 \\ -2 & 4 & 5 \end{bmatrix},\] 试求 \(BA\).
分类:
其他好文 时间:
2014-11-22 10:35:00
阅读次数:
132
Show that the inner product $$\bex \sef{x_1\vee \cdots \vee x_k,y_1\vee \cdots\vee y_k} \eex$$ is equal to the permanent of the $k\times k$ matrix $\s...
分类:
其他好文 时间:
2014-11-21 10:20:49
阅读次数:
259
Show that the inner product $$\bex \sef{x_1\wedge \cdots \wedge x_k,y_1\wedge \cdots\wedge y_k} \eex$$ is equal to the determinant of the $k\times k$ ...
分类:
其他好文 时间:
2014-11-21 09:09:37
阅读次数:
225
Permanent[m_List] := With[{v = Array[x, Length[m]]}, Coefficient[Times @@ (m.v), Times @@ v]]参考资料:http://mathworld.wolfram.com/Permanent.html
分类:
其他好文 时间:
2014-11-20 23:13:26
阅读次数:
151
本文细述上文引出的RAECost和SoftmaxCost两个类。SoftmaxCost我们已经知道,SoftmaxCost类在给定features和label的情况下(超参数给定),衡量给定权重($hidden\times catSize$)的误差值$cost$,并指出当前的权重梯度。看代码。@Ov...
分类:
其他好文 时间:
2014-11-20 18:15:16
阅读次数:
226
TCP是主机对主机层的传输控制协议,提供可靠的连接服务,采用三次握手确认建立一个连接:每一次TCP连接都需要三个阶段:连接建立、数据传送和连接释放。“三次握手”就发生在连接建立阶段。三次握手(three times handshake)所谓的“三次握手”即对每次发送的数据量跟踪进行协商使数据段的发送...
分类:
其他好文 时间:
2014-11-19 23:47:09
阅读次数:
319
重新开始写博客。一点一点积累,不间断。看了阮一峰老师的中文网页字体开发指南,做一些记录。完整原文http://www.ruanyifeng.com/blog/2014/07/chinese_fonts.html1:font-family规则font-family: Georgia, "Times N...
分类:
Web程序 时间:
2014-11-19 20:28:12
阅读次数:
129