我有这样的矩阵:
v <- rbind( c( -5, -5, 16 )
, c( -5, 8, 3 )
, c( 4, -1, 3 )
, c( 4, -5, 7 )
, c( 4, -1, -10 )
, c( 4, -5, -10 )
, c( -5, 8, -10 )
, c( -5, -5, -10 ))
接着:
> library(DatabionicSwarm)
Delaunay4Points(v, IsToroid = FALSE)
Error in UniqDelaunay[Uniq2DataInd, Uniq2DataInd] :
subscript out of bounds
它是一个错误吗? 不幸的是有没有GitHub库填补的问题。
我已经与其他工具相比,其结果应该是:
[0,1,0,1,0,0,0,1]
[1,0,1,1,0,0,1,1]
[0,1,0,1,1,1,1,1]
[1,1,1,0,0,1,0,1]
[0,0,1,0,0,1,1,1]
[0,0,1,1,1,0,0,1]
[0,1,1,0,1,0,0,1]
[1,1,1,1,1,1,1,0]