- 博客(9)
- 收藏
- 关注
原创 x pieces
Is integer multiplication really same speed as addition on modern CPU Why is division so much more complex than other arithmetic operations?
2016-04-25 17:29:08 268
原创 latex pieces
math equation multiline alignment minimize f0(x)=x21+x22f_0(x) = x_{1}^2 + x_2^2 subject to f1(x)=x1/(1+x22)f_1(x) = x_1/(1+x_2^2) h1(x)=(x1+x2)2h_1(x) = (x_1 + x_2)^2
2016-04-23 10:00:44 296
原创 math pieces
Jensens’s inequality f(EX) <= Ef(x) f(y+t(x-y)) <= f(y) + t*(f(x)-f(y))
2016-04-22 15:56:26 300
原创 R pieces
set.seed(seed, kind = NULL, normal.kind = NULL), the recommended way to specify seeds.
2016-04-22 11:54:22 290
原创 python pieces
create partial sum of sequence using generator. ref: def partial_sums(iterable): total = 0 for i in iterable: total += i yield total
2016-04-21 23:08:48 943
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人