hilbertCurve(HilbertVis)
hilbertCurve()所属R语言包:HilbertVis
calculate finite approximations of the Hilbert curve
计算有限希尔伯特曲线近似
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These functions calculate the Hilbert curve in its finite approximations. hilbertCurvePoint gives the coordinates of one point and hilbertCurve returns an array with the coordinates of all 4^lv points. The functions are not needed for hilbertImage and only provided for demonstration purposes. plotHilbertCurve makes use of them.
这些功能在其有限的近似计算Hilbert曲线。 hilbertCurvePoint给出一个点的坐标和hilbertCurve所有4^lv点的坐标返回一个数组。为hilbertImage的功能并不需要提供仅用于演示目的。 plotHilbertCurve让他们使用。
用法----------Usage----------
hilbertCurve( lv )
hilbertCurvePoint( t, lv )
参数----------Arguments----------
参数:lv
The iteration level. A Hilbert curve of level lv spans a square with side length 2^lv (coordinates ranging from 0 to 2^lv-1) and has 4^lv points.
迭代的水平。 Hilbert曲线的水平lv跨越一个边长的正方形2^lv(坐标范围从0到2^lv-1)4^lv点。
参数:t
The point index in the Hilbert curve. Must be an integer in 0 4^lv-1).
在Hilbert曲线的点的索引。必须是整数0 4^lv-1)。
值----------Value----------
hilbertCurvePoint returns a vector of two integer numbers, both in the range 0 2^lv-1), indicating the coordinates of point t. huilbertCurve returns a matrix with 4^lv rows and 2 columns, giving all points of the curve at level lv.
hilbertCurvePoint返回两个整数向量,无论是在范围0 2^lv-1),显示坐标点t。 huilbertCurve返回4^lv行2列的矩阵,在曲线的所有点的水平lv。
作者(S)----------Author(s)----------
Simon Anders, EMBL-EBI, <a href="mailto:sanders@fs.tum.de">sanders@fs.tum.de</a>
参见----------See Also----------
plotHilbertCurve
plotHilbertCurve
举例----------Examples----------
hilbertCurvePoint( 67, 4 )
hilbertCurve( 4 )
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|