adj_to_inc: incidence matrix from adjacency matrix in reduced form

Description Usage Arguments Details Value

Description

takes an adjacency matrix and generates the incidencematrix

Usage

1

Arguments

adj

an adjacency matrix

Details

the incidence matrix E has entry e_{ij} equal to

1 if an edge starts in node i and finishes in j -1 if an edge ends in node i and finishes in j 0 if nodes i and j are not connected

Value

an incidence matrix


mauriciogtec/minHomVoting documentation built on May 21, 2019, 1:37 p.m.