上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: 1. Download googletest, which contain googletest and googlemock : https://github.com/google/googletest 2. install both googletest and googlemock It is 阅读全文
posted @ 2017-09-01 16:56 TonyYPZhang 阅读(826) 评论(0) 推荐(0) 编辑
摘要: A transformation matrix describes the rotation of a coordinate system while an object remains fixed. In contrast, a rotation matrix describes the rota 阅读全文
posted @ 2017-08-16 12:24 TonyYPZhang 阅读(322) 评论(0) 推荐(0) 编辑
摘要: kd-trees allow to efficiently perform searches like "all points at distance lower than R from X" or "k nearest neighbors of X". Kd-trees allow to perf 阅读全文
posted @ 2017-08-14 15:26 TonyYPZhang 阅读(223) 评论(0) 推荐(0) 编辑
摘要: cmake .. 和 make 之后,出现如下错误 tmp.cpp 内容如下 解决方法: 在 CMakeLists.txt 中添加如下命令,指定 g++ 为编译器。 用 gcc 直接编译会出现同样的错误,用 g++直接编译则不会。 阅读全文
posted @ 2017-07-03 18:23 TonyYPZhang 阅读(4075) 评论(0) 推荐(0) 编辑
摘要: Hot to migrate plugins and setting for vim from one computer to another ? Just copy ~/.vim and ~/.vimrc from original one to the target one. 阅读全文
posted @ 2017-06-29 13:16 TonyYPZhang 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Both object oritend programming(OOP) and generic programming deal with types that are not known at the time the program is written. The distinction be 阅读全文
posted @ 2017-05-18 00:12 TonyYPZhang 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Don't use get to initialize or assign another smart pointer. The code that use the return from get can not delete the pointer Although the compiler wi 阅读全文
posted @ 2017-05-14 23:57 TonyYPZhang 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Efficiently Implementing Dilate and Erode Image Functions, ostermiller 阅读全文
posted @ 2017-05-10 08:43 TonyYPZhang 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1. make_shared<T>(args): return a shared_ptr dynamically allocated object of type T. Use args to initialize the object. shared_ptr<T> p(q): p is a cop 阅读全文
posted @ 2017-04-30 20:47 TonyYPZhang 阅读(410) 评论(0) 推荐(0) 编辑
摘要: A* is a best-first search, meaning that it solves problems by searching amoung all possible paths to the solution(goal) for the one that incurs the sm 阅读全文
posted @ 2017-04-14 00:03 TonyYPZhang 阅读(362) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页