上一页 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 阅读(828) 评论(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 阅读(326) 评论(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 阅读(225) 评论(0) 推荐(0) 编辑
摘要: cmake .. 和 make 之后,出现如下错误 tmp.cpp 内容如下 解决方法: 在 CMakeLists.txt 中添加如下命令,指定 g++ 为编译器。 用 gcc 直接编译会出现同样的错误,用 g++直接编译则不会。 阅读全文
posted @ 2017-07-03 18:23 TonyYPZhang 阅读(4226) 评论(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 阅读(193) 评论(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 阅读(270) 评论(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 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Efficiently Implementing Dilate and Erode Image Functions, ostermiller 阅读全文
posted @ 2017-05-10 08:43 TonyYPZhang 阅读(234) 评论(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 阅读(412) 评论(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 阅读(366) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页