weights_init: From the results of the RANN package, calculate the edge...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

From the results of the RANN package, calculate the edge indices, the corresponding distances, and the edge incidence matrix Phi

Usage

1

Arguments

idx, dist

the output of RANN::nn2()

Value

a list consist of: a 2*nEdges (# of edges) matrix of indices of edges; a nEdges-vector dists of the corresponding distances; a nEdges*n edge incidence matrix Phi


wenshuoliu/ncvxclustr documentation built on July 28, 2017, 1:21 a.m.