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

Description Usage Arguments Value

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 May 4, 2019, 5:21 a.m.