- 博客(50)
- 资源 (31)
- 收藏
- 关注
原创 DE 27 Sketching Solutions of 2x2 Homogeneous Linear System with Constant Coefficients
the red and green lines are determined by eigenvectors, the directions along the line are determined by the sign of exponent t.
2016-02-29 04:41:19 576
原创 solve det(I + uv^t)
prove det(I+uvt)=1+utvdet(I+uv^t) = 1 + u^tv First, let us list several basic formulations: Assume Aa=λaAa = \lambda a, then we have A−1a=1λaA^{-1}a = \frac{1}{\lambda}a, meanwhile, we can also get (
2016-02-26 18:55:25 2425
原创 dimension and x,y,z components
class Point3{public: union{ struct{ int x, y, z; }; int val[3]; };引用的时候可以写成:Point3 p;int dimension = 1;p.val[dimension]
2016-02-26 02:03:14 568
转载 matlab 中的矩阵分解
矩阵分解是指根据一定的原理用某种算法将一个矩阵分解成若干个矩阵的乘积。常见的矩阵分解有LU分解(三角分解)、QR分解(正交变换)、Cholesky分解,以及Schur分解、Hessenberg分解、奇异分解等。 (1) LU分解(三角分解)矩阵的LU分解就是将一个矩阵表示为一个交换下三角矩阵和一个上三角矩阵的乘积形式。线性代数中已经证明,只要方阵A是非奇异(即行列式不等
2016-02-25 19:36:33 3029
原创 DE24 Introduction to First-order Systems of ODEs
when the prof. says "I cannot predict just from this picture", he means the picture without the red arrows. But the x'(t), y'(t) do give the length of the velocity in x,y directions, so the total leng
2016-02-25 05:11:26 582
原创 无法解析的外部符号 __imp__glewinit
This problem is caused by mismatching between head file and lib file.To tackle it, make sure to update all the glew files including .h .lib .dll files on windows.
2016-02-24 23:30:27 4358
原创 understanding the Euler Lagrange equation
More details please refer to https://www.youtube.com/watch?v=08vJyA-XD3Q
2016-02-24 00:25:08 590
转载 LAPLACE INTERPOLATION
Consider a (two dimensional) data matrix with some values missing and you want to fill the holes by interpolated values. One particularly simple but at the same time powerful method is called Laplace
2016-02-20 00:35:41 988
原创 some notice about slot funtions
when you want to use slot functions technique, you need to define classes like follows:class Scene : public QObject{ Q_OBJECTIn order to let qt know those changes, it is very necessary to qma
2016-02-18 20:03:09 405
转载 how to use github on ubuntu
1 Installing Git for LinuxDownload and install Git for Linux :sudo apt-get install git 2 Configuring GitHubOnce the installation has successfully completed, the next thing to do is
2016-02-17 20:37:11 666
原创 instal BLAS and lapacke on ubuntu
sudo apt-get install libblas-dev checkinstallsudo apt-get install libblas-doc checkinstallsudo apt-get install liblapack-dev liblapack-doc-man liblapack-doc liblapack-pic liblapack3 liblapack-test li
2016-02-17 20:21:47 704
原创 use count of shared_ptr
#include #include class A{};class B{public: void setA(std::shared_ptr spa) { std::cout << spa.use_count() << std::endl; spA = spa; std::cout << spa.use_count
2016-02-17 05:02:09 711
原创 how to build a cgal program in qt under ubuntu
when you create a new project, don't forget to add the following sentence in .pro fileLIBS += -lCGAL -lCGAL_Coreit will remind the system to link CGAL library.TEMPLATE = appCONFIG +
2016-02-17 02:32:01 387
原创 something about vertex in graph
#include #include #include #include #include #include #include typedef CGAL::Simple_cartesiandouble> Kernel;typedef Kernel::Vector_3
2016-02-17 01:48:28 697
转载 How to define a template class in a .h file and implement it in a .cpp file
To compile this class without any errors, you need to put the template specific declaration in a .cpp file, as shown below:Template Class Header FileHide Copy Code// TestTemp.h#ifndef _TE
2016-02-16 00:55:03 440
原创 BGL_polyhedron_3/normals.cpp analysis
#include #include #include #include #include // Polyhedron#include #include #include #include // Graph traits adaptors#include typed
2016-02-16 00:13:51 476
转载 Generic Programming in C++
2.1 IntroductionIn generic programming, we take the notion of an ADT a step further. Instead of writingdown the specification for a single type, we describe a family of types that all have a com-
2016-02-15 23:48:02 1910
原创 how to install cmake
Either use a PPA or compile it yourself:Installation by a PPA (Upgrade to 3.2)sudo apt-get install software-properties-commonsudo add-apt-repository ppa:george-edison55/cmake-3.xsudo apt-g
2016-02-15 20:27:14 1321
原创 ubuntu下使用CGAL的pro文件
#-------------------------------------------------## Project created by QtCreator 2016-01-04T15:08:40##-------------------------------------------------QT += core gui opengl xmlC
2016-02-14 07:47:43 1010
原创 config cgal4.7 on ubuntu
1. download the installation program from https://github.com/CGAL/cgal/releases/tag/releases/CGAL-4.7here, i choose CGAL-4.7.zip2. then extract to somewhere(here, I extract them to /opts
2016-02-13 09:16:33 1936 1
原创 install boost on ubuntu
You can use apt-get command (requires sudo)sudo apt-get install libboost-all-devOr you can callaptitude search boostfind packages you need and install them using the apt-get command.
2016-02-13 07:42:25 638
原创 how to unzip a file in a system directory
sudo unzip tbb44_20151115oss_win_0.zip -d /opt
2016-02-12 20:17:15 495 1
原创 how to open files as sudo
For those particular cases I use nautilus as root:Press Alt-F2 and type:gksu nautilus
2016-02-12 20:02:05 369
转载 Property Maps
Property MapsThe main link between the abstract mathematical nature of graphs and the concrete problems they are used to solve is the properties that are attached to the vertices and edges of a grap
2016-02-11 09:21:54 973
原创 QString, string, char* 相互转换
QString->stringOne of the things you should remember when converting QString to std::string is the fact that QString is UTF-16 encoded while std::string... May have any encodings.
2016-02-11 03:24:45 729
原创 how to build a cgal program in vs2010
here we use example/surface_modeling/all_roi_assign_example.cpp as an examplefirst we need to add some including directories:then we also need to add some library directories:
2016-02-10 23:26:39 638
转载 老毛桃安装WIN7原版系统
具体步骤: 1、先使用老毛桃U盘启动制作工具制作完U盘启动。2、找到Windows7的iso镜像,用UltraISO或者WinRAR打开Win7的iso镜像,然后提取/解压所有文件到你的U盘根目录。3、最后在你的U盘里找到名为bootmgr的文件,将bootmgr重命名为win7mgr。 4、用U盘启动电脑,选择菜单11,然后选择菜单2直接安装Win7原版操作系统。 后面的步骤
2016-02-08 17:46:27 2541
原创 regex
The regex match and search interface//main.cpp#include #include using namespace std;void out(bool b){ cout << (b ? "found" : "not found") << endl;}int main(){ // find XML/HTML-tagged
2016-02-07 00:40:18 749
原创 lambda
#include#includestd::function returnLambda(){ return [](int x, int y) { return x*y; };}int main(){ auto lf = returnLambda(); std::cout << lf(6, 7) << std::endl;}输出结果:42l
2016-02-06 23:35:02 565
Farthest Sampling on 3D meshes with mesh kept based on diffusion distance
2016-08-13
Fast Marching on 3D Meshes with diffusion distance
2016-08-13
Farthest Sampling on 3D meshes with mesh kept
2016-08-03
princal component analysis implemented in matlab
2016-07-09
as-conformal-as-possible surface registration
2016-07-07
softmax regression
2015-11-20
3D_Shader_CubeEnvMapping.rar
2013-08-29
3D_Math_Solve_Matrix_Inverse_by_Seamanj.rar
2013-03-06
3D_Math_Quaternion_by_Seamanj.rar
2013-03-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人