adjMatrix: Generates adjacency matrix

Description Usage Arguments Examples

View source: R/adjMatrix.R

Description

Generates adjacency matrix

Usage

1
adjMatrix(vertices, outfile = tempfile(fileext = .txt))

Arguments

vertices

matrix of vertices (n x d)

outfile

output file

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 ))
adjMatrix(v)

stla/delaunayadjacency documentation built on May 21, 2019, 9:23 a.m.