05 2015 档案

摘要:#include #include using namespace std;struct Count{ long count1; char space[64];//此处增加64字节的“无用”空间,目的就是使得count1和count2位于不同的Cache行,从而避免Cache行同步引起的“乒乓效应”... 阅读全文
posted @ 2015-05-20 10:17 wcm_94 阅读(1140) 评论(0) 推荐(0)
摘要:https://sites.google.com/site/indy256/ 阅读全文
posted @ 2015-05-17 20:17 wcm_94 阅读(125) 评论(0) 推荐(0)
摘要:Here are some notes about stress analysis in the field of Finite Element Analysis:Stress is simply a measurement of the internal forces in a body,as a... 阅读全文
posted @ 2015-05-07 19:59 wcm_94 阅读(260) 评论(0) 推荐(0)
摘要:Definition of distance between data: (1) Hamming Distance:d(i,j)=sum(abs(x(i,k)-x(j,k))) | k from 1 to m (2) Euclid Distance:d(i,j)=sum((x(i,k)-x(j,k)... 阅读全文
posted @ 2015-05-07 19:54 wcm_94 阅读(201) 评论(0) 推荐(0)
摘要:class implementation{public:~implementation() { std::cout sp1(new implementation());std::cout sp2 = sp1;std::cout<<"The Sample now has "<<sp2.use_cou... 阅读全文
posted @ 2015-05-06 16:28 wcm_94 阅读(300) 评论(0) 推荐(0)