码迷,mamicode.com
首页 >  
搜索关键字:points    ( 1654个结果
Erlang-蒙特卡洛方法求Pi
-module(exe5_2). -export([start/2]). %Points 是投掷点的个数 Cores是核数,为2的幂 start(Points,Cores) ->spawn(fun()->parent_proces(Points,Cores) end), io:format("").parent_proces(Points,Cores) -> Poin...
分类:其他好文   时间:2015-04-20 17:06:16    阅读次数:155
LeetCode Max Points on a Line
题目如下:Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.再简单不过的一题了,懒得写解释直接上代码了。/** * Definition for a poi...
分类:其他好文   时间:2015-04-17 21:45:48    阅读次数:110
SIFT特征提取分析
SIFT(Scale-invariant feature transform)是一种检测局部特征的算法,该算法通过求一幅图中的特征点(interest points,or corner points)及其有关scale 和 orientation 的描述子得到特征并进行图像特征点匹配,获得了良好效果...
分类:其他好文   时间:2015-04-17 13:01:55    阅读次数:146
C# 绘制图表(柱状图,线性图,饼状图)
http://blog.csdn.net/gisfarmer/article/details/3736452Chart饼状图,每根柱子的宽度:int a = Chart1.Series["Series1"].Points.Count; Chart1.Series["Series1"].CustomP...
分类:Windows程序   时间:2015-04-16 19:40:10    阅读次数:187
在openGL中绘制图形
点的绘制。:glVertex*();星号表示函数要有后缀该函数 需要放在glBegin函数和glEnd函数之间,glBegin函数的向量指定绘制图元的类型,而glEnd函数没有参数,例如:glBegin(GL_POINTS);glVertex3f(0.0f,0.0f,0.0f);glVertex(1...
分类:其他好文   时间:2015-04-16 11:59:05    阅读次数:85
SPOJ - VLATTICE Visible Lattice Points 莫比乌斯反演
题目大意:从坐标(0,0,0)处观察到所有在(n,n,n)范围内的点的个数,如果一条直线上出现多个点,除了第一个,后面的都视为被遮挡了这题目稍微推导一下可得知 gcd(x,y,z) = 1的点是可观察到的,若三者的gcd>1,则这个点之前必然出现了一个(x/gcd(x,y,z) , y/gcd(x,...
分类:其他好文   时间:2015-04-14 14:23:35    阅读次数:131
mikrotik/IPSec Dynamic End points Updater.rsc
miktorik ros IPSec Dynamic End points
分类:其他好文   时间:2015-04-14 01:58:47    阅读次数:167
ZOJ3862:Intersection
Edward has 2n points on the plane conveniently labeled with 1,2,…,2n. Each point is connected exactly with another point by a segment. Edward finds that some segments intersecting with some others. S...
分类:其他好文   时间:2015-04-13 21:00:59    阅读次数:233
ZOJ14选拔赛——DFS+暴力——Valid Pattern Lock
Pattern lock security is generally used in Android handsets instead of a password. The pattern lock can be set by joining points on a 3 × 3 matrix in ...
分类:其他好文   时间:2015-04-13 14:24:32    阅读次数:108
ZOJ3861:Valid Pattern Lock(DFS)
Pattern lock security is generally used in Android handsets instead of a password. The pattern lock can be set by joining points on a 3 × 3 matrix in a chosen order. The points of the matrix are reg...
分类:其他好文   时间:2015-04-12 22:44:13    阅读次数:204
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!