scp hello [email protected]:/home/root
Category: Uncategorized
[Algorithm recap] Chapter 1: integer operation
Book by Kurt Mehlhorn
Divide and conquer –> Karatsuba Multiplication
Main idea: use recurrence, use adders instead of multipliers.
愿你锐意清明,
Nov.6 Chapter 4, Function and recursion: ACM tutorial
const void
[Review]SVM and related techs
Target description:
data: (x,y) Use w’x={0,1} to classify data points.
Model description
This problem can be converted to an max- margin optimization Problem:
min w’w s.t. y(i)w’x(i)>=1, where 1/(w’w) is the margin.
Derivation: for two points y+ and y- of class 1, 2 located on both sides of the margin boundaries.
m = 1/(2|w’w|) * (w'(y+)-w'(y-))=1/(w’w)
[Energy Conversion]Course Review by examples
3.1 Heating Ammonia/氨/ at constant pressure
[HPCSE] Multithreading – A brief lecture review
Threads and Processes:
>Spawning and Joining threads
Compiler: g++ -std=c++11 -pthread
Launching and joining threads:
[cpp]std::thread t ([] () {std::cout << "Hello worlds!\n";});
t.join();[/cpp]
Movable but non copyable
[cpp]std::thread x,y; x=y; //error! cnnot copy from lvalues
std::vector<std::thread> v(10);
pool[3] = std::thread(f);//can assign from rvalues
swap(x,y);
x.swap(y)[/cpp]
[cpp]#include <vector>
#include <iostraem>
#include <thread>
#include <numeric>
[/cpp]
一个月之前给自己的人生定下理想和方向,一个月以来
月度日记
从明确自己的十年工作主题到现在已经大约有一个月了,然后